From b125e0db22458fa98fe6e3a06cdc33c189e89401 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 21 Mar 2017 12:15:48 +0100 Subject: [PATCH] latex dir for debugging --- apps/catalogue/models/book.py | 4 ++++ lib/librarian | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1