/[gzz]/gzz/metacode/latex2e.py
ViewVC logotype

Diff of /gzz/metacode/latex2e.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by benja, Mon Feb 10 02:32:34 2003 UTC revision 1.9 by benja, Mon Feb 10 04:04:02 2003 UTC
# Line 77  class Writer(writers.Writer): Line 77  class Writer(writers.Writer):
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'],
# Line 187  class LaTeXTranslator(nodes.NodeVisitor) Line 190  class LaTeXTranslator(nodes.NodeVisitor)
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'
# Line 216  class LaTeXTranslator(nodes.NodeVisitor) Line 218  class LaTeXTranslator(nodes.NodeVisitor)
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.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26