-<xsl:template match="powiesc|opowiadanie|liryka_l|liryka_lp|dramat_wierszowany_l|dramat_wierszowany_lp|dramat_wspolczesny" mode="title">
- <xsl:apply-templates select="rdf:RDF" mode='title' />
+<xsl:template match="rdf:RDF" mode="titlepage">
+ <cmd name='title'><parm>
+ <xsl:apply-templates select=".//dc:title/node()" mode="inline" />
+ </parm></cmd>
+ <cmd name='author'><parm>
+ <xsl:apply-templates select=".//dc:creator_parsed/node()" mode="inline" />
+ </parm></cmd>
+ <TeXML escape="0">
+ \def\sourceinfo{<xsl:apply-templates select=".//dc:source" mode="inline" />}
+ \def\bookurl{<xsl:value-of select=".//dc:identifier.url" />}
+ \def\rightsinfo{Ten utwór nie jest chroniony prawem autorskim i~znajduje się w~domenie publicznej,
+ co oznacza, że możesz go swobodnie wykorzystywać, publikować i~rozpowszechniać.}
+ <xsl:if test=".//dc:rights.license">
+ \def\rightsinfo{Ten utwór jest udostepniony na licencji
+ \href{<xsl:value-of select=".//dc:rights.license" />}{<xsl:value-of select=".//dc:rights" />}.}
+ </xsl:if>
+ </TeXML>