Merge pull request #4668 from adamscott/template-pool-to-scons_pool
[scons.git] / doc / man / pdf.xsl
blobbaff08fd9170f5399df64291011344dbdfde4488
1 <?xml version='1.0'?>
2 <!--
4 __COPYRIGHT__
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
14 The above copyright notice and this permission notice shall be included
15 in all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
18 KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
19 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 -->
27 <xsl:stylesheet
28 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
29 xmlns:fo="http://www.w3.org/1999/XSL/Format"
30 version="1.0">
32 <xsl:import href="../../SCons/Tool/docbook/docbook-xsl-1.76.1/fo/docbook.xsl"/>
34 <xsl:include href="scons_title.xsl"/>
35 <xsl:param name="l10n.gentext.default.language" select="'en'"/>
36 <xsl:param name="section.autolabel" select="1"/>
37 <xsl:param name="section.label.includes.component.label" select="1"/>
38 <xsl:param name="paper.type" select="'letter'"/>
39 <xsl:param name="body.start.indent">0pt</xsl:param>
40 <xsl:param name="shade.verbatim" select="1"/>
41 <xsl:param name="variablelist.term.break.after" select="1"/>
42 <xsl:param name="variablelist.term.separator"/>
44 <xsl:param name="generate.toc">
45 /appendix toc,title
46 article/appendix nop
47 /article toc,title
48 book toc,title,figure,table,example,equation
49 /chapter toc,title
50 part toc,title
51 /preface toc,title
52 reference toc,title
53 /sect1 toc
54 /sect2 toc
55 /sect3 toc
56 /sect4 toc
57 /sect5 toc
58 /section toc
59 set toc,title
60 </xsl:param>
62 <xsl:attribute-set name="variablelist.term.properties">
63 <xsl:attribute name="font-weight">bold</xsl:attribute>
64 </xsl:attribute-set>
66 <xsl:template match="variablelist">
67 <xsl:variable name="presentation">
68 <xsl:call-template name="pi.dbfo_list-presentation"/>
69 </xsl:variable>
70 <xsl:apply-templates select="." mode="vl.as.blocks"/>
71 </xsl:template>
73 <!-- Prevent our EPUB cover image from getting printed to the PDF -->
74 <xsl:template match="mediaobject[@role = 'cover']">
75 </xsl:template>
77 </xsl:stylesheet>