fix pdf for multiple publishers in multi-part books
[librarian.git] / 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
         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:
             if verbose:
                 p = call(['xelatex', tex_path])
             else: