|
|
@ -729,21 +729,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="programlisting">
|
|
|
|
<xsl:template match="programlisting">
|
|
|
|
<programlisting language="c">
|
|
|
|
<programlisting language="c">
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
<xsl:for-each select="codeline[position() > 1 or highlight]">
|
|
|
|
|
|
|
|
<xsl:apply-templates select="."/>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
</xsl:for-each>
|
|
|
|
</programlisting>
|
|
|
|
</programlisting>
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="codeline">
|
|
|
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="codeline[last()]">
|
|
|
|
|
|
|
|
<xsl:if test="text() != '*'">
|
|
|
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="highlight">
|
|
|
|
<xsl:template match="highlight">
|
|
|
|
<emphasis role="{@class}">
|
|
|
|
<emphasis role="{@class}">
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
<xsl:apply-templates/>
|
|
|
|