fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow strofa inside table + fix table border in html/epub + fix empty verses in epub
[librarian.git]
/
librarian
/
pdf.py
diff --git
a/librarian/pdf.py
b/librarian/pdf.py
index
8e84dce
..
bbe3a92
100644
(file)
--- a/
librarian/pdf.py
+++ b/
librarian/pdf.py
@@
-86,7
+86,7
@@
def substitute_hyphens(doc):
insert_tags(doc,
re.compile("(?<=[^-\s])-(?=[^-\s])"),
"dywiz",
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
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: