mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix latex markup for line blocks in tables.
This commit is contained in:
parent
e8cfdda7a2
commit
df7e93dcf1
2
CHANGES
2
CHANGES
@ -163,6 +163,8 @@ Bugs fixed
|
||||
|
||||
* Fix small problems in HTML help index generation.
|
||||
|
||||
* Fix LaTeX output for line blocks in tables.
|
||||
|
||||
* Fix "illegal unit" error when using pixel image widths/heights.
|
||||
|
||||
* Support table captions in LaTeX output.
|
||||
|
@ -1038,7 +1038,10 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
# no output in this line -- add a nonbreaking space, else the
|
||||
# \\ command will give an error
|
||||
self.body.append('~')
|
||||
self.body.append('\\\\\n')
|
||||
if self.table is not None:
|
||||
self.body.append('\\newline\n')
|
||||
else:
|
||||
self.body.append('\\\\\n')
|
||||
|
||||
def visit_block_quote(self, node):
|
||||
# If the block quote contains a single object and that object
|
||||
|
Loading…
Reference in New Issue
Block a user