#556: Fix missing paragraph breaks in LaTeX output in certain situations (e.g.

if an index directive is positioned between paragraphs).
This commit is contained in:
Georg Brandl
2011-01-03 21:38:30 +01:00
parent 8f37758033
commit 0cda61e88d
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
Release 1.0.6 (in development)
==============================
* #556: Fix missing paragraph breaks in LaTeX output in certain
situations.
* #567: Emit the ``autodoc-process-docstring`` event even for objects
without a docstring so that it can add content.

View File

@@ -801,7 +801,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
def visit_paragraph(self, node):
self.body.append('\n')
def depart_paragraph(self, node):
self.body.append('\n')
self.body.append('\n\n')
def visit_centered(self, node):
self.body.append('\n\\begin{center}')