From: Jan Szejko Date: Tue, 21 Mar 2017 11:17:09 +0000 (+0100) Subject: compile once for now X-Git-Tag: 1.7~58 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/97ccee22db67302265b8a566a5372b2bf75663db compile once for now --- diff --git a/librarian/pdf.py b/librarian/pdf.py index 8e84dce..20ab8bb 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -315,7 +315,8 @@ def transform(wldoc, verbose=False, save_tex=None, morefloats=None, os.chdir(temp) # some things work better when compiled twice - for run in xrange(2): + # but they are not enabled now (line numbers) + for run in xrange(1): if verbose: p = call(['xelatex', tex_path]) else: