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

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

No files matched your search

+1
View File
@@ -8,3 +8,4 @@ sphinx/pycode/Grammar.*pickle
Sphinx.egg-info/ Sphinx.egg-info/
doc/_build/ doc/_build/
TAGS TAGS
\.ropeproject/
+3
View File
@@ -1,6 +1,9 @@
Release 0.6.2 (in development) 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. * #29: Don't generate visible "-{-}" in option lists in LaTeX.
* Fix cross-reference roles when put into substitutions. * Fix cross-reference roles when put into substitutions.
+11
View File
@@ -1269,6 +1269,17 @@ class LaTeXTranslator(nodes.NodeVisitor):
def depart_decoration(self, node): def depart_decoration(self, node):
pass 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 # text handling
def encode(self, text): def encode(self, text):