Fix long line and test failure.

This commit is contained in:
Georg Brandl
2010-08-23 16:48:51 +00:00
parent 938e4aa41e
commit a78e477bf7
2 changed files with 3 additions and 2 deletions

View File

@@ -635,7 +635,8 @@ 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'\\capstart\\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))

View File

@@ -35,7 +35,7 @@ ENV_WARNINGS = """\
%(root)s/images.txt:23: WARNING: nonlocal image URI found: \
http://www.python.org/logo.png
%(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?
%(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 \