allow strofa inside table + fix table border in html/epub + fix empty verses in epub
[librarian.git] / librarian / pdf.py
index 8e84dce..bbe3a92 100644 (file)
@@ -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: