Commits

Georg Brandl  committed a653015

#556: Fix missing paragraph breaks in LaTeX output in certain situations (e.g.
if an index directive is positioned between paragraphs).

  • Participants
  • Parent commits df47ba6

Comments (0)

Files changed (2)

 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.
 

File sphinx/writers/latex.py

     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}')