#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 committed 2011-01-03 21:38:30 +01:00
1 parent 8f37758033
commit 0cda61e88d
2 files changed
+4 -1

No files matched your search

+3
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.
+1 -1
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}')