Commits

Georg Brandl committed b18f893

#558: Fix longtables with captions in LaTeX output.

  • Participants
  • Parent commits 70f2984

Comments (0)

Files changed (2)

 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

sphinx/writers/latex.py

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