77 |
(('Specify documentclass. Default is "article".', |
(('Specify documentclass. Default is "article".', |
78 |
['--documentclass'], |
['--documentclass'], |
79 |
{'default': 'article', }), |
{'default': 'article', }), |
80 |
|
('Options to the document class. Default is "10pt".', |
81 |
|
['--documentclass-options'], |
82 |
|
{'default': '10pt' }), |
83 |
('Format for footnote references: one of "superscript" or ' |
('Format for footnote references: one of "superscript" or ' |
84 |
'"brackets". Default is "superscript".', |
'"brackets". Default is "superscript".', |
85 |
['--footnote-references'], |
['--footnote-references'], |
190 |
|
|
191 |
## For narrower things (tables, docinfos use admwidth in latex construct). |
## For narrower things (tables, docinfos use admwidth in latex construct). |
192 |
d_class = 'article' # document.settings.stylesheet |
d_class = 'article' # document.settings.stylesheet |
|
d_options = '10pt' # papersize, fontsize |
|
193 |
d_paper = 'a4paper' |
d_paper = 'a4paper' |
194 |
d_margins = '2cm' |
d_margins = '2cm' |
195 |
d_stylesheet_path = 'style.tex' |
d_stylesheet_path = 'style.tex' |
218 |
nodes.NodeVisitor.__init__(self, document) |
nodes.NodeVisitor.__init__(self, document) |
219 |
self.settings = settings = document.settings |
self.settings = settings = document.settings |
220 |
self.d_class = settings.documentclass |
self.d_class = settings.documentclass |
221 |
|
self.d_options = settings.documentclass_options |
222 |
self.use_latex_toc = settings.use_latex_toc |
self.use_latex_toc = settings.use_latex_toc |
223 |
# language: labels, bibliographic_fields, and author_separators. |
# language: labels, bibliographic_fields, and author_separators. |
224 |
# to allow writing labes for specific languages. |
# to allow writing labes for specific languages. |