|
|
| translator_class |
| |
|
| parts |
| |
|
| default_transforms |
| |
|
|
tuple | supported = ('latex', 'latex2e') |
| |
|
str | default_template = 'default.tex' |
| |
|
| default_template_path = LATEX_WRITER_DIR |
| |
| tuple | default_preamble |
| |
| list | table_style_values |
| |
|
tuple | settings_spec |
| |
|
tuple | relative_path_settings = ('template',) |
| |
|
dict | settings_defaults = {'sectnum_depth': 0} |
| |
|
str | config_section = 'latex2e writer' |
| |
|
tuple | config_section_dependencies = ('writers', 'latex writers') |
| |
| tuple | head_parts |
| |
| tuple | visitor_attributes |
| |
|
| output = None |
| |
|
str | component_type = 'writer' |
| |
|
str | config_section = 'writers' |
| |
|
| document = None |
| |
|
| output = None |
| |
|
| language = None |
| |
|
| destination = None |
| |
|
| component_type = None |
| |
|
tuple | supported = () |
| |
|
tuple | settings_spec = () |
| |
|
| settings_defaults = None |
| |
|
| settings_default_overrides = None |
| |
|
tuple | relative_path_settings = () |
| |
|
| config_section = None |
| |
|
| config_section_dependencies = None |
| |
|
tuple | default_transforms = () |
| |
|
tuple | unknown_reference_resolvers = () |
| |
◆ __init__()
| docutils.writers.latex2e.Writer.__init__ |
( |
|
self | ) |
|
◆ assemble_parts()
| docutils.writers.latex2e.Writer.assemble_parts |
( |
|
self | ) |
|
◆ get_transforms()
| docutils.writers.latex2e.Writer.get_transforms |
( |
|
self | ) |
|
◆ translate()
| docutils.writers.latex2e.Writer.translate |
( |
|
self | ) |
|
Do final translation of `self.document` into `self.output`. Called
from `write`. Override in subclasses.
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.
Reimplemented from docutils.writers.Writer.
◆ default_preamble
| tuple docutils.writers.latex2e.Writer.default_preamble |
|
static |
Initial value:= ('% PDF Standard Fonts\n'
'\\usepackage{mathptmx} % Times\n'
'\\usepackage[scaled=.90]{helvet}\n'
'\\usepackage{courier}')
◆ head_parts
| tuple docutils.writers.latex2e.Writer.head_parts |
|
static |
Initial value:= ('head_prefix', 'requirements', 'latex_preamble',
'stylesheet', 'fallbacks', 'pdfsetup', 'titledata')
◆ table_style_values
| list docutils.writers.latex2e.Writer.table_style_values |
|
static |
Initial value:= [
'booktabs', 'borderless', 'colwidths-auto',
'nolines', 'standard']
◆ visitor_attributes
| tuple docutils.writers.latex2e.Writer.visitor_attributes |
|
static |
Initial value:= head_parts + ('title', 'subtitle',
'body_pre_docinfo', 'docinfo',
'dedication', 'abstract', 'body')
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/docutils/writers/latex2e/__init__.py