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
/
parser.py
diff --git
a/librarian/parser.py
b/librarian/parser.py
index
502192f
..
e4f1340
100644
(file)
--- a/
librarian/parser.py
+++ b/
librarian/parser.py
@@
-210,6
+210,12
@@
class WLDocument(object):
cover_class = DefaultEbookCover
return cover_class(self.book_info, *args, **kwargs).output_file()
cover_class = DefaultEbookCover
return cover_class(self.book_info, *args, **kwargs).output_file()
+ # for debugging only
+ def latex_dir(self, *args, **kwargs):
+ kwargs['latex_dir'] = True
+ from librarian import pdf
+ return pdf.transform(self, *args, **kwargs)
+
def save_output_file(self, output_file, output_path=None, output_dir_path=None, make_author_dir=False, ext=None):
if output_dir_path:
save_path = output_dir_path
def save_output_file(self, output_file, output_path=None, output_dir_path=None, make_author_dir=False, ext=None):
if output_dir_path:
save_path = output_dir_path