mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix long line and test failure.
This commit is contained in:
@@ -635,7 +635,8 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
|||||||
else:
|
else:
|
||||||
self.body.append('{|' + ('L|' * self.table.colcount) + '}\n')
|
self.body.append('{|' + ('L|' * self.table.colcount) + '}\n')
|
||||||
if self.table.longtable and self.table.caption is not None:
|
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'\\capstart\\caption{%s} \\\\\n' %
|
||||||
|
self.table.caption)
|
||||||
if self.table.caption is not None:
|
if self.table.caption is not None:
|
||||||
for id in self.next_table_ids:
|
for id in self.next_table_ids:
|
||||||
self.body.append(self.hypertarget(id, anchor=False))
|
self.body.append(self.hypertarget(id, anchor=False))
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ ENV_WARNINGS = """\
|
|||||||
%(root)s/images.txt:23: WARNING: nonlocal image URI found: \
|
%(root)s/images.txt:23: WARNING: nonlocal image URI found: \
|
||||||
http://www.python.org/logo.png
|
http://www.python.org/logo.png
|
||||||
%(root)s/includes.txt:\\d*: \\(WARNING/2\\) Encoding 'utf-8-sig' used for \
|
%(root)s/includes.txt:\\d*: \\(WARNING/2\\) Encoding 'utf-8-sig' used for \
|
||||||
reading included file u'wrongenc.inc' seems to be wrong, try giving an \
|
reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \
|
||||||
:encoding: option\\n?
|
:encoding: option\\n?
|
||||||
%(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png
|
%(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png
|
||||||
%(root)s/objects.txt:\\d*: WARNING: using old C markup; please migrate to \
|
%(root)s/objects.txt:\\d*: WARNING: using old C markup; please migrate to \
|
||||||
|
|||||||
Reference in New Issue
Block a user