mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#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:
3
CHANGES
3
CHANGES
@@ -1,6 +1,9 @@
|
|||||||
Release 1.0.6 (in development)
|
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
|
* #567: Emit the ``autodoc-process-docstring`` event even for objects
|
||||||
without a docstring so that it can add content.
|
without a docstring so that it can add content.
|
||||||
|
|
||||||
|
|||||||
@@ -801,7 +801,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
|||||||
def visit_paragraph(self, node):
|
def visit_paragraph(self, node):
|
||||||
self.body.append('\n')
|
self.body.append('\n')
|
||||||
def depart_paragraph(self, node):
|
def depart_paragraph(self, node):
|
||||||
self.body.append('\n')
|
self.body.append('\n\n')
|
||||||
|
|
||||||
def visit_centered(self, node):
|
def visit_centered(self, node):
|
||||||
self.body.append('\n\\begin{center}')
|
self.body.append('\n\\begin{center}')
|
||||||
|
|||||||
Reference in New Issue
Block a user