insert_tags(doc,
re.compile("(?<=[^-\s])-(?=[^-\s])"),
"dywiz",
- exclude=[DCNS("identifier.url"), DCNS("rights.license")]
+ exclude=[DCNS("identifier.url"), DCNS("rights.license"), "meta"]
)
\coverby
\fi
+ \ifdefined\isbn
+ \vspace{.6em}
+ \isbn
+ \fi
+
\vspace{.6em}
\emph{Wesprzyj Wolne Lektury!}
\vspace{.6em}
</xsl:if>}
\def\description{<TeXML escape="1"><xsl:apply-templates select=".//dc:description" mode="inline" /></TeXML>}
+ <xsl:if test=".//meta[@id='pdf-id']">
+ <xsl:variable name="isbn" select=".//meta[@id='pdf-id']"/>
+ \def\isbn{ISBN <xsl:value-of select="substring-after($isbn, 'ISBN-')"/>}
+ </xsl:if>
</TeXML>
</xsl:template>