From: Jan Szejko Date: Tue, 16 May 2017 10:16:24 +0000 (+0200) Subject: ISBN in PDF X-Git-Tag: 1.7~54 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/f981e2fe9c976709edb03f8617079319be6605e8 ISBN in PDF --- diff --git a/librarian/pdf.py b/librarian/pdf.py index 20ab8bb..bbe3a92 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -86,7 +86,7 @@ def substitute_hyphens(doc): insert_tags(doc, re.compile("(?<=[^-\s])-(?=[^-\s])"), "dywiz", - exclude=[DCNS("identifier.url"), DCNS("rights.license")] + exclude=[DCNS("identifier.url"), DCNS("rights.license"), "meta"] ) diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 82098ec..30dbf63 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -276,6 +276,11 @@ Letters={SmallCaps,UppercaseSmallCaps} \coverby \fi + \ifdefined\isbn + \vspace{.6em} + \isbn + \fi + \vspace{.6em} \emph{Wesprzyj Wolne Lektury!} diff --git a/librarian/pdf/wl2tex.xslt b/librarian/pdf/wl2tex.xslt index 7b38e34..43092e7 100644 --- a/librarian/pdf/wl2tex.xslt +++ b/librarian/pdf/wl2tex.xslt @@ -203,6 +203,10 @@ \vspace{.6em} } \def\description{} + + + \def\isbn{ISBN } +