<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="html" version="1.0" encoding="utf-8" />
<xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
<xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
</xsl:template>
<xsl:template match="pa|pe|pr|pt" mode="przypis">
- <div xmlns="http://www.w3.org/1999/xhtml">
+ <div xmlns="http://www.w3.org/1999/xhtml" class="annotation">
<p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p>
- <a class="annotation" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">
+ <a class="annotation-anchor" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">
[<xsl:value-of select="@number" />]
</a>
- <p xmlns="http://www.w3.org/1999/xhtml">
+ <p class="annotation-body" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
<xsl:if test="name()='pa'"> [przypis autorski]</xsl:if>
</p>
</p>
</xsl:template>
+ <xsl:template match="img">
+ <img rel="math formula">
+ <xsl:attribute name="src">
+ <xsl:value-of select="text()"/>
+ </xsl:attribute>
+ <xsl:attribute name="class">latex</xsl:attribute>
+ </img>
+ </xsl:template>
+
+
</xsl:stylesheet>