]> git.stg.codes - stg.git/blob - doc/xslt/docsrc/reference.xml
Added template specification.
[stg.git] / doc / xslt / docsrc / reference.xml
1 <set xmlns="http://docbook.org/ns/docbook" version="5.0"
2   xmlns:xi="http://www.w3.org/2001/XInclude"
3   xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
4   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5   xmlns:xlink="http://www.w3.org/1999/xlink"
6   xml:base="../docsrc/"
7   >
8   <!-- * WARNING WARNING WARNING -->
9   <!-- * WARNING WARNING WARNING -->
10   <!-- * -->
11   <!-- * This document has duplicate IDs in it and is intended for -->
12   <!-- * processing using the chunk.xsl stylesheet to generate chunked -->
13   <!-- * output from it (not for generating a single HTML output file) -->
14   <!-- * -->
15   <!-- * WARNING WARNING WARNING -->
16   <!-- * WARNING WARNING WARNING -->
17   <title>DocBook XSL Stylesheets: Reference Documentation</title>
18   <info><releaseinfo role="meta">$Id: reference.xml 8321 2009-03-12 18:20:36Z mzjn $ </releaseinfo>
19     <xi:include href="./authors.xml"/>
20     <xi:include href="./copyright.xml" xpointer="xpointer(//*[local-name() = 'copyright'])"/>
21     <xi:include href="./license.xml"/>
22     <xi:include href="./warranty.xml"/>
23     <abstract xml:id="about">
24       <title>About this document</title>
25       <para>This is generated reference documentation for the DocBook
26         XSL stylesheets. It is available in the following formats:
27         <itemizedlist>
28           <listitem>
29             <para><link
30                 xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.html"
31                 >HTML</link>,
32               <link
33                 xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.pdf"
34                 >PDF</link>,
35               <link
36                 xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.txt"
37                 >plain text</link></para>
38           </listitem>
39         </itemizedlist>
40         This is primarily documentation on the parameters and processing instructions you can use
41         to control the behavior of the stylesheets.
42         <note>
43           <para>This is purely reference documentation&#xa0;– not how-to
44             documentation. For a thorough step-by-step how-to guide to
45             publishing content using the DocBook XSL stylesheets, see
46             Bob Stayton’s <link 
47               xlink:href="http://www.sagehill.net/book-description.html"
48               >DocBook XSL: The Complete Guide</link>, available online
49             at <link
50               xlink:href="http://www.sagehill.net/docbookxsl/index.html"
51               >http://www.sagehill.net/docbookxsl/index.html</link>
52           </para>
53         </note>
54         This document is divided into three sets of references:
55         the first two sets provides user documentation; the third,
56         developer documentation.</para>
57     </abstract>
58   </info>
59   <book xml:id="param"><title>DocBook XSL Stylesheets User Reference: Parameters</title>
60     <info>
61       <abstract>
62         <para>This is generated reference documentation for all
63           user-configurable parameters in the DocBook XSL
64           stylesheets.
65           <note>
66             <para>This is purely reference documentation&#xa0;– not how-to
67               documentation. For a thorough step-by-step how-to guide to
68               publishing content using the DocBook XSL stylesheets, see
69               Bob Stayton’s <link 
70                 xlink:href="http://www.sagehill.net/book-description.html"
71                 >DocBook XSL: The Complete Guide</link>, available online
72               at <link
73                 xlink:href="http://www.sagehill.net/docbookxsl/index.html"
74                 >http://www.sagehill.net/docbookxsl/index.html</link>
75             </para>
76           </note>
77         </para>
78       </abstract>
79     </info>
80     <part xml:id="html">
81       <?dbhtml dir="html"?>
82       <?dbhtml filename="index.html"?>
83       <xi:include href="../html/param.xml" xpointer="xpointer(/book/info/title)" />
84       <partintro xml:id="htmlintro">
85         <xi:include href="../html/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
86       </partintro>
87       <xi:include href="../html/param.xml" xpointer="xpointer(/book/reference)" />
88     </part>
89     <part xml:id="fo">
90       <?dbhtml dir="fo"?>
91       <?dbhtml filename="index.html"?>
92       <xi:include href="../fo/param.xml" xpointer="xpointer(/book/info/title)" />
93       <partintro xml:id="fointro">
94         <xi:include href="../fo/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
95       </partintro>
96       <xi:include href="../fo/param.xml" xpointer="xpointer(/book/reference)" />
97     </part>
98     <part xml:id="manpages">
99       <?dbhtml dir="manpages"?>
100       <?dbhtml filename="index.html"?>
101       <xi:include href="../manpages/param.xml" xpointer="xpointer(/book/info/title)" />
102       <partintro xml:id="manintro">
103         <xi:include href="../manpages/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
104       </partintro>
105       <xi:include href="../manpages/param.xml" xpointer="xpointer(/book/reference)" />
106     </part>
107     <part xml:id="roundtrip">
108       <?dbhtml dir="roundtrip"?>
109       <?dbhtml filename="index.html"?>
110       <xi:include href="../roundtrip/param.xml" xpointer="xpointer(/book/info/title)" />
111       <partintro xml:id="roundtripintro">
112         <xi:include href="../roundtrip/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
113       </partintro>
114       <xi:include href="../roundtrip/param.xml" xpointer="xpointer(/book/reference/node()[not(self::title)])" />
115     </part>
116     <part xml:id="slides"><title>Slides Parameter Reference</title>
117       <?dbhtml dir="slides"?>
118       <?dbhtml filename="index.html"?>
119       <partintro xml:id="slidesintro">
120         <para>This is reference documentation for all
121           user-configurable parameters in the DocBook XSL Slides
122           stylesheets (for generating HTML and PDF slide
123           presentations).</para>
124         <note>
125           <para>The Slides stylesheet for HTML output is a
126             customization layer of the DocBook XSL HTML
127             stylesheet; the Slides stylesheet for FO output is a
128             customization layer of the DocBook XSL FO stylesheet.
129             Therefore, in addition to the slides-specific
130             parameters listed in this section, you can also use a
131             number of <link xlink:href="../html">HTML stylesheet
132               parameters</link> and <link xlink:href="../fo">FO
133               stylesheet parameters</link> to control Slides
134             output.</para>
135         </note>
136       </partintro>
137       <xi:include href="../slides/html/param.xml" xpointer="xpointer(/book/reference)" />
138       <xi:include href="../slides/fo/param.xml" xpointer="xpointer(/book/reference)" />
139     </part>
140     <part xml:id="website">
141       <?dbhtml dir="website"?>
142       <?dbhtml filename="index.html"?>
143       <xi:include href="../website/param.xml" xpointer="xpointer(/book/info/title)" />
144       <partintro xml:id="websiteintro">
145         <xi:include href="../website/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
146       </partintro>
147       <xi:include href="../website/param.xml" xpointer="xpointer(/book/reference)" />
148     </part>
149   </book>
150   <book xml:id="pi"><title>DocBook XSL Stylesheets User Reference: PIs</title>
151     <?dbhtml dir="pi"?>
152     <?dbhtml filename="index.html"?>
153     <info>
154       <abstract>
155         <para>This is generated reference documentation for all
156           user-specifiable processing instructions in the DocBook
157           XSL stylesheets.
158           <note>
159             <para>You add these PIs at particular points in a document to
160               cause specific “exceptions” to formatting/output behavior. To
161               make global changes in formatting/output behavior across an
162               entire document, it’s better to do it by setting an
163               appropriate stylesheet parameter (if there is one).</para>
164           </note>
165         </para>
166       </abstract>
167     </info>
168     <part xml:id="pi-html">
169       <xi:include href="../html/pi.xml" xpointer="xpointer(/reference/node())" />
170     </part>
171     <part xml:id="pi-fo">
172       <xi:include href="../fo/pi.xml" xpointer="xpointer(/reference/node())" />
173     </part>
174     <part xml:id="pi-man">
175       <xi:include href="../manpages/pi.xml" xpointer="xpointer(/reference/node())" />
176     </part>
177     <part xml:id="pi-common">
178       <xi:include href="../common/pi.xml" xpointer="xpointer(/reference/node())" />
179     </part>
180   </book>
181   <book xml:id="developer"><title>DocBook XSL Stylesheets Developer Reference</title>
182     <info>
183       <abstract>
184         <para>This is technical reference documentation for
185           developers using the DocBook XSL Stylesheets. It is not
186           intended to be user documentation, but is instead
187           provided for developers writing customization layers for
188           the stylesheets.</para>
189       </abstract>
190     </info>
191     <part xml:id="lib">
192       <?dbhtml dir="lib"?>
193       <?dbhtml filename="index.html"?>
194       <xi:include href="../lib/lib.xml" xpointer="xpointer(/book/info/title)" />
195       <partintro xml:id="libintro">
196         <xi:include href="../lib/lib.xml" xpointer="xpointer(/book/info/abstract/node())" />
197       </partintro>
198       <xi:include href="../lib/lib.xml" xpointer="xpointer(/book/reference)" />
199     </part>
200     <part xml:id="common-part"><title>Common Template Reference</title>
201       <?dbhtml dir="common"?>
202       <?dbhtml filename="index.html"?>
203       <info>
204         <abstract>
205           <para>This is technical reference documentation for the
206             “base”, “refentry”, and “utility” sets of common
207             templates in the DocBook XSL Stylesheets. These
208             templates are “common” in that they are shared across
209             output formats (that is, they’re not
210             output-format-dependent)</para>
211           <para>This documentation is not intended to be user
212             documentation. It is provided for developers writing
213             customization layers for the stylesheets.</para>
214         </abstract>
215       </info>
216         <xi:include href="../common/common.xml"/>
217         <xi:include href="../common/refentry.xml"/>
218         <xi:include href="../common/utility.xml"/>
219         <xi:include href="../common/charmap.xml"/>
220     </part>
221     <part xml:id="table-templates">
222       <xi:include href="../fo/table.xml" xpointer="xpointer(/reference/node())"/>
223     </part>
224     <part xml:id="template"> 
225       <xi:include href="../template/titlepage.xml" xpointer="xpointer(/reference/node())"/>
226     </part>
227   </book>
228 </set>
229 <!-- * vim: set ft=docbk foldlevel=2: -->