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