Merge pull request #4668 from adamscott/template-pool-to-scons_pool
[scons.git] / doc / design / pdf.xsl
bloba398e5c05c35e6f5dd4d8ec30f0daa66b5192ec9
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"></xsl:param>
37 <xsl:param name="section.label.includes.component.label" select="1"/>
38 <xsl:param name="paper.type" select="'letter'"></xsl:param>
39 <xsl:param name="body.start.indent">0pt</xsl:param>
40 <xsl:param name="shade.verbatim" select="1"></xsl:param>
41 <xsl:param name="variablelist.term.break.after" select="1"></xsl:param>
43 <xsl:param name="generate.toc">
44 /appendix toc,title
45 article/appendix nop
46 /article toc,title
47 book toc,title,figure,table,example,equation
48 /chapter toc,title
49 part toc,title
50 /preface toc,title
51 reference toc,title
52 /sect1 toc
53 /sect2 toc
54 /sect3 toc
55 /sect4 toc
56 /sect5 toc
57 /section toc
58 set toc,title
59 </xsl:param>
61 <xsl:attribute-set name="variablelist.term.properties">
62 <xsl:attribute name="font-weight">bold</xsl:attribute>
63 </xsl:attribute-set>
65 <xsl:template match="variablelist">
66 <xsl:variable name="presentation">
67 <xsl:call-template name="pi.dbfo_list-presentation"/>
68 </xsl:variable>
69 <xsl:apply-templates select="." mode="vl.as.blocks"/>
70 </xsl:template>
72 </xsl:stylesheet>