compile once for now
authorJan Szejko <janek37@gmail.com>
Tue, 21 Mar 2017 11:17:09 +0000 (12:17 +0100)
committerJan Szejko <janek37@gmail.com>
Tue, 21 Mar 2017 11:21:53 +0000 (12:21 +0100)
librarian/pdf.py

index 8e84dce..20ab8bb 100644 (file)
@@ -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: