X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c58ede829174b66ec4d2b0c949b771a3eed27e1b..dee29ed64f4ea7f3e74adb0d5f625f25c682ac57:/apps/catalogue/models/book.py 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())