+<xsl:template name="authors">
+ <xsl:for-each select=".//dc:creator_parsed">
+ <xsl:if test="position() != 1">, </xsl:if>
+ <xsl:apply-templates mode="inline" />
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="authors2">
+ <xsl:for-each select="../..//dc:creator_parsed">
+ <xsl:if test="position() != 1">, </xsl:if>
+ <xsl:apply-templates mode="inline" />
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="editors">
+ <xsl:if test="@editors">
+ <xsl:text>Opracowanie redakcyjne i przypisy: </xsl:text>
+ <xsl:value-of select="@editors" />
+ <xsl:text>.</xsl:text>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template name="translators">
+ <xsl:if test=".//dc:contributor.translator_parsed">
+ <cmd name='translator'><parm>
+ <xsl:for-each select=".//dc:contributor.translator_parsed">
+ <xsl:if test="position() != 1">, </xsl:if>
+ <xsl:apply-templates mode="inline" />
+ </xsl:for-each>
+ </parm></cmd>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="data-sponsor" mode="sponsor">
+ <cmd name="par"><parm>
+ <xsl:choose>
+ <xsl:when test="@src">
+ \includegraphics[height=0.25\textwidth,width=0.25\textwidth,keepaspectratio]{<xsl:value-of select="@src" />}
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@name" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </parm></cmd>
+</xsl:template>
+
+<xsl:template match="mat" mode="inline">
+ <TeXML escape="0">
+ <xsl:text>$</xsl:text>
+ <xsl:value-of select="wl:mathml_latex(.)" />
+ <xsl:text>$</xsl:text>
+ </TeXML>
+</xsl:template>
+
+<xsl:template match="mat">
+ <TeXML escape="0">
+ <xsl:text>$$</xsl:text>
+ <xsl:value-of select="wl:mathml_latex(.)" />
+ <xsl:text>$$</xsl:text>
+ </TeXML>
+</xsl:template>
+
+<xsl:template match="tabela|tabelka">
+ <cmd name="par" />
+ <cmd name="vspace"><parm>1em</parm></cmd>
+ <group><cmd name="raggedright" />
+ <xsl:element name="env">
+ <xsl:attribute name="name">
+ <xsl:choose>
+ <xsl:when test="name(.)='tabela'">longtabu</xsl:when>
+ <xsl:otherwise>tabu</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute> to <TeXML escape="0">\textwidth </TeXML>
+ <!--parm><cmd name="textwidth"/></parm-->
+ <parm><TeXML escape="0"><xsl:value-of select="@_format" /></TeXML></parm>
+ <xsl:choose>
+ <xsl:when test="@ramka='1' or @ramki='1'">
+ <cmd name="hline" />
+ <xsl:apply-templates mode="wiersze-ramki"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </group>
+ <cmd name="vspace"><parm>1em</parm></cmd>
+</xsl:template>
+<xsl:template match="wiersz" mode="wiersze-ramki">
+ <xsl:apply-templates />
+ <spec cat="esc"/><spec cat="esc"/>
+ <cmd name="hline" gr="0" />
+</xsl:template>
+<xsl:template match="wiersz">
+ <xsl:apply-templates />
+ <spec cat="esc"/><spec cat="esc"/>
+</xsl:template>
+<xsl:template match="kol">
+ <xsl:apply-templates mode="inline"/>
+ <xsl:if test="position() < last()">
+ <spec cat="align"/>
+ </xsl:if>
+</xsl:template>
+