mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#146: Don't fail to generate LaTeX when the user has an active
``.docutils`` configuration.
This commit is contained in:
parent
7890fa17e0
commit
ba45703b5a
@ -8,3 +8,4 @@ sphinx/pycode/Grammar.*pickle
|
||||
Sphinx.egg-info/
|
||||
doc/_build/
|
||||
TAGS
|
||||
\.ropeproject/
|
||||
|
3
CHANGES
3
CHANGES
@ -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.
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user