\addcontentsline{toc}{section}{#2}%
}
+\newcommand{\nazwanadpodutworu}[2]{%
+\authortoc{}%
+\nazwapodutworu{#1}{#2}%
+\authortoc{}%
+}
+
\newcommand{\autorutworu}[1]{%
\subsection*{\typosubsection{#1}}%
}
</xsl:template>
<xsl:template match="rdf:RDF" mode="dctitle">
- <cmd name="autorpodutworu">
- <parm><xsl:call-template name="authors" /></parm>
- </cmd>
- <cmd name="nazwapodutworu"><parm>
+ <xsl:if test="../../rdf:RDF//use_subauthor">
+ <cmd name="autorpodutworu">
+ <parm><xsl:call-template name="authors" /></parm>
+ </cmd>
+ </xsl:if>
+ <cmd name="nazwanadpodutworu"><parm>
+ <xsl:apply-templates select=".//dc:title/node()" mode="inline" />
+ </parm>
+ <parm>
<xsl:apply-templates select=".//dc:title/node()" mode="inline" />
</parm></cmd>
</xsl:template>