mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
#146: Don't fail to generate LaTeX when the user has an active
``.docutils`` configuration.
This commit is contained in:
1 parent
7890fa17e0
commit
ba45703b5a
3 files changed
+15
No files matched your search
@@ -8,3 +8,4 @@ sphinx/pycode/Grammar.*pickle
|
|||||||
Sphinx.egg-info/
|
Sphinx.egg-info/
|
||||||
doc/_build/
|
doc/_build/
|
||||||
TAGS
|
TAGS
|
||||||
|
\.ropeproject/
|
||||||
@@ -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.
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user