<xsl:template match="utwor">
<TeXML xmlns="http://getfo.sourceforge.net/texml/ns1">
<TeXML escape="0">
- \documentclass[<xsl:value-of select="@customizations"/>]{wl}
+ \documentclass[<xsl:value-of select="@customizations"/>]{<xsl:value-of select="@documentclass"/>}
<!-- flags and values set on root -->
<TeXML escape="0">
\def\coverby{
- <xsl:if test="@data-cover-by">Cover image:
+ <xsl:if test="@data-cover-by">Obraz na okładce:
<xsl:choose>
<xsl:when test="@data-cover-source">
\href{\datacoversource}{\datacoverby}.
\href{http://creativecommons.org/licenses/by-sa/3.0/}{Creative Commons
Uznanie Autorstwa – Na Tych Samych Warunkach 3.0 PL}.}
<xsl:if test=".//dc:rights.license">
- \def\rightsinfo{This book is available under the terms of
+ \def\rightsinfo{Ta książka jest udostpęniona na licencji
\href{<xsl:value-of select=".//dc:rights.license" />}{<xsl:value-of select=".//dc:rights" />}.}
</xsl:if>
</cmd>
</xsl:template>
+<xsl:strip-space elements="ilustr"/>
<xsl:template match="ilustr">
<cmd>
<xsl:attribute name="name">
<xsl:value-of select="wl:texcommand(name())" />
</xsl:attribute>
- <parm><xsl:value-of select="@src" /></parm>
+ <parm><TeXML escape="0"><xsl:value-of select="normalize-space(@src)" /></TeXML></parm>
<parm><xsl:apply-templates mode="inline" /></parm>
</cmd>
</xsl:template>
</math>
</xsl:template>
+<xsl:template match="latex" mode="inline">
+ <TeXML escape="0">
+ <xsl:apply-templates select="@*|node()" mode="identity"/>
+ </TeXML>
+</xsl:template>
+
<xsl:template match="tablewrap">
<cmd name="begin"><parm>table</parm><opt>h!</opt></cmd>
<xsl:apply-templates select="table"/>
<xsl:template name="editors">
<xsl:if test=".//dc:contributor.editor_parsed|.//dc:contributor.technical_editor_parsed">
- <xsl:text>Technical editors: </xsl:text>
+ <xsl:text>Redakcja techniczna: </xsl:text>
<xsl:for-each select=".//dc:contributor.editor_parsed|.//dc:contributor.technical_editor_parsed[not(.//dc:contributor.editor_parsed/text()=text())]">
<!--xsl:sort select="@sortkey" /-->
<xsl:if test="position() != 1">, </xsl:if>