\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{Ten utwór jest udostepniony na licencji
+ \def\rightsinfo{Ten utwór jest udostępniony na licencji
\href{<xsl:value-of select=".//dc:rights.license" />}{<TeXML escape="1"><xsl:apply-templates select=".//dc:rights" mode="inline" /></TeXML>}.}
</xsl:if>
<xsl:if test=".//dc:publisher">
Wydawca:
<TeXML escape="1">
- <xsl:for-each select="//dc:publisher/text()">
+ <xsl:for-each select=".//dc:publisher/text()">
<xsl:value-of select="."/>
<xsl:if test="not(position() = last())">, </xsl:if>
</xsl:for-each>
\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>
</cmd>
</xsl:template>
+<xsl:template match="strofa" mode="inline">
+ <env name="minipage">
+ <opt>t</opt>
+ <parm><cmd name="linewidth" /></parm>
+ <parm><xsl:apply-templates select="." /></parm>
+ </env>
+</xsl:template>
+
<xsl:template match="strofa">
<cmd name="strofa"><parm>
<xsl:choose>
<xsl:when test="count(br) > 0">
<xsl:call-template name="verse">
<xsl:with-param name="verse-content" select="br[1]/preceding-sibling::text() | br[1]/preceding-sibling::node()" />
- <xsl:with-param name="verse-type" select="br[1]/preceding-sibling::*[name() = 'wers_wciety' or name() = 'wers_akap' or name() = 'wers_cd'][1]" />
+ <xsl:with-param name="verse-type" select="br[1]/preceding-sibling::*[name() = 'wers_wciety' or name() = 'wers_akap' or name() = 'wers_cd' or name() = 'wers_do_prawej'][1]" />
</xsl:call-template>
<xsl:for-each select="br">
<TeXML escape="0">\\{}</TeXML>
<xsl:call-template name="verse">
<xsl:with-param name="verse-content"
select="following-sibling::text()[count(preceding-sibling::br) = $lnum+1] | following-sibling::node()[count(preceding-sibling::br) = $lnum+1]" />
- <xsl:with-param name="verse-type" select="following-sibling::*[count(preceding-sibling::br) = $lnum+1 and (name() = 'wers_wciety' or name() = 'wers_akap' or name() = 'wers_cd')][1]" />
+ <xsl:with-param name="verse-type" select="following-sibling::*[count(preceding-sibling::br) = $lnum+1 and (name() = 'wers_wciety' or name() = 'wers_akap' or name() = 'wers_cd' or name() = 'wers_do_prawej')][1]" />
</xsl:call-template>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="verse">
<xsl:with-param name="verse-content" select="text() | node()" />
- <xsl:with-param name="verse-type" select="wers_wciety|wers_akap|wers_cd[1]" />
+ <xsl:with-param name="verse-type" select="wers_wciety|wers_akap|wers_cd|wers_do_prawej[1]" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<!-- ================================================ -->
<xsl:template mode="inline"
- match="pa|pe|pr|pt|mat|didask_tekst|slowo_obce|wyroznienie|osoba">
+ match="pa|pe|pr|pt|mat|didask_tekst|slowo_obce|wyroznienie|osoba|indeks_dolny|wieksze_odstepy">
<cmd>
<xsl:attribute name="name">
<xsl:value-of select="wl:texcommand(name())" />
<cmd name="par" />
<cmd name="vspace"><parm>1em</parm></cmd>
<group><cmd name="raggedright" />
- <env name="longtabu"> to <TeXML escape="0">\textwidth </TeXML>
+ <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:apply-templates/>
</xsl:otherwise>
</xsl:choose>
- </env>
+ </xsl:element>
</group>
<cmd name="vspace"><parm>1em</parm></cmd>
</xsl:template>