setup(
name='librarian',
- version='1.9',
+ version='1.10',
description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats',
author="Marek Stępniowski",
author_email='marek@stepniowski.com',
<a href="{concat('#footnote-', generate-id(.))}" class="annotation">[<xsl:number value="count(preceding::*[self::pa or self::pe or self::pr or self::pt]) + 1" />]</a>
</xsl:template>
+<xsl:template match="ref" mode="inline">
+ <a class="reference" data-uri="">
+ <xsl:attribute name="data-uri">
+ <xsl:value-of select="@href"/>
+ </xsl:attribute>
+ </a>
+</xsl:template>
+
<!-- Other inline tags -->
<xsl:template match="mat" mode="inline">
<math xmlns="http://www.w3.org/1998/Math/MathML"><xsl:copy-of select="*" /></math>