Properly format bullet lists nested in definition lists for LaTeX.

This commit is contained in:
Georg Brandl 2009-08-04 23:56:06 +02:00
parent df7469b5db
commit 1bd5ec7259
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
Release 0.6.3 (in development)
==============================
* Properly format bullet lists nested in definition lists for LaTeX.
* Section titles are now allowed inside ``only`` directives.
* #201: Make ``centered`` directive work in LaTeX output.

View File

@ -744,7 +744,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
pass
def visit_term(self, node):
ctx = ']'
ctx = '] \\leavevmode'
if node.has_key('ids') and node['ids']:
ctx += '\\hypertarget{%s}{}' % node['ids'][0]
self.body.append('\\item[')