X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bed92f8bdda5330d7e8571c3a4ff4184ab6d9d70..c87453a1da79443d74132398e7dd1aaa83140fee:/librarian/pdf.py diff --git a/librarian/pdf.py b/librarian/pdf.py index 8e84dce..bbe3a92 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -86,7 +86,7 @@ def substitute_hyphens(doc): insert_tags(doc, re.compile("(?<=[^-\s])-(?=[^-\s])"), "dywiz", - exclude=[DCNS("identifier.url"), DCNS("rights.license")] + exclude=[DCNS("identifier.url"), DCNS("rights.license"), "meta"] ) @@ -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: