From 97ccee22db67302265b8a566a5372b2bf75663db Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 21 Mar 2017 12:17:09 +0100 Subject: [PATCH] compile once for now --- librarian/pdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.20.1