Blame xsl/legalnotice.xsl
|
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 |
<xsl:template match="legalnotice">
|
|
Packit Service |
76cb02 |
<xsl:text>\def\DBKlegaltitle{</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="title"/>
|
|
Packit Service |
76cb02 |
<xsl:text>}
</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:text>\begin{DBKlegalnotice}
</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="*[not(self::title)]"/>
|
|
Packit Service |
76cb02 |
<xsl:text>\end{DBKlegalnotice}
</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:template match="legalnotice/title">
|
|
Packit Service |
76cb02 |
<xsl:apply-templates/>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:template name="print.legalnotice">
|
|
Packit Service |
76cb02 |
<xsl:param name="nodes" select="."/>
|
|
Packit Service |
76cb02 |
<xsl:if test="$nodes">
|
|
Packit Service |
76cb02 |
<xsl:text>
%% Legalnotices
</xsl:text>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="$nodes" mode="save.verbatim"/>
|
|
Packit Service |
76cb02 |
<xsl:text>\def\DBKlegalblock{
</xsl:text>
|
|
Packit Service |
76cb02 |
<xsl:apply-templates select="$nodes"/>
|
|
Packit Service |
76cb02 |
<xsl:text>}
</xsl:text>
|
|
Packit Service |
76cb02 |
</xsl:if>
|
|
Packit Service |
76cb02 |
</xsl:template>
|
|
Packit Service |
76cb02 |
|
|
Packit Service |
76cb02 |
</xsl:stylesheet>
|