From: Jan Szejko Date: Tue, 21 Mar 2017 11:15:48 +0000 (+0100) Subject: latex dir for debugging X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/b125e0db22458fa98fe6e3a06cdc33c189e89401?ds=sidebyside latex dir for debugging --- diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index a426b08d..84c05dbd 100755 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -439,3 +439,7 @@ class Book(models.Model): for c in changes: ChunkPublishRecord.objects.create(book_record=br, change=c) post_publish.send(sender=br) + + def latex_dir(self): + doc = self.wldocument() + return doc.latex_dir(cover=True, ilustr_path=self.gallery_path()) diff --git a/lib/librarian b/lib/librarian index 2ea20e32..d0e562ed 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit 2ea20e32dd822ece8a2df9693da42cfdaffcbc72 +Subproject commit d0e562ed982c428d4df66994450a70339b69a5ff