Skip to content
Snippets Groups Projects
Commit 7ea16418 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Run latex twice for longtable, ...

parent 229855ec
No related branches found
No related tags found
No related merge requests found
...@@ -399,9 +399,11 @@ def latex2pdf(): ...@@ -399,9 +399,11 @@ def latex2pdf():
fi.close() fi.close()
# convert the latex file into pdf # convert the latex file into pdf
# run latex twice for longtable, ...
cmd = ['pdflatex', '-interaction', 'nonstopmode', '%s.tex' % fn] cmd = ['pdflatex', '-interaction', 'nonstopmode', '%s.tex' % fn]
call(cmd, stdout=TemporaryFile()) call(cmd, stdout=TemporaryFile())
call(cmd, stdout=TemporaryFile())
# clean latex processing # clean latex processing
for ext in ('aux', 'log', 'tex'): for ext in ('aux', 'log', 'tex'):
f = '%s.%s' % (fn, ext) f = '%s.%s' % (fn, ext)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment