mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Properly format bullet lists nested in definition lists for LaTeX.
This commit is contained in:
parent
df7469b5db
commit
1bd5ec7259
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
|||||||
Release 0.6.3 (in development)
|
Release 0.6.3 (in development)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
* Properly format bullet lists nested in definition lists for LaTeX.
|
||||||
|
|
||||||
* Section titles are now allowed inside ``only`` directives.
|
* Section titles are now allowed inside ``only`` directives.
|
||||||
|
|
||||||
* #201: Make ``centered`` directive work in LaTeX output.
|
* #201: Make ``centered`` directive work in LaTeX output.
|
||||||
|
@ -744,7 +744,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def visit_term(self, node):
|
def visit_term(self, node):
|
||||||
ctx = ']'
|
ctx = '] \\leavevmode'
|
||||||
if node.has_key('ids') and node['ids']:
|
if node.has_key('ids') and node['ids']:
|
||||||
ctx += '\\hypertarget{%s}{}' % node['ids'][0]
|
ctx += '\\hypertarget{%s}{}' % node['ids'][0]
|
||||||
self.body.append('\\item[')
|
self.body.append('\\item[')
|
||||||
|
Loading…
Reference in New Issue
Block a user