#146: Don't fail to generate LaTeX when the user has an active

``.docutils`` configuration.
This commit is contained in:
Georg Brandl 2009-05-03 10:32:32 +02:00
parent 7890fa17e0
commit ba45703b5a
3 changed files with 15 additions and 0 deletions

View File

@ -8,3 +8,4 @@ sphinx/pycode/Grammar.*pickle
Sphinx.egg-info/
doc/_build/
TAGS
\.ropeproject/

View File

@ -1,6 +1,9 @@
Release 0.6.2 (in development)
==============================
* #146: Don't fail to generate LaTeX when the user has an active
``.docutils`` configuration.
* #29: Don't generate visible "-{-}" in option lists in LaTeX.
* Fix cross-reference roles when put into substitutions.

View File

@ -1269,6 +1269,17 @@ class LaTeXTranslator(nodes.NodeVisitor):
def depart_decoration(self, node):
pass
# docutils-generated elements that we don't support
def visit_header(self, node):
raise nodes.SkipNode
def visit_footer(self, node):
raise nodes.SkipNode
def visit_docinfo(self, node):
raise nodes.SkipNode
# text handling
def encode(self, text):