Package docutils :: Package writers :: Module latex2e :: Class Writer
[show private | hide private]
[frames | no frames]

Class Writer

 SettingsSpec --+        
                |        
TransformSpec --+        
                |        
        Component --+    
                    |    
               Writer --+
                        |
                       Writer


Method Summary
  translate(self)
Override to do final document tree translation.
    Inherited from Writer
  __init__(self)
Initialize the Writer instance.
  write(self, document, destination)
    Inherited from Component
  supports(self, format)
Is format supported by this component?

Class Variable Summary
NoneType output = None                                                                  
dict settings_defaults = {'output_encoding': 'latin-1'}
tuple settings_spec = ('LaTeX-Specific Options', 'The LaTeX "-...
tuple supported = ('latex', 'latex2e')
    Inherited from Writer
str component_type = 'writer'
NoneType destination = None                                                                  
NoneType document = None                                                                  
NoneType language = None                                                                  
    Inherited from SettingsSpec
tuple relative_path_settings = ()
NoneType settings_default_overrides = None                                                                  
    Inherited from TransformSpec
tuple default_transforms = ()

Method Details

translate(self)

Override to do final document tree translation.

This is usually done with a docutils.nodes.NodeVisitor subclass, in combination with a call to docutils.nodes.Node.walk() or docutils.nodes.Node.walkabout(). The NodeVisitor subclass must support all standard elements (listed in docutils.nodes.node_class_names) and possibly non-standard elements used by the current Reader as well.

Overrides:
docutils.writers.Writer.translate (inherited documentation)

Class Variable Details

output

Type:
NoneType
Value:
None                                                                  

settings_defaults

Type:
dict
Value:
{'output_encoding': 'latin-1'}                                         

settings_spec

Type:
tuple
Value:
('LaTeX-Specific Options',
 'The LaTeX "--output-encoding" default is "latin-1:strict".',
 (('Specify documentclass.  Default is "article".',
   ['--documentclass'],
   {'default': 'article'}),
  ('Format for footnote references: one of "superscript" or "brackets"\
.  Default is "brackets".',
   ['--footnote-references'],
...                                                                    

supported

Type:
tuple
Value:
('latex', 'latex2e')                                                   

Generated by Epydoc 2.0 on Tue Jul 22 05:31:26 2003 http://epydoc.sf.net