Debian Codegraph @

xsl/quote.xsl

raw
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3
4 <!--############################################################################
5 XSLT Stylesheet DocBook -> LaTeX
6 ############################################################################ -->
7
8
9 <xsl:template match="epigraph|blockquote">
10 <xsl:text>\begin{quote}&#10;</xsl:text>
11 <xsl:apply-templates select="*[not(self::attribution)]"/>
12 <xsl:text>&#10;</xsl:text>
13 <xsl:apply-templates select="attribution"/>
14 <xsl:text>\end{quote}&#10;</xsl:text>
15 </xsl:template>
16
17 <xsl:template match="epigraph/title|blockquote/title">
18 <xsl:text>{\sc </xsl:text>
19 <xsl:apply-templates/>
20 <xsl:text>}&#10;&#10;</xsl:text>
21 </xsl:template>
22
23 <xsl:template match="attribution">
24 <xsl:text>\hspace*\fill---</xsl:text>
25 <xsl:apply-templates/>
26 </xsl:template>
27
28 </xsl:stylesheet>