|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
XSLT Stylesheet DocBook -> LaTeX
|
|
Packit Service |
76cb02 |
############################################################################ -->
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
stuff is correctly handled. This environment must support options
|
|
Packit Service |
76cb02 |
that are user specific.
|
|
Packit Service |
76cb02 |
-->
|
|
Packit Service |
76cb02 |
<xsl:template match="sidebar">
|
|
Packit Service |
76cb02 |
<xsl:text>
\begin{sidebar}</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:if test="@role and @role != ''">
|
|
Packit Service |
76cb02 |
<xsl:text>[</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:value-of select="concat('role=', @role)"/>
|
|
Packit Service |
76cb02 |
<xsl:text>]</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:if>
|
|
Packit Service |
76cb02 |
<xsl:text>
</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="title"/>
|
|
Packit Service |
76cb02 |
<xsl:call-template name="label.id"/>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="*[not(self::title)]"/>
|
|
Packit Service |
76cb02 |
<xsl:text>\end{sidebar}
</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:template match="sidebar/title">
|
|
Packit Service |
76cb02 |
<xsl:text>\textbf{</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates/>
|
|
Packit Service |
76cb02 |
<xsl:text>}
</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
</xsl:stylesheet>
|
|
Packit Service |
76cb02 |
|