mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#558: Fix longtables with captions in LaTeX output.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,6 +1,8 @@
|
||||
Release 1.0.7 (in development)
|
||||
==============================
|
||||
|
||||
* #558: Fix longtables with captions in LaTeX output.
|
||||
|
||||
* Make token references work as hyperlinks again in LaTeX output.
|
||||
|
||||
* #572: Show warnings by default when reference labels cannot be
|
||||
|
||||
@@ -658,8 +658,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
else:
|
||||
self.body.append('{|' + ('L|' * self.table.colcount) + '}\n')
|
||||
if self.table.longtable and self.table.caption is not None:
|
||||
self.body.append(u'\\capstart\\caption{%s} \\\\\n' %
|
||||
self.table.caption)
|
||||
self.body.append(u'\\caption{%s} \\\\\n' % self.table.caption)
|
||||
if self.table.caption is not None:
|
||||
for id in self.next_table_ids:
|
||||
self.body.append(self.hypertarget(id, anchor=False))
|
||||
|
||||
Reference in New Issue
Block a user