X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12b5230d8fdb3ad995e867fb5d58a69e8a627e68..89ca0a5b949a96554491cc076bbeb66a93962eb9:/librarian/parser.py?ds=sidebyside diff --git a/librarian/parser.py b/librarian/parser.py index 502192f..e4f1340 100644 --- 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() + # 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