</em>
</xsl:template>
+ <xsl:template match="indeks_dolny" >
+ <sub xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates />
+ </sub>
+ </xsl:template>
+
<xsl:template match="osoba" >
<em class="person" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
<xsl:apply-templates mode="inline"/>
</strong>
</xsl:template>
+ <xsl:template match="indeks_dolny" mode="inline">
+ <sub>
+ <xsl:apply-templates mode="inline"/>
+ </sub>
+ </xsl:template>
<!-- text -->
<xsl:template match="text()" mode="inline">
\newcommand{\wyroznienie}[1]{%
\emph{#1}%
}
+\newcommand{\indeksdolny}[1]{%
+\textsubscript{#1}%
+}
\newcommand{\osoba}[1]{%
#1%
<!-- ================================================ -->
<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">
<cmd>
<xsl:attribute name="name">
<xsl:value-of select="wl:texcommand(name())" />
<em class="author-emphasis"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
+<xsl:template match="indeks_dolny" mode="inline">
+ <sub><xsl:apply-templates mode="inline" /></sub>
+</xsl:template>
+
<xsl:template match="osoba" mode="inline">
<em class="person"><xsl:apply-templates mode="inline" /></em>
</xsl:template>
<xsl:text>*</xsl:text><xsl:apply-templates mode="inline" /><xsl:text>*</xsl:text>
</xsl:template>
+<xsl:template match="indeks_dolny" mode="inline">
+<xsl:apply-templates mode="inline" />
+</xsl:template>
+
<xsl:template match="osoba" mode="inline">
<xsl:apply-templates mode="inline" />
</xsl:template>
<wyroznienie />
<osoba />
<tytul_dziela />
+ <indeks_dolny />
</inline-elements>
<paragraph-elements element="p" mixed="true">
</xsl:element>
</xsl:template>
+ <xsl:template match="indeks_dolny">
+ <xsl:element name="sub">
+ <xsl:apply-templates select="@*|node()" />
+ </xsl:element>
+ </xsl:template>
+
<xsl:template match="mat">
<xsl:element name="math">
<xsl:apply-templates select="@*|node()" />
<tytul_dziela typ="1">tytul_dziela@typ=1</tytul_dziela>,
<wyroznienie>wyroznienie</wyroznienie>,
<slowo_obce>slowo_obce</slowo_obce>
+indeks_dolny: H<indeks_dolny>2</indeks_dolny>O
</akap>
<akap>[Przypisy: pa, pt, pr, pe]</akap>