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.
26 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
27 xmlns:
exsl=
"http://exslt.org/common"
28 xmlns:
fo=
"http://www.w3.org/1999/XSL/Format"
29 version=
"1.0" exclude-result-prefixes=
"exsl">
31 <!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
33 <xsl:template name=
"article.titlepage.recto">
35 <xsl:when test=
"articleinfo/title">
36 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"articleinfo/title"/>
38 <xsl:when test=
"artheader/title">
39 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"artheader/title"/>
41 <xsl:when test=
"info/title">
42 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"info/title"/>
44 <xsl:when test=
"title">
45 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"title"/>
50 <xsl:when test=
"articleinfo/subtitle">
51 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"articleinfo/subtitle"/>
53 <xsl:when test=
"artheader/subtitle">
54 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"artheader/subtitle"/>
56 <xsl:when test=
"info/subtitle">
57 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"info/subtitle"/>
59 <xsl:when test=
"subtitle">
60 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"subtitle"/>
64 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"articleinfo/mediaobject"/>
65 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"artheader/mediaobject"/>
66 <xsl:apply-templates mode=
"article.titlepage.recto.auto.mode" select=
"info/mediaobject"/>
69 <xsl:template name=
"article.titlepage.verso">
72 <xsl:template name=
"article.titlepage.separator">
75 <xsl:template name=
"article.titlepage.before.recto">
78 <xsl:template name=
"article.titlepage.before.verso">
81 <xsl:template name=
"article.titlepage">
82 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" font-family=
"{$title.fontset}">
83 <xsl:variable name=
"recto.content">
84 <xsl:call-template name=
"article.titlepage.before.recto"/>
85 <xsl:call-template name=
"article.titlepage.recto"/>
87 <xsl:variable name=
"recto.elements.count">
89 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
90 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
91 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
92 <xsl:otherwise>1</xsl:otherwise>
95 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
96 <fo:block start-indent=
"0pt" text-align=
"center"><xsl:copy-of select=
"$recto.content"/></fo:block>
98 <xsl:variable name=
"verso.content">
99 <xsl:call-template name=
"article.titlepage.before.verso"/>
100 <xsl:call-template name=
"article.titlepage.verso"/>
102 <xsl:variable name=
"verso.elements.count">
104 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
105 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
106 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
107 <xsl:otherwise>1</xsl:otherwise>
110 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
111 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
113 <xsl:call-template name=
"article.titlepage.separator"/>
117 <xsl:template match=
"*" mode=
"article.titlepage.recto.mode">
118 <!-- if an element isn't found in this mode, -->
119 <!-- try the generic titlepage.mode -->
120 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
123 <xsl:template match=
"*" mode=
"article.titlepage.verso.mode">
124 <!-- if an element isn't found in this mode, -->
125 <!-- try the generic titlepage.mode -->
126 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
129 <xsl:template match=
"title" mode=
"article.titlepage.recto.auto.mode">
130 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"article.titlepage.recto.style" keep-with-next.
within-column=
"always" font-size=
"24.8832pt" font-weight=
"bold">
131 <xsl:call-template name=
"component.title">
132 <xsl:with-param name=
"node" select=
"ancestor-or-self::article[1]"/>
137 <xsl:template match=
"subtitle" mode=
"article.titlepage.recto.auto.mode">
138 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"article.titlepage.recto.style">
139 <xsl:apply-templates select=
"." mode=
"article.titlepage.recto.mode"/>
143 <xsl:template match=
"mediaobject" mode=
"article.titlepage.recto.auto.mode">
144 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"article.titlepage.recto.style">
145 <xsl:apply-templates select=
"." mode=
"article.titlepage.recto.mode"/>
149 <xsl:template name=
"set.titlepage.recto">
151 <xsl:when test=
"setinfo/title">
152 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/title"/>
154 <xsl:when test=
"info/title">
155 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/title"/>
157 <xsl:when test=
"title">
158 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"title"/>
163 <xsl:when test=
"setinfo/subtitle">
164 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/subtitle"/>
166 <xsl:when test=
"info/subtitle">
167 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/subtitle"/>
169 <xsl:when test=
"subtitle">
170 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"subtitle"/>
174 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/corpauthor"/>
175 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
176 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/authorgroup"/>
177 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
178 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/author"/>
179 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/author"/>
180 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/othercredit"/>
181 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/othercredit"/>
182 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/releaseinfo"/>
183 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
184 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/copyright"/>
185 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/copyright"/>
186 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/legalnotice"/>
187 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
188 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/pubdate"/>
189 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/pubdate"/>
190 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/revision"/>
191 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/revision"/>
192 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/revhistory"/>
193 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/revhistory"/>
194 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"setinfo/abstract"/>
195 <xsl:apply-templates mode=
"set.titlepage.recto.auto.mode" select=
"info/abstract"/>
198 <xsl:template name=
"set.titlepage.verso">
201 <xsl:template name=
"set.titlepage.separator">
204 <xsl:template name=
"set.titlepage.before.recto">
207 <xsl:template name=
"set.titlepage.before.verso">
210 <xsl:template name=
"set.titlepage">
211 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
212 <xsl:variable name=
"recto.content">
213 <xsl:call-template name=
"set.titlepage.before.recto"/>
214 <xsl:call-template name=
"set.titlepage.recto"/>
216 <xsl:variable name=
"recto.elements.count">
218 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
219 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
220 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
221 <xsl:otherwise>1</xsl:otherwise>
224 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
225 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
227 <xsl:variable name=
"verso.content">
228 <xsl:call-template name=
"set.titlepage.before.verso"/>
229 <xsl:call-template name=
"set.titlepage.verso"/>
231 <xsl:variable name=
"verso.elements.count">
233 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
234 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
235 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
236 <xsl:otherwise>1</xsl:otherwise>
239 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
240 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
242 <xsl:call-template name=
"set.titlepage.separator"/>
246 <xsl:template match=
"*" mode=
"set.titlepage.recto.mode">
247 <!-- if an element isn't found in this mode, -->
248 <!-- try the generic titlepage.mode -->
249 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
252 <xsl:template match=
"*" mode=
"set.titlepage.verso.mode">
253 <!-- if an element isn't found in this mode, -->
254 <!-- try the generic titlepage.mode -->
255 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
258 <xsl:template match=
"title" mode=
"set.titlepage.recto.auto.mode">
259 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style" text-align=
"center" font-size=
"24.8832pt" space-before=
"18.6624pt" font-weight=
"bold" font-family=
"{$title.fontset}">
260 <xsl:call-template name=
"division.title">
261 <xsl:with-param name=
"node" select=
"ancestor-or-self::set[1]"/>
266 <xsl:template match=
"subtitle" mode=
"set.titlepage.recto.auto.mode">
267 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style" font-family=
"{$title.fontset}" text-align=
"center">
268 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
272 <xsl:template match=
"corpauthor" mode=
"set.titlepage.recto.auto.mode">
273 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
274 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
278 <xsl:template match=
"authorgroup" mode=
"set.titlepage.recto.auto.mode">
279 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
280 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
284 <xsl:template match=
"author" mode=
"set.titlepage.recto.auto.mode">
285 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
286 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
290 <xsl:template match=
"othercredit" mode=
"set.titlepage.recto.auto.mode">
291 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
292 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
296 <xsl:template match=
"releaseinfo" mode=
"set.titlepage.recto.auto.mode">
297 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
298 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
302 <xsl:template match=
"copyright" mode=
"set.titlepage.recto.auto.mode">
303 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
304 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
308 <xsl:template match=
"legalnotice" mode=
"set.titlepage.recto.auto.mode">
309 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
310 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
314 <xsl:template match=
"pubdate" mode=
"set.titlepage.recto.auto.mode">
315 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
316 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
320 <xsl:template match=
"revision" mode=
"set.titlepage.recto.auto.mode">
321 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
322 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
326 <xsl:template match=
"revhistory" mode=
"set.titlepage.recto.auto.mode">
327 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
328 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
332 <xsl:template match=
"abstract" mode=
"set.titlepage.recto.auto.mode">
333 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"set.titlepage.recto.style">
334 <xsl:apply-templates select=
"." mode=
"set.titlepage.recto.mode"/>
338 <xsl:param name=
"scons.inner.twidtha">
340 <xsl:when test=
"$paper.type = 'A4'">200mm
</xsl:when>
341 <xsl:otherwise>205.9mm
</xsl:otherwise> <!-- 8.5in-10mm -->
344 <xsl:param name=
"scons.inner.twidthb">
346 <xsl:when test=
"$paper.type = 'A4'">190mm
</xsl:when>
347 <xsl:otherwise>195.9mm
</xsl:otherwise> <!-- 8.5in-20mm -->
350 <xsl:param name=
"scons.inner.twidthc">
352 <xsl:when test=
"$paper.type = 'A4'">180mm
</xsl:when>
353 <xsl:otherwise>185.9mm
</xsl:otherwise> <!-- 8.5in-30mm -->
357 <xsl:template name=
"book.titlepage.recto">
359 <fo:block-container height=
"3mm">
360 <fo:block></fo:block>
361 </fo:block-container>
363 <fo:table table-layout=
"fixed" width=
"100%" padding=
"0pt" border-width=
"0pt" border-style=
"none">
365 <fo:table-column column-width=
"10mm"/>
366 <fo:table-column column-width=
"{$scons.inner.twidtha}"/>
368 <fo:table-row text-align=
"center">
370 <fo:block></fo:block>
372 <fo:table-cell text-align=
"center">
373 <fo:block line-height=
"0">
375 src=
"url(titlepage/SConsBuildBricks_path.svg)"
376 width=
"{$scons.inner.twidtha}" content-width=
"scale-to-fit"
378 </fo:block></fo:table-cell>
385 <fo:block-container height=
"4cm">
386 <fo:block></fo:block>
387 </fo:block-container>
390 <fo:table table-layout=
"fixed" width=
"100%" border-width=
"0pt" border-style=
"none">
392 <fo:table-column column-width=
"10mm"/>
393 <fo:table-column column-width=
"{$scons.inner.twidthc}"/>
394 <fo:table-column column-width=
"20mm"/>
397 <fo:table-row text-align=
"center">
399 <fo:block></fo:block>
401 <fo:table-cell text-align=
"left" display-align=
"after">
403 <xsl:when test=
"bookinfo/title">
404 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"bookinfo/title"/>
406 <xsl:when test=
"info/title">
407 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"info/title"/>
409 <xsl:when test=
"title">
410 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"title"/>
413 <fo:block><fo:inline> </fo:inline></fo:block>
418 <fo:block></fo:block>
426 <fo:block-container height="6mm">
427 <fo:block></fo:block>
428 </fo:block-container>
432 <xsl:when test=
"bookinfo/edition">
434 <fo:table table-layout=
"fixed" width=
"100%" border-width=
"0pt" border-style=
"none">
436 <fo:table-column column-width=
"10mm"/>
437 <fo:table-column column-width=
"{$scons.inner.twidthc}"/>
438 <fo:table-column column-width=
"20mm"/>
441 <fo:table-row text-align=
"center">
443 <fo:block></fo:block>
445 <fo:table-cell text-align=
"left" display-align=
"after">
446 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"bookinfo/edition"/>
449 <fo:block></fo:block>
456 <fo:block-container height=
"9mm">
457 <fo:block></fo:block>
458 </fo:block-container>
461 <fo:block-container height=
"6mm">
462 <fo:block></fo:block>
463 </fo:block-container>
469 <fo:table table-layout=
"fixed" width=
"100%" border-width=
"0pt" border-style=
"none">
471 <fo:table-column column-width=
"10mm"/>
472 <fo:table-column column-width=
"{$scons.inner.twidthc}"/>
473 <fo:table-column column-width=
"20mm"/>
476 <fo:table-row text-align=
"center">
478 <fo:block></fo:block>
480 <fo:table-cell text-align=
"left" display-align=
"after">
482 <xsl:when test=
"bookinfo/subtitle">
483 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"bookinfo/subtitle"/>
485 <xsl:when test=
"info/subtitle">
486 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"info/subtitle"/>
488 <xsl:when test=
"subtitle">
489 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"subtitle"/>
492 <fo:block><fo:inline> </fo:inline></fo:block>
497 <fo:block></fo:block>
506 <xsl:when test=
"bookinfo/corpauthor">
507 <fo:block-container height=
"15mm">
508 <fo:block></fo:block>
509 </fo:block-container>
511 <fo:table table-layout=
"fixed" width=
"100%" border-width=
"0pt" border-style=
"none">
513 <fo:table-column column-width=
"10mm"/>
514 <fo:table-column column-width=
"{$scons.inner.twidthc}"/>
515 <fo:table-column column-width=
"20mm"/>
518 <fo:table-row text-align=
"center">
520 <fo:block></fo:block>
522 <fo:table-cell text-align=
"left" display-align=
"after">
523 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"bookinfo/corpauthor"/>
526 <fo:block></fo:block>
537 <fo:block-container height=
"9mm">
538 <fo:block></fo:block>
539 </fo:block-container>
541 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"bookinfo/mediaobject"/>
542 <xsl:apply-templates mode=
"book.titlepage.recto.auto.mode" select=
"info/mediaobject"/>
545 <xsl:template name=
"book.titlepage.verso">
546 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"bookinfo/releaseinfo"/>
547 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"info/releaseinfo"/>
548 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"bookinfo/copyright"/>
549 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"info/copyright"/>
550 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"bookinfo/pubdate"/>
551 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"info/pubdate"/>
552 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"bookinfo/revision"/>
553 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"info/revision"/>
554 <xsl:apply-templates mode=
"book.titlepage.verso.auto.mode" select=
"bookinfo/legalnotice"/>
557 <xsl:template name=
"book.titlepage.separator">
560 <xsl:template name=
"book.titlepage.before.recto">
563 <xsl:template name=
"book.titlepage.before.verso"><fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" break-after=
"page"/>
566 <xsl:template name=
"book.titlepage">
567 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
568 <xsl:variable name=
"recto.content">
569 <xsl:call-template name=
"book.titlepage.before.recto"/>
570 <xsl:call-template name=
"book.titlepage.recto"/>
572 <xsl:variable name=
"recto.elements.count">
574 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
575 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
576 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
577 <xsl:otherwise>1</xsl:otherwise>
580 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
581 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
583 <xsl:variable name=
"verso.content">
584 <xsl:call-template name=
"book.titlepage.before.verso"/>
585 <xsl:call-template name=
"book.titlepage.verso"/>
587 <xsl:variable name=
"verso.elements.count">
589 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
590 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
591 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
592 <xsl:otherwise>1</xsl:otherwise>
595 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
596 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
598 <xsl:call-template name=
"book.titlepage.separator"/>
602 <xsl:template match=
"*" mode=
"book.titlepage.recto.mode">
603 <!-- if an element isn't found in this mode, -->
604 <!-- try the generic titlepage.mode -->
605 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
608 <xsl:template match=
"*" mode=
"book.titlepage.verso.mode">
609 <!-- if an element isn't found in this mode, -->
610 <!-- try the generic titlepage.mode -->
611 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
615 <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
616 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24pt" space-before="18pt" font-weight="bold" font-family="'serif'">
617 <xsl:call-template name="division.title">
618 <xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
623 <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
624 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="left" font-size="20pt" space-before="15pt" font-family="{$title.fontset}">
625 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
629 <xsl:template match=
"corpauthor" mode=
"book.titlepage.recto.auto.mode">
630 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" text-align=
"left" font-size=
"20pt" space-before=
"0pt" font-family=
"{$title.fontset}">
631 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
635 <xsl:template match=
"mediaobject" mode=
"book.titlepage.recto.auto.mode">
636 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style">
637 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
641 <xsl:template match=
"releaseinfo" mode=
"book.titlepage.verso.auto.mode">
642 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.verso.style">
643 <xsl:apply-templates select=
"." mode=
"book.titlepage.verso.mode"/>
647 <xsl:template match=
"copyright" mode=
"book.titlepage.verso.auto.mode">
648 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.verso.style">
649 <xsl:apply-templates select=
"." mode=
"book.titlepage.verso.mode"/>
653 <xsl:template match=
"pubdate" mode=
"book.titlepage.verso.auto.mode">
654 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.verso.style">
655 <xsl:apply-templates select=
"." mode=
"book.titlepage.verso.mode"/>
659 <xsl:template match=
"revision" mode=
"book.titlepage.verso.auto.mode">
660 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.verso.style">
661 <xsl:apply-templates select=
"." mode=
"book.titlepage.verso.mode"/>
665 <xsl:template name=
"part.titlepage.recto">
667 <xsl:when test=
"partinfo/title">
668 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"partinfo/title"/>
670 <xsl:when test=
"docinfo/title">
671 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"docinfo/title"/>
673 <xsl:when test=
"info/title">
674 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"info/title"/>
676 <xsl:when test=
"title">
677 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"title"/>
682 <xsl:when test=
"partinfo/subtitle">
683 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"partinfo/subtitle"/>
685 <xsl:when test=
"docinfo/subtitle">
686 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
688 <xsl:when test=
"info/subtitle">
689 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"info/subtitle"/>
691 <xsl:when test=
"subtitle">
692 <xsl:apply-templates mode=
"part.titlepage.recto.auto.mode" select=
"subtitle"/>
698 <xsl:template name=
"part.titlepage.verso">
701 <xsl:template name=
"part.titlepage.separator">
704 <xsl:template name=
"part.titlepage.before.recto">
707 <xsl:template name=
"part.titlepage.before.verso">
710 <xsl:template name=
"part.titlepage">
711 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
712 <xsl:variable name=
"recto.content">
713 <xsl:call-template name=
"part.titlepage.before.recto"/>
714 <xsl:call-template name=
"part.titlepage.recto"/>
716 <xsl:variable name=
"recto.elements.count">
718 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
719 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
720 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
721 <xsl:otherwise>1</xsl:otherwise>
724 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
725 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
727 <xsl:variable name=
"verso.content">
728 <xsl:call-template name=
"part.titlepage.before.verso"/>
729 <xsl:call-template name=
"part.titlepage.verso"/>
731 <xsl:variable name=
"verso.elements.count">
733 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
734 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
735 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
736 <xsl:otherwise>1</xsl:otherwise>
739 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
740 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
742 <xsl:call-template name=
"part.titlepage.separator"/>
746 <xsl:template match=
"*" mode=
"part.titlepage.recto.mode">
747 <!-- if an element isn't found in this mode, -->
748 <!-- try the generic titlepage.mode -->
749 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
752 <xsl:template match=
"*" mode=
"part.titlepage.verso.mode">
753 <!-- if an element isn't found in this mode, -->
754 <!-- try the generic titlepage.mode -->
755 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
758 <xsl:template match=
"title" mode=
"part.titlepage.recto.auto.mode">
759 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"part.titlepage.recto.style" text-align=
"center" font-size=
"24.8832pt" space-before=
"18.6624pt" font-weight=
"bold" font-family=
"{$title.fontset}">
760 <xsl:call-template name=
"division.title">
761 <xsl:with-param name=
"node" select=
"ancestor-or-self::part[1]"/>
766 <xsl:template match=
"subtitle" mode=
"part.titlepage.recto.auto.mode">
767 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"part.titlepage.recto.style" text-align=
"center" font-size=
"20.736pt" space-before=
"15.552pt" font-weight=
"bold" font-style=
"italic" font-family=
"{$title.fontset}">
768 <xsl:apply-templates select=
"." mode=
"part.titlepage.recto.mode"/>
772 <xsl:template name=
"partintro.titlepage.recto">
774 <xsl:when test=
"partintroinfo/title">
775 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/title"/>
777 <xsl:when test=
"docinfo/title">
778 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/title"/>
780 <xsl:when test=
"info/title">
781 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/title"/>
783 <xsl:when test=
"title">
784 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"title"/>
789 <xsl:when test=
"partintroinfo/subtitle">
790 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/subtitle"/>
792 <xsl:when test=
"docinfo/subtitle">
793 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
795 <xsl:when test=
"info/subtitle">
796 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/subtitle"/>
798 <xsl:when test=
"subtitle">
799 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"subtitle"/>
803 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/corpauthor"/>
804 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/corpauthor"/>
805 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
806 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/authorgroup"/>
807 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/authorgroup"/>
808 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
809 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/author"/>
810 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/author"/>
811 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/author"/>
812 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/othercredit"/>
813 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/othercredit"/>
814 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/othercredit"/>
815 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/releaseinfo"/>
816 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/releaseinfo"/>
817 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
818 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/copyright"/>
819 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/copyright"/>
820 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/copyright"/>
821 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/legalnotice"/>
822 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/legalnotice"/>
823 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
824 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/pubdate"/>
825 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/pubdate"/>
826 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/pubdate"/>
827 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/revision"/>
828 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/revision"/>
829 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/revision"/>
830 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/revhistory"/>
831 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/revhistory"/>
832 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/revhistory"/>
833 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"partintroinfo/abstract"/>
834 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"docinfo/abstract"/>
835 <xsl:apply-templates mode=
"partintro.titlepage.recto.auto.mode" select=
"info/abstract"/>
838 <xsl:template name=
"partintro.titlepage.verso">
841 <xsl:template name=
"partintro.titlepage.separator">
844 <xsl:template name=
"partintro.titlepage.before.recto">
847 <xsl:template name=
"partintro.titlepage.before.verso">
850 <xsl:template name=
"partintro.titlepage">
851 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
852 <xsl:variable name=
"recto.content">
853 <xsl:call-template name=
"partintro.titlepage.before.recto"/>
854 <xsl:call-template name=
"partintro.titlepage.recto"/>
856 <xsl:variable name=
"recto.elements.count">
858 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
859 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
860 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
861 <xsl:otherwise>1</xsl:otherwise>
864 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
865 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
867 <xsl:variable name=
"verso.content">
868 <xsl:call-template name=
"partintro.titlepage.before.verso"/>
869 <xsl:call-template name=
"partintro.titlepage.verso"/>
871 <xsl:variable name=
"verso.elements.count">
873 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
874 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
875 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
876 <xsl:otherwise>1</xsl:otherwise>
879 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
880 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
882 <xsl:call-template name=
"partintro.titlepage.separator"/>
886 <xsl:template match=
"*" mode=
"partintro.titlepage.recto.mode">
887 <!-- if an element isn't found in this mode, -->
888 <!-- try the generic titlepage.mode -->
889 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
892 <xsl:template match=
"*" mode=
"partintro.titlepage.verso.mode">
893 <!-- if an element isn't found in this mode, -->
894 <!-- try the generic titlepage.mode -->
895 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
898 <xsl:template match=
"title" mode=
"partintro.titlepage.recto.auto.mode">
899 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style" text-align=
"center" font-size=
"24.8832pt" font-weight=
"bold" space-before=
"1em" font-family=
"{$title.fontset}">
900 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
904 <xsl:template match=
"subtitle" mode=
"partintro.titlepage.recto.auto.mode">
905 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style" text-align=
"center" font-size=
"14.4pt" font-weight=
"bold" font-style=
"italic" font-family=
"{$title.fontset}">
906 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
910 <xsl:template match=
"corpauthor" mode=
"partintro.titlepage.recto.auto.mode">
911 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
912 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
916 <xsl:template match=
"authorgroup" mode=
"partintro.titlepage.recto.auto.mode">
917 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
918 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
922 <xsl:template match=
"author" mode=
"partintro.titlepage.recto.auto.mode">
923 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
924 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
928 <xsl:template match=
"othercredit" mode=
"partintro.titlepage.recto.auto.mode">
929 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
930 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
934 <xsl:template match=
"releaseinfo" mode=
"partintro.titlepage.recto.auto.mode">
935 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
936 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
940 <xsl:template match=
"copyright" mode=
"partintro.titlepage.recto.auto.mode">
941 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
942 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
946 <xsl:template match=
"legalnotice" mode=
"partintro.titlepage.recto.auto.mode">
947 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
948 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
952 <xsl:template match=
"pubdate" mode=
"partintro.titlepage.recto.auto.mode">
953 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
954 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
958 <xsl:template match=
"revision" mode=
"partintro.titlepage.recto.auto.mode">
959 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
960 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
964 <xsl:template match=
"revhistory" mode=
"partintro.titlepage.recto.auto.mode">
965 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
966 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
970 <xsl:template match=
"abstract" mode=
"partintro.titlepage.recto.auto.mode">
971 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"partintro.titlepage.recto.style">
972 <xsl:apply-templates select=
"." mode=
"partintro.titlepage.recto.mode"/>
976 <xsl:template name=
"reference.titlepage.recto">
978 <xsl:when test=
"referenceinfo/title">
979 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/title"/>
981 <xsl:when test=
"docinfo/title">
982 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/title"/>
984 <xsl:when test=
"info/title">
985 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/title"/>
987 <xsl:when test=
"title">
988 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"title"/>
993 <xsl:when test=
"referenceinfo/subtitle">
994 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/subtitle"/>
996 <xsl:when test=
"docinfo/subtitle">
997 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
999 <xsl:when test=
"info/subtitle">
1000 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/subtitle"/>
1002 <xsl:when test=
"subtitle">
1003 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"subtitle"/>
1007 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/corpauthor"/>
1008 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/corpauthor"/>
1009 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
1010 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/authorgroup"/>
1011 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/authorgroup"/>
1012 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
1013 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/author"/>
1014 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/author"/>
1015 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/author"/>
1016 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/othercredit"/>
1017 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/othercredit"/>
1018 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/othercredit"/>
1019 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/releaseinfo"/>
1020 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/releaseinfo"/>
1021 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
1022 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/copyright"/>
1023 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/copyright"/>
1024 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/copyright"/>
1025 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/legalnotice"/>
1026 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/legalnotice"/>
1027 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
1028 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/pubdate"/>
1029 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/pubdate"/>
1030 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/pubdate"/>
1031 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/revision"/>
1032 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/revision"/>
1033 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/revision"/>
1034 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/revhistory"/>
1035 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/revhistory"/>
1036 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/revhistory"/>
1037 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"referenceinfo/abstract"/>
1038 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"docinfo/abstract"/>
1039 <xsl:apply-templates mode=
"reference.titlepage.recto.auto.mode" select=
"info/abstract"/>
1042 <xsl:template name=
"reference.titlepage.verso">
1045 <xsl:template name=
"reference.titlepage.separator">
1048 <xsl:template name=
"reference.titlepage.before.recto">
1051 <xsl:template name=
"reference.titlepage.before.verso">
1054 <xsl:template name=
"reference.titlepage">
1055 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1056 <xsl:variable name=
"recto.content">
1057 <xsl:call-template name=
"reference.titlepage.before.recto"/>
1058 <xsl:call-template name=
"reference.titlepage.recto"/>
1060 <xsl:variable name=
"recto.elements.count">
1062 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1063 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1064 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1065 <xsl:otherwise>1</xsl:otherwise>
1068 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1069 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1071 <xsl:variable name=
"verso.content">
1072 <xsl:call-template name=
"reference.titlepage.before.verso"/>
1073 <xsl:call-template name=
"reference.titlepage.verso"/>
1075 <xsl:variable name=
"verso.elements.count">
1077 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1078 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1079 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1080 <xsl:otherwise>1</xsl:otherwise>
1083 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1084 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1086 <xsl:call-template name=
"reference.titlepage.separator"/>
1090 <xsl:template match=
"*" mode=
"reference.titlepage.recto.mode">
1091 <!-- if an element isn't found in this mode, -->
1092 <!-- try the generic titlepage.mode -->
1093 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1096 <xsl:template match=
"*" mode=
"reference.titlepage.verso.mode">
1097 <!-- if an element isn't found in this mode, -->
1098 <!-- try the generic titlepage.mode -->
1099 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1102 <xsl:template match=
"title" mode=
"reference.titlepage.recto.auto.mode">
1103 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style" text-align=
"center" font-size=
"24.8832pt" space-before=
"18.6624pt" font-weight=
"bold" font-family=
"{$title.fontset}">
1104 <xsl:call-template name=
"division.title">
1105 <xsl:with-param name=
"node" select=
"ancestor-or-self::reference[1]"/>
1106 </xsl:call-template>
1110 <xsl:template match=
"subtitle" mode=
"reference.titlepage.recto.auto.mode">
1111 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style" font-family=
"{$title.fontset}" text-align=
"center">
1112 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1116 <xsl:template match=
"corpauthor" mode=
"reference.titlepage.recto.auto.mode">
1117 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1118 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1122 <xsl:template match=
"authorgroup" mode=
"reference.titlepage.recto.auto.mode">
1123 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1124 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1128 <xsl:template match=
"author" mode=
"reference.titlepage.recto.auto.mode">
1129 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1130 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1134 <xsl:template match=
"othercredit" mode=
"reference.titlepage.recto.auto.mode">
1135 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1136 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1140 <xsl:template match=
"releaseinfo" mode=
"reference.titlepage.recto.auto.mode">
1141 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1142 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1146 <xsl:template match=
"copyright" mode=
"reference.titlepage.recto.auto.mode">
1147 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1148 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1152 <xsl:template match=
"legalnotice" mode=
"reference.titlepage.recto.auto.mode">
1153 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1154 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1158 <xsl:template match=
"pubdate" mode=
"reference.titlepage.recto.auto.mode">
1159 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1160 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1164 <xsl:template match=
"revision" mode=
"reference.titlepage.recto.auto.mode">
1165 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1166 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1170 <xsl:template match=
"revhistory" mode=
"reference.titlepage.recto.auto.mode">
1171 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1172 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1176 <xsl:template match=
"abstract" mode=
"reference.titlepage.recto.auto.mode">
1177 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"reference.titlepage.recto.style">
1178 <xsl:apply-templates select=
"." mode=
"reference.titlepage.recto.mode"/>
1182 <xsl:template name=
"refsynopsisdiv.titlepage.recto">
1184 <xsl:when test=
"refsynopsisdivinfo/title">
1185 <xsl:apply-templates mode=
"refsynopsisdiv.titlepage.recto.auto.mode" select=
"refsynopsisdivinfo/title"/>
1187 <xsl:when test=
"docinfo/title">
1188 <xsl:apply-templates mode=
"refsynopsisdiv.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1190 <xsl:when test=
"info/title">
1191 <xsl:apply-templates mode=
"refsynopsisdiv.titlepage.recto.auto.mode" select=
"info/title"/>
1193 <xsl:when test=
"title">
1194 <xsl:apply-templates mode=
"refsynopsisdiv.titlepage.recto.auto.mode" select=
"title"/>
1200 <xsl:template name=
"refsynopsisdiv.titlepage.verso">
1203 <xsl:template name=
"refsynopsisdiv.titlepage.separator">
1206 <xsl:template name=
"refsynopsisdiv.titlepage.before.recto">
1209 <xsl:template name=
"refsynopsisdiv.titlepage.before.verso">
1212 <xsl:template name=
"refsynopsisdiv.titlepage">
1213 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1214 <xsl:variable name=
"recto.content">
1215 <xsl:call-template name=
"refsynopsisdiv.titlepage.before.recto"/>
1216 <xsl:call-template name=
"refsynopsisdiv.titlepage.recto"/>
1218 <xsl:variable name=
"recto.elements.count">
1220 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1221 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1222 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1223 <xsl:otherwise>1</xsl:otherwise>
1226 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1227 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1229 <xsl:variable name=
"verso.content">
1230 <xsl:call-template name=
"refsynopsisdiv.titlepage.before.verso"/>
1231 <xsl:call-template name=
"refsynopsisdiv.titlepage.verso"/>
1233 <xsl:variable name=
"verso.elements.count">
1235 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1236 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1237 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1238 <xsl:otherwise>1</xsl:otherwise>
1241 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1242 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1244 <xsl:call-template name=
"refsynopsisdiv.titlepage.separator"/>
1248 <xsl:template match=
"*" mode=
"refsynopsisdiv.titlepage.recto.mode">
1249 <!-- if an element isn't found in this mode, -->
1250 <!-- try the generic titlepage.mode -->
1251 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1254 <xsl:template match=
"*" mode=
"refsynopsisdiv.titlepage.verso.mode">
1255 <!-- if an element isn't found in this mode, -->
1256 <!-- try the generic titlepage.mode -->
1257 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1260 <xsl:template match=
"title" mode=
"refsynopsisdiv.titlepage.recto.auto.mode">
1261 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"refsynopsisdiv.titlepage.recto.style" font-family=
"{$title.fontset}">
1262 <xsl:apply-templates select=
"." mode=
"refsynopsisdiv.titlepage.recto.mode"/>
1266 <xsl:template name=
"refsection.titlepage.recto">
1268 <xsl:when test=
"refsectioninfo/title">
1269 <xsl:apply-templates mode=
"refsection.titlepage.recto.auto.mode" select=
"refsectioninfo/title"/>
1271 <xsl:when test=
"docinfo/title">
1272 <xsl:apply-templates mode=
"refsection.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1274 <xsl:when test=
"info/title">
1275 <xsl:apply-templates mode=
"refsection.titlepage.recto.auto.mode" select=
"info/title"/>
1277 <xsl:when test=
"title">
1278 <xsl:apply-templates mode=
"refsection.titlepage.recto.auto.mode" select=
"title"/>
1284 <xsl:template name=
"refsection.titlepage.verso">
1287 <xsl:template name=
"refsection.titlepage.separator">
1290 <xsl:template name=
"refsection.titlepage.before.recto">
1293 <xsl:template name=
"refsection.titlepage.before.verso">
1296 <xsl:template name=
"refsection.titlepage">
1297 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1298 <xsl:variable name=
"recto.content">
1299 <xsl:call-template name=
"refsection.titlepage.before.recto"/>
1300 <xsl:call-template name=
"refsection.titlepage.recto"/>
1302 <xsl:variable name=
"recto.elements.count">
1304 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1305 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1306 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1307 <xsl:otherwise>1</xsl:otherwise>
1310 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1311 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1313 <xsl:variable name=
"verso.content">
1314 <xsl:call-template name=
"refsection.titlepage.before.verso"/>
1315 <xsl:call-template name=
"refsection.titlepage.verso"/>
1317 <xsl:variable name=
"verso.elements.count">
1319 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1320 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1321 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1322 <xsl:otherwise>1</xsl:otherwise>
1325 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1326 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1328 <xsl:call-template name=
"refsection.titlepage.separator"/>
1332 <xsl:template match=
"*" mode=
"refsection.titlepage.recto.mode">
1333 <!-- if an element isn't found in this mode, -->
1334 <!-- try the generic titlepage.mode -->
1335 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1338 <xsl:template match=
"*" mode=
"refsection.titlepage.verso.mode">
1339 <!-- if an element isn't found in this mode, -->
1340 <!-- try the generic titlepage.mode -->
1341 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1344 <xsl:template match=
"title" mode=
"refsection.titlepage.recto.auto.mode">
1345 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"refsection.titlepage.recto.style" font-family=
"{$title.fontset}">
1346 <xsl:apply-templates select=
"." mode=
"refsection.titlepage.recto.mode"/>
1350 <xsl:template name=
"refsect1.titlepage.recto">
1352 <xsl:when test=
"refsect1info/title">
1353 <xsl:apply-templates mode=
"refsect1.titlepage.recto.auto.mode" select=
"refsect1info/title"/>
1355 <xsl:when test=
"docinfo/title">
1356 <xsl:apply-templates mode=
"refsect1.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1358 <xsl:when test=
"info/title">
1359 <xsl:apply-templates mode=
"refsect1.titlepage.recto.auto.mode" select=
"info/title"/>
1361 <xsl:when test=
"title">
1362 <xsl:apply-templates mode=
"refsect1.titlepage.recto.auto.mode" select=
"title"/>
1368 <xsl:template name=
"refsect1.titlepage.verso">
1371 <xsl:template name=
"refsect1.titlepage.separator">
1374 <xsl:template name=
"refsect1.titlepage.before.recto">
1377 <xsl:template name=
"refsect1.titlepage.before.verso">
1380 <xsl:template name=
"refsect1.titlepage">
1381 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1382 <xsl:variable name=
"recto.content">
1383 <xsl:call-template name=
"refsect1.titlepage.before.recto"/>
1384 <xsl:call-template name=
"refsect1.titlepage.recto"/>
1386 <xsl:variable name=
"recto.elements.count">
1388 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1389 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1390 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1391 <xsl:otherwise>1</xsl:otherwise>
1394 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1395 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1397 <xsl:variable name=
"verso.content">
1398 <xsl:call-template name=
"refsect1.titlepage.before.verso"/>
1399 <xsl:call-template name=
"refsect1.titlepage.verso"/>
1401 <xsl:variable name=
"verso.elements.count">
1403 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1404 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1405 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1406 <xsl:otherwise>1</xsl:otherwise>
1409 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1410 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1412 <xsl:call-template name=
"refsect1.titlepage.separator"/>
1416 <xsl:template match=
"*" mode=
"refsect1.titlepage.recto.mode">
1417 <!-- if an element isn't found in this mode, -->
1418 <!-- try the generic titlepage.mode -->
1419 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1422 <xsl:template match=
"*" mode=
"refsect1.titlepage.verso.mode">
1423 <!-- if an element isn't found in this mode, -->
1424 <!-- try the generic titlepage.mode -->
1425 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1428 <xsl:template match=
"title" mode=
"refsect1.titlepage.recto.auto.mode">
1429 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"refsect1.titlepage.recto.style" font-family=
"{$title.fontset}">
1430 <xsl:apply-templates select=
"." mode=
"refsect1.titlepage.recto.mode"/>
1434 <xsl:template name=
"refsect2.titlepage.recto">
1436 <xsl:when test=
"refsect2info/title">
1437 <xsl:apply-templates mode=
"refsect2.titlepage.recto.auto.mode" select=
"refsect2info/title"/>
1439 <xsl:when test=
"docinfo/title">
1440 <xsl:apply-templates mode=
"refsect2.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1442 <xsl:when test=
"info/title">
1443 <xsl:apply-templates mode=
"refsect2.titlepage.recto.auto.mode" select=
"info/title"/>
1445 <xsl:when test=
"title">
1446 <xsl:apply-templates mode=
"refsect2.titlepage.recto.auto.mode" select=
"title"/>
1452 <xsl:template name=
"refsect2.titlepage.verso">
1455 <xsl:template name=
"refsect2.titlepage.separator">
1458 <xsl:template name=
"refsect2.titlepage.before.recto">
1461 <xsl:template name=
"refsect2.titlepage.before.verso">
1464 <xsl:template name=
"refsect2.titlepage">
1465 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1466 <xsl:variable name=
"recto.content">
1467 <xsl:call-template name=
"refsect2.titlepage.before.recto"/>
1468 <xsl:call-template name=
"refsect2.titlepage.recto"/>
1470 <xsl:variable name=
"recto.elements.count">
1472 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1473 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1474 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1475 <xsl:otherwise>1</xsl:otherwise>
1478 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1479 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1481 <xsl:variable name=
"verso.content">
1482 <xsl:call-template name=
"refsect2.titlepage.before.verso"/>
1483 <xsl:call-template name=
"refsect2.titlepage.verso"/>
1485 <xsl:variable name=
"verso.elements.count">
1487 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1488 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1489 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1490 <xsl:otherwise>1</xsl:otherwise>
1493 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1494 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1496 <xsl:call-template name=
"refsect2.titlepage.separator"/>
1500 <xsl:template match=
"*" mode=
"refsect2.titlepage.recto.mode">
1501 <!-- if an element isn't found in this mode, -->
1502 <!-- try the generic titlepage.mode -->
1503 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1506 <xsl:template match=
"*" mode=
"refsect2.titlepage.verso.mode">
1507 <!-- if an element isn't found in this mode, -->
1508 <!-- try the generic titlepage.mode -->
1509 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1512 <xsl:template match=
"title" mode=
"refsect2.titlepage.recto.auto.mode">
1513 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"refsect2.titlepage.recto.style" font-family=
"{$title.fontset}">
1514 <xsl:apply-templates select=
"." mode=
"refsect2.titlepage.recto.mode"/>
1518 <xsl:template name=
"refsect3.titlepage.recto">
1520 <xsl:when test=
"refsect3info/title">
1521 <xsl:apply-templates mode=
"refsect3.titlepage.recto.auto.mode" select=
"refsect3info/title"/>
1523 <xsl:when test=
"docinfo/title">
1524 <xsl:apply-templates mode=
"refsect3.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1526 <xsl:when test=
"info/title">
1527 <xsl:apply-templates mode=
"refsect3.titlepage.recto.auto.mode" select=
"info/title"/>
1529 <xsl:when test=
"title">
1530 <xsl:apply-templates mode=
"refsect3.titlepage.recto.auto.mode" select=
"title"/>
1536 <xsl:template name=
"refsect3.titlepage.verso">
1539 <xsl:template name=
"refsect3.titlepage.separator">
1542 <xsl:template name=
"refsect3.titlepage.before.recto">
1545 <xsl:template name=
"refsect3.titlepage.before.verso">
1548 <xsl:template name=
"refsect3.titlepage">
1549 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1550 <xsl:variable name=
"recto.content">
1551 <xsl:call-template name=
"refsect3.titlepage.before.recto"/>
1552 <xsl:call-template name=
"refsect3.titlepage.recto"/>
1554 <xsl:variable name=
"recto.elements.count">
1556 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1557 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1558 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1559 <xsl:otherwise>1</xsl:otherwise>
1562 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1563 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1565 <xsl:variable name=
"verso.content">
1566 <xsl:call-template name=
"refsect3.titlepage.before.verso"/>
1567 <xsl:call-template name=
"refsect3.titlepage.verso"/>
1569 <xsl:variable name=
"verso.elements.count">
1571 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1572 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1573 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1574 <xsl:otherwise>1</xsl:otherwise>
1577 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1578 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1580 <xsl:call-template name=
"refsect3.titlepage.separator"/>
1584 <xsl:template match=
"*" mode=
"refsect3.titlepage.recto.mode">
1585 <!-- if an element isn't found in this mode, -->
1586 <!-- try the generic titlepage.mode -->
1587 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1590 <xsl:template match=
"*" mode=
"refsect3.titlepage.verso.mode">
1591 <!-- if an element isn't found in this mode, -->
1592 <!-- try the generic titlepage.mode -->
1593 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1596 <xsl:template match=
"title" mode=
"refsect3.titlepage.recto.auto.mode">
1597 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"refsect3.titlepage.recto.style" font-family=
"{$title.fontset}">
1598 <xsl:apply-templates select=
"." mode=
"refsect3.titlepage.recto.mode"/>
1602 <xsl:template name=
"dedication.titlepage.recto">
1603 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"dedication.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
1604 <xsl:call-template name=
"component.title">
1605 <xsl:with-param name=
"node" select=
"ancestor-or-self::dedication[1]"/>
1606 </xsl:call-template></fo:block>
1608 <xsl:when test=
"dedicationinfo/subtitle">
1609 <xsl:apply-templates mode=
"dedication.titlepage.recto.auto.mode" select=
"dedicationinfo/subtitle"/>
1611 <xsl:when test=
"docinfo/subtitle">
1612 <xsl:apply-templates mode=
"dedication.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
1614 <xsl:when test=
"info/subtitle">
1615 <xsl:apply-templates mode=
"dedication.titlepage.recto.auto.mode" select=
"info/subtitle"/>
1617 <xsl:when test=
"subtitle">
1618 <xsl:apply-templates mode=
"dedication.titlepage.recto.auto.mode" select=
"subtitle"/>
1624 <xsl:template name=
"dedication.titlepage.verso">
1627 <xsl:template name=
"dedication.titlepage.separator">
1630 <xsl:template name=
"dedication.titlepage.before.recto">
1633 <xsl:template name=
"dedication.titlepage.before.verso">
1636 <xsl:template name=
"dedication.titlepage">
1637 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1638 <xsl:variable name=
"recto.content">
1639 <xsl:call-template name=
"dedication.titlepage.before.recto"/>
1640 <xsl:call-template name=
"dedication.titlepage.recto"/>
1642 <xsl:variable name=
"recto.elements.count">
1644 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1645 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1646 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1647 <xsl:otherwise>1</xsl:otherwise>
1650 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1651 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1653 <xsl:variable name=
"verso.content">
1654 <xsl:call-template name=
"dedication.titlepage.before.verso"/>
1655 <xsl:call-template name=
"dedication.titlepage.verso"/>
1657 <xsl:variable name=
"verso.elements.count">
1659 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1660 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1661 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1662 <xsl:otherwise>1</xsl:otherwise>
1665 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1666 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1668 <xsl:call-template name=
"dedication.titlepage.separator"/>
1672 <xsl:template match=
"*" mode=
"dedication.titlepage.recto.mode">
1673 <!-- if an element isn't found in this mode, -->
1674 <!-- try the generic titlepage.mode -->
1675 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1678 <xsl:template match=
"*" mode=
"dedication.titlepage.verso.mode">
1679 <!-- if an element isn't found in this mode, -->
1680 <!-- try the generic titlepage.mode -->
1681 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1684 <xsl:template match=
"subtitle" mode=
"dedication.titlepage.recto.auto.mode">
1685 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"dedication.titlepage.recto.style" font-family=
"{$title.fontset}">
1686 <xsl:apply-templates select=
"." mode=
"dedication.titlepage.recto.mode"/>
1690 <xsl:template name=
"preface.titlepage.recto">
1691 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
1692 <xsl:call-template name=
"component.title">
1693 <xsl:with-param name=
"node" select=
"ancestor-or-self::preface[1]"/>
1694 </xsl:call-template></fo:block>
1696 <xsl:when test=
"prefaceinfo/subtitle">
1697 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/subtitle"/>
1699 <xsl:when test=
"docinfo/subtitle">
1700 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
1702 <xsl:when test=
"info/subtitle">
1703 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/subtitle"/>
1705 <xsl:when test=
"subtitle">
1706 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"subtitle"/>
1710 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/corpauthor"/>
1711 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/corpauthor"/>
1712 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
1713 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/authorgroup"/>
1714 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/authorgroup"/>
1715 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
1716 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/author"/>
1717 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/author"/>
1718 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/author"/>
1719 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/othercredit"/>
1720 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/othercredit"/>
1721 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/othercredit"/>
1722 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/releaseinfo"/>
1723 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/releaseinfo"/>
1724 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
1725 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/copyright"/>
1726 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/copyright"/>
1727 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/copyright"/>
1728 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/legalnotice"/>
1729 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/legalnotice"/>
1730 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
1731 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/pubdate"/>
1732 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/pubdate"/>
1733 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/pubdate"/>
1734 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/revision"/>
1735 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/revision"/>
1736 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/revision"/>
1737 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/revhistory"/>
1738 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/revhistory"/>
1739 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/revhistory"/>
1740 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"prefaceinfo/abstract"/>
1741 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"docinfo/abstract"/>
1742 <xsl:apply-templates mode=
"preface.titlepage.recto.auto.mode" select=
"info/abstract"/>
1745 <xsl:template name=
"preface.titlepage.verso">
1748 <xsl:template name=
"preface.titlepage.separator">
1751 <xsl:template name=
"preface.titlepage.before.recto">
1754 <xsl:template name=
"preface.titlepage.before.verso">
1757 <xsl:template name=
"preface.titlepage">
1758 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
1759 <xsl:variable name=
"recto.content">
1760 <xsl:call-template name=
"preface.titlepage.before.recto"/>
1761 <xsl:call-template name=
"preface.titlepage.recto"/>
1763 <xsl:variable name=
"recto.elements.count">
1765 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1766 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1767 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1768 <xsl:otherwise>1</xsl:otherwise>
1771 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1772 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
1774 <xsl:variable name=
"verso.content">
1775 <xsl:call-template name=
"preface.titlepage.before.verso"/>
1776 <xsl:call-template name=
"preface.titlepage.verso"/>
1778 <xsl:variable name=
"verso.elements.count">
1780 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1781 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1782 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1783 <xsl:otherwise>1</xsl:otherwise>
1786 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1787 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1789 <xsl:call-template name=
"preface.titlepage.separator"/>
1793 <xsl:template match=
"*" mode=
"preface.titlepage.recto.mode">
1794 <!-- if an element isn't found in this mode, -->
1795 <!-- try the generic titlepage.mode -->
1796 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1799 <xsl:template match=
"*" mode=
"preface.titlepage.verso.mode">
1800 <!-- if an element isn't found in this mode, -->
1801 <!-- try the generic titlepage.mode -->
1802 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1805 <xsl:template match=
"subtitle" mode=
"preface.titlepage.recto.auto.mode">
1806 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style" font-family=
"{$title.fontset}">
1807 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1811 <xsl:template match=
"corpauthor" mode=
"preface.titlepage.recto.auto.mode">
1812 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1813 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1817 <xsl:template match=
"authorgroup" mode=
"preface.titlepage.recto.auto.mode">
1818 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1819 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1823 <xsl:template match=
"author" mode=
"preface.titlepage.recto.auto.mode">
1824 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1825 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1829 <xsl:template match=
"othercredit" mode=
"preface.titlepage.recto.auto.mode">
1830 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1831 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1835 <xsl:template match=
"releaseinfo" mode=
"preface.titlepage.recto.auto.mode">
1836 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1837 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1841 <xsl:template match=
"copyright" mode=
"preface.titlepage.recto.auto.mode">
1842 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1843 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1847 <xsl:template match=
"legalnotice" mode=
"preface.titlepage.recto.auto.mode">
1848 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1849 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1853 <xsl:template match=
"pubdate" mode=
"preface.titlepage.recto.auto.mode">
1854 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1855 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1859 <xsl:template match=
"revision" mode=
"preface.titlepage.recto.auto.mode">
1860 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1861 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1865 <xsl:template match=
"revhistory" mode=
"preface.titlepage.recto.auto.mode">
1866 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1867 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1871 <xsl:template match=
"abstract" mode=
"preface.titlepage.recto.auto.mode">
1872 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"preface.titlepage.recto.style">
1873 <xsl:apply-templates select=
"." mode=
"preface.titlepage.recto.mode"/>
1877 <xsl:template name=
"chapter.titlepage.recto">
1879 <fo:block-container height=
"1cm">
1880 <fo:block></fo:block>
1881 </fo:block-container>
1883 <fo:block text-align=
"center">
1884 <fo:leader leader-length=
"85%" leader-pattern=
"rule" rule-style=
"solid" rule-thickness=
"1pt" color=
"#C51410"/>
1887 <fo:block-container height=
"0.7cm">
1888 <fo:block></fo:block>
1889 </fo:block-container>
1892 <xsl:when test=
"chapterinfo/title">
1893 <xsl:apply-templates mode=
"chapter.titlepage.recto.auto.mode" select=
"chapterinfo/title"/>
1895 <xsl:when test=
"docinfo/title">
1896 <xsl:apply-templates mode=
"chapter.titlepage.recto.auto.mode" select=
"docinfo/title"/>
1898 <xsl:when test=
"info/title">
1899 <xsl:apply-templates mode=
"chapter.titlepage.recto.auto.mode" select=
"info/title"/>
1901 <xsl:when test=
"title">
1902 <xsl:apply-templates mode=
"chapter.titlepage.recto.auto.mode" select=
"title"/>
1907 <fo:block-container height=
"0.7cm">
1908 <fo:block></fo:block>
1909 </fo:block-container>
1912 <fo:block text-align=
"center">
1913 <fo:leader leader-length=
"85%" leader-pattern=
"rule" rule-style=
"solid" rule-thickness=
"1pt" color=
"#C51410"/>
1916 <fo:block-container height=
"1cm">
1917 <fo:block></fo:block>
1918 </fo:block-container>
1922 <xsl:template name=
"chapter.titlepage.verso">
1925 <xsl:template name=
"chapter.titlepage.separator">
1927 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
1931 <xsl:template name=
"chapter.titlepage.before.recto">
1934 <xsl:template name=
"chapter.titlepage.before.verso">
1937 <xsl:template name=
"chapter.titlepage">
1938 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" font-family=
"{$title.fontset}">
1939 <xsl:variable name=
"recto.content">
1940 <xsl:call-template name=
"chapter.titlepage.before.recto"/>
1941 <xsl:call-template name=
"chapter.titlepage.recto"/>
1943 <xsl:variable name=
"recto.elements.count">
1945 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1946 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1947 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
1948 <xsl:otherwise>1</xsl:otherwise>
1951 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1952 <fo:block margin-left=
"{$title.margin.left}"><xsl:copy-of select=
"$recto.content"/></fo:block>
1954 <xsl:variable name=
"verso.content">
1955 <xsl:call-template name=
"chapter.titlepage.before.verso"/>
1956 <xsl:call-template name=
"chapter.titlepage.verso"/>
1958 <xsl:variable name=
"verso.elements.count">
1960 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1961 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1962 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
1963 <xsl:otherwise>1</xsl:otherwise>
1966 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1967 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
1969 <xsl:call-template name=
"chapter.titlepage.separator"/>
1973 <xsl:template match=
"*" mode=
"chapter.titlepage.recto.mode">
1974 <!-- if an element isn't found in this mode, -->
1975 <!-- try the generic titlepage.mode -->
1976 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1979 <xsl:template match=
"*" mode=
"chapter.titlepage.verso.mode">
1980 <!-- if an element isn't found in this mode, -->
1981 <!-- try the generic titlepage.mode -->
1982 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
1985 <xsl:template match=
"title" mode=
"chapter.titlepage.recto.auto.mode">
1986 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style" font-size=
"24.8832pt" font-weight=
"bold">
1987 <xsl:call-template name=
"component.title">
1988 <xsl:with-param name=
"node" select=
"ancestor-or-self::chapter[1]"/>
1989 </xsl:call-template>
1993 <xsl:template match=
"subtitle" mode=
"chapter.titlepage.recto.auto.mode">
1994 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style" space-before=
"0.5em" font-style=
"italic" font-size=
"14.4pt" font-weight=
"bold">
1995 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
1999 <xsl:template match=
"corpauthor" mode=
"chapter.titlepage.recto.auto.mode">
2000 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style" space-before=
"0.5em" space-after=
"0.5em" font-size=
"14.4pt">
2001 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2005 <xsl:template match=
"authorgroup" mode=
"chapter.titlepage.recto.auto.mode">
2006 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style" space-before=
"0.5em" space-after=
"0.5em" font-size=
"14.4pt">
2007 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2011 <xsl:template match=
"author" mode=
"chapter.titlepage.recto.auto.mode">
2012 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style" space-before=
"0.5em" space-after=
"0.5em" font-size=
"14.4pt">
2013 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2017 <xsl:template match=
"othercredit" mode=
"chapter.titlepage.recto.auto.mode">
2018 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2019 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2023 <xsl:template match=
"releaseinfo" mode=
"chapter.titlepage.recto.auto.mode">
2024 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2025 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2029 <xsl:template match=
"copyright" mode=
"chapter.titlepage.recto.auto.mode">
2030 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2031 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2035 <xsl:template match=
"legalnotice" mode=
"chapter.titlepage.recto.auto.mode">
2036 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2037 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2041 <xsl:template match=
"pubdate" mode=
"chapter.titlepage.recto.auto.mode">
2042 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2043 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2047 <xsl:template match=
"revision" mode=
"chapter.titlepage.recto.auto.mode">
2048 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2049 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2053 <xsl:template match=
"revhistory" mode=
"chapter.titlepage.recto.auto.mode">
2054 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2055 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2059 <xsl:template match=
"abstract" mode=
"chapter.titlepage.recto.auto.mode">
2060 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"chapter.titlepage.recto.style">
2061 <xsl:apply-templates select=
"." mode=
"chapter.titlepage.recto.mode"/>
2065 <xsl:template name=
"appendix.titlepage.recto">
2067 <xsl:when test=
"appendixinfo/title">
2068 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/title"/>
2070 <xsl:when test=
"docinfo/title">
2071 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/title"/>
2073 <xsl:when test=
"info/title">
2074 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/title"/>
2076 <xsl:when test=
"title">
2077 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"title"/>
2082 <xsl:when test=
"appendixinfo/subtitle">
2083 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/subtitle"/>
2085 <xsl:when test=
"docinfo/subtitle">
2086 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
2088 <xsl:when test=
"info/subtitle">
2089 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/subtitle"/>
2091 <xsl:when test=
"subtitle">
2092 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"subtitle"/>
2096 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/corpauthor"/>
2097 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/corpauthor"/>
2098 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
2099 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/authorgroup"/>
2100 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/authorgroup"/>
2101 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
2102 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/author"/>
2103 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/author"/>
2104 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/author"/>
2105 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/othercredit"/>
2106 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/othercredit"/>
2107 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/othercredit"/>
2108 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/releaseinfo"/>
2109 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/releaseinfo"/>
2110 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
2111 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/copyright"/>
2112 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/copyright"/>
2113 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/copyright"/>
2114 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/legalnotice"/>
2115 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/legalnotice"/>
2116 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
2117 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/pubdate"/>
2118 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/pubdate"/>
2119 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/pubdate"/>
2120 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/revision"/>
2121 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/revision"/>
2122 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/revision"/>
2123 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/revhistory"/>
2124 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/revhistory"/>
2125 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/revhistory"/>
2126 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"appendixinfo/abstract"/>
2127 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"docinfo/abstract"/>
2128 <xsl:apply-templates mode=
"appendix.titlepage.recto.auto.mode" select=
"info/abstract"/>
2131 <xsl:template name=
"appendix.titlepage.verso">
2134 <xsl:template name=
"appendix.titlepage.separator">
2137 <xsl:template name=
"appendix.titlepage.before.recto">
2140 <xsl:template name=
"appendix.titlepage.before.verso">
2143 <xsl:template name=
"appendix.titlepage">
2144 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
2145 <xsl:variable name=
"recto.content">
2146 <xsl:call-template name=
"appendix.titlepage.before.recto"/>
2147 <xsl:call-template name=
"appendix.titlepage.recto"/>
2149 <xsl:variable name=
"recto.elements.count">
2151 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2152 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2153 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2154 <xsl:otherwise>1</xsl:otherwise>
2157 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2158 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
2160 <xsl:variable name=
"verso.content">
2161 <xsl:call-template name=
"appendix.titlepage.before.verso"/>
2162 <xsl:call-template name=
"appendix.titlepage.verso"/>
2164 <xsl:variable name=
"verso.elements.count">
2166 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2167 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2168 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2169 <xsl:otherwise>1</xsl:otherwise>
2172 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2173 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
2175 <xsl:call-template name=
"appendix.titlepage.separator"/>
2179 <xsl:template match=
"*" mode=
"appendix.titlepage.recto.mode">
2180 <!-- if an element isn't found in this mode, -->
2181 <!-- try the generic titlepage.mode -->
2182 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2185 <xsl:template match=
"*" mode=
"appendix.titlepage.verso.mode">
2186 <!-- if an element isn't found in this mode, -->
2187 <!-- try the generic titlepage.mode -->
2188 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2191 <xsl:template match=
"title" mode=
"appendix.titlepage.recto.auto.mode">
2192 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-weight=
"bold" font-family=
"{$title.fontset}">
2193 <xsl:call-template name=
"component.title">
2194 <xsl:with-param name=
"node" select=
"ancestor-or-self::appendix[1]"/>
2195 </xsl:call-template>
2199 <xsl:template match=
"subtitle" mode=
"appendix.titlepage.recto.auto.mode">
2200 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style" font-family=
"{$title.fontset}">
2201 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2205 <xsl:template match=
"corpauthor" mode=
"appendix.titlepage.recto.auto.mode">
2206 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2207 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2211 <xsl:template match=
"authorgroup" mode=
"appendix.titlepage.recto.auto.mode">
2212 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2213 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2217 <xsl:template match=
"author" mode=
"appendix.titlepage.recto.auto.mode">
2218 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2219 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2223 <xsl:template match=
"othercredit" mode=
"appendix.titlepage.recto.auto.mode">
2224 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2225 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2229 <xsl:template match=
"releaseinfo" mode=
"appendix.titlepage.recto.auto.mode">
2230 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2231 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2235 <xsl:template match=
"copyright" mode=
"appendix.titlepage.recto.auto.mode">
2236 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2237 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2241 <xsl:template match=
"legalnotice" mode=
"appendix.titlepage.recto.auto.mode">
2242 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2243 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2247 <xsl:template match=
"pubdate" mode=
"appendix.titlepage.recto.auto.mode">
2248 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2249 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2253 <xsl:template match=
"revision" mode=
"appendix.titlepage.recto.auto.mode">
2254 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2255 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2259 <xsl:template match=
"revhistory" mode=
"appendix.titlepage.recto.auto.mode">
2260 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2261 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2265 <xsl:template match=
"abstract" mode=
"appendix.titlepage.recto.auto.mode">
2266 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"appendix.titlepage.recto.style">
2267 <xsl:apply-templates select=
"." mode=
"appendix.titlepage.recto.mode"/>
2271 <xsl:template name=
"section.titlepage.recto">
2273 <xsl:when test=
"sectioninfo/title">
2274 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/title"/>
2276 <xsl:when test=
"info/title">
2277 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/title"/>
2279 <xsl:when test=
"title">
2280 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"title"/>
2285 <xsl:when test=
"sectioninfo/subtitle">
2286 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/subtitle"/>
2288 <xsl:when test=
"info/subtitle">
2289 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/subtitle"/>
2291 <xsl:when test=
"subtitle">
2292 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"subtitle"/>
2296 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/corpauthor"/>
2297 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
2298 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/authorgroup"/>
2299 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
2300 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/author"/>
2301 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/author"/>
2302 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/othercredit"/>
2303 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/othercredit"/>
2304 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/releaseinfo"/>
2305 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
2306 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/copyright"/>
2307 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/copyright"/>
2308 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/legalnotice"/>
2309 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
2310 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/pubdate"/>
2311 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/pubdate"/>
2312 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/revision"/>
2313 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/revision"/>
2314 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/revhistory"/>
2315 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/revhistory"/>
2316 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"sectioninfo/abstract"/>
2317 <xsl:apply-templates mode=
"section.titlepage.recto.auto.mode" select=
"info/abstract"/>
2320 <xsl:template name=
"section.titlepage.verso">
2323 <xsl:template name=
"section.titlepage.separator">
2326 <xsl:template name=
"section.titlepage.before.recto">
2329 <xsl:template name=
"section.titlepage.before.verso">
2332 <xsl:template name=
"section.titlepage">
2333 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
2334 <xsl:variable name=
"recto.content">
2335 <xsl:call-template name=
"section.titlepage.before.recto"/>
2336 <xsl:call-template name=
"section.titlepage.recto"/>
2338 <xsl:variable name=
"recto.elements.count">
2340 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2341 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2342 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2343 <xsl:otherwise>1</xsl:otherwise>
2346 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2347 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
2349 <xsl:variable name=
"verso.content">
2350 <xsl:call-template name=
"section.titlepage.before.verso"/>
2351 <xsl:call-template name=
"section.titlepage.verso"/>
2353 <xsl:variable name=
"verso.elements.count">
2355 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2356 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2357 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2358 <xsl:otherwise>1</xsl:otherwise>
2361 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2362 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
2364 <xsl:call-template name=
"section.titlepage.separator"/>
2368 <xsl:template match=
"*" mode=
"section.titlepage.recto.mode">
2369 <!-- if an element isn't found in this mode, -->
2370 <!-- try the generic titlepage.mode -->
2371 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2374 <xsl:template match=
"*" mode=
"section.titlepage.verso.mode">
2375 <!-- if an element isn't found in this mode, -->
2376 <!-- try the generic titlepage.mode -->
2377 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2380 <xsl:template match=
"title" mode=
"section.titlepage.recto.auto.mode">
2381 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
2382 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2386 <xsl:template match=
"subtitle" mode=
"section.titlepage.recto.auto.mode">
2387 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style" font-family=
"{$title.fontset}">
2388 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2392 <xsl:template match=
"corpauthor" mode=
"section.titlepage.recto.auto.mode">
2393 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2394 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2398 <xsl:template match=
"authorgroup" mode=
"section.titlepage.recto.auto.mode">
2399 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2400 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2404 <xsl:template match=
"author" mode=
"section.titlepage.recto.auto.mode">
2405 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2406 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2410 <xsl:template match=
"othercredit" mode=
"section.titlepage.recto.auto.mode">
2411 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2412 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2416 <xsl:template match=
"releaseinfo" mode=
"section.titlepage.recto.auto.mode">
2417 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2418 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2422 <xsl:template match=
"copyright" mode=
"section.titlepage.recto.auto.mode">
2423 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2424 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2428 <xsl:template match=
"legalnotice" mode=
"section.titlepage.recto.auto.mode">
2429 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2430 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2434 <xsl:template match=
"pubdate" mode=
"section.titlepage.recto.auto.mode">
2435 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2436 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2440 <xsl:template match=
"revision" mode=
"section.titlepage.recto.auto.mode">
2441 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2442 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2446 <xsl:template match=
"revhistory" mode=
"section.titlepage.recto.auto.mode">
2447 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2448 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2452 <xsl:template match=
"abstract" mode=
"section.titlepage.recto.auto.mode">
2453 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"section.titlepage.recto.style">
2454 <xsl:apply-templates select=
"." mode=
"section.titlepage.recto.mode"/>
2458 <xsl:template name=
"sect1.titlepage.recto">
2460 <xsl:when test=
"sect1info/title">
2461 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/title"/>
2463 <xsl:when test=
"info/title">
2464 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/title"/>
2466 <xsl:when test=
"title">
2467 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"title"/>
2472 <xsl:when test=
"sect1info/subtitle">
2473 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/subtitle"/>
2475 <xsl:when test=
"info/subtitle">
2476 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/subtitle"/>
2478 <xsl:when test=
"subtitle">
2479 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"subtitle"/>
2483 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/corpauthor"/>
2484 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
2485 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/authorgroup"/>
2486 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
2487 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/author"/>
2488 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/author"/>
2489 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/othercredit"/>
2490 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/othercredit"/>
2491 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/releaseinfo"/>
2492 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
2493 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/copyright"/>
2494 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/copyright"/>
2495 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/legalnotice"/>
2496 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
2497 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/pubdate"/>
2498 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/pubdate"/>
2499 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/revision"/>
2500 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/revision"/>
2501 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/revhistory"/>
2502 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/revhistory"/>
2503 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"sect1info/abstract"/>
2504 <xsl:apply-templates mode=
"sect1.titlepage.recto.auto.mode" select=
"info/abstract"/>
2507 <xsl:template name=
"sect1.titlepage.verso">
2510 <xsl:template name=
"sect1.titlepage.separator">
2513 <xsl:template name=
"sect1.titlepage.before.recto">
2516 <xsl:template name=
"sect1.titlepage.before.verso">
2519 <xsl:template name=
"sect1.titlepage">
2520 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
2521 <xsl:variable name=
"recto.content">
2522 <xsl:call-template name=
"sect1.titlepage.before.recto"/>
2523 <xsl:call-template name=
"sect1.titlepage.recto"/>
2525 <xsl:variable name=
"recto.elements.count">
2527 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2528 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2529 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2530 <xsl:otherwise>1</xsl:otherwise>
2533 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2534 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
2536 <xsl:variable name=
"verso.content">
2537 <xsl:call-template name=
"sect1.titlepage.before.verso"/>
2538 <xsl:call-template name=
"sect1.titlepage.verso"/>
2540 <xsl:variable name=
"verso.elements.count">
2542 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2543 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2544 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2545 <xsl:otherwise>1</xsl:otherwise>
2548 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2549 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
2551 <xsl:call-template name=
"sect1.titlepage.separator"/>
2555 <xsl:template match=
"*" mode=
"sect1.titlepage.recto.mode">
2556 <!-- if an element isn't found in this mode, -->
2557 <!-- try the generic titlepage.mode -->
2558 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2561 <xsl:template match=
"*" mode=
"sect1.titlepage.verso.mode">
2562 <!-- if an element isn't found in this mode, -->
2563 <!-- try the generic titlepage.mode -->
2564 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2567 <xsl:template match=
"title" mode=
"sect1.titlepage.recto.auto.mode">
2568 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
2569 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2573 <xsl:template match=
"subtitle" mode=
"sect1.titlepage.recto.auto.mode">
2574 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style" font-family=
"{$title.fontset}">
2575 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2579 <xsl:template match=
"corpauthor" mode=
"sect1.titlepage.recto.auto.mode">
2580 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2581 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2585 <xsl:template match=
"authorgroup" mode=
"sect1.titlepage.recto.auto.mode">
2586 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2587 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2591 <xsl:template match=
"author" mode=
"sect1.titlepage.recto.auto.mode">
2592 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2593 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2597 <xsl:template match=
"othercredit" mode=
"sect1.titlepage.recto.auto.mode">
2598 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2599 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2603 <xsl:template match=
"releaseinfo" mode=
"sect1.titlepage.recto.auto.mode">
2604 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2605 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2609 <xsl:template match=
"copyright" mode=
"sect1.titlepage.recto.auto.mode">
2610 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2611 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2615 <xsl:template match=
"legalnotice" mode=
"sect1.titlepage.recto.auto.mode">
2616 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2617 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2621 <xsl:template match=
"pubdate" mode=
"sect1.titlepage.recto.auto.mode">
2622 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2623 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2627 <xsl:template match=
"revision" mode=
"sect1.titlepage.recto.auto.mode">
2628 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2629 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2633 <xsl:template match=
"revhistory" mode=
"sect1.titlepage.recto.auto.mode">
2634 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2635 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2639 <xsl:template match=
"abstract" mode=
"sect1.titlepage.recto.auto.mode">
2640 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect1.titlepage.recto.style">
2641 <xsl:apply-templates select=
"." mode=
"sect1.titlepage.recto.mode"/>
2645 <xsl:template name=
"sect2.titlepage.recto">
2647 <xsl:when test=
"sect2info/title">
2648 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/title"/>
2650 <xsl:when test=
"info/title">
2651 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/title"/>
2653 <xsl:when test=
"title">
2654 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"title"/>
2659 <xsl:when test=
"sect2info/subtitle">
2660 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/subtitle"/>
2662 <xsl:when test=
"info/subtitle">
2663 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/subtitle"/>
2665 <xsl:when test=
"subtitle">
2666 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"subtitle"/>
2670 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/corpauthor"/>
2671 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
2672 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/authorgroup"/>
2673 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
2674 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/author"/>
2675 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/author"/>
2676 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/othercredit"/>
2677 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/othercredit"/>
2678 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/releaseinfo"/>
2679 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
2680 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/copyright"/>
2681 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/copyright"/>
2682 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/legalnotice"/>
2683 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
2684 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/pubdate"/>
2685 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/pubdate"/>
2686 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/revision"/>
2687 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/revision"/>
2688 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/revhistory"/>
2689 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/revhistory"/>
2690 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"sect2info/abstract"/>
2691 <xsl:apply-templates mode=
"sect2.titlepage.recto.auto.mode" select=
"info/abstract"/>
2694 <xsl:template name=
"sect2.titlepage.verso">
2697 <xsl:template name=
"sect2.titlepage.separator">
2700 <xsl:template name=
"sect2.titlepage.before.recto">
2703 <xsl:template name=
"sect2.titlepage.before.verso">
2706 <xsl:template name=
"sect2.titlepage">
2707 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
2708 <xsl:variable name=
"recto.content">
2709 <xsl:call-template name=
"sect2.titlepage.before.recto"/>
2710 <xsl:call-template name=
"sect2.titlepage.recto"/>
2712 <xsl:variable name=
"recto.elements.count">
2714 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2715 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2716 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2717 <xsl:otherwise>1</xsl:otherwise>
2720 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2721 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
2723 <xsl:variable name=
"verso.content">
2724 <xsl:call-template name=
"sect2.titlepage.before.verso"/>
2725 <xsl:call-template name=
"sect2.titlepage.verso"/>
2727 <xsl:variable name=
"verso.elements.count">
2729 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2730 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2731 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2732 <xsl:otherwise>1</xsl:otherwise>
2735 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2736 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
2738 <xsl:call-template name=
"sect2.titlepage.separator"/>
2742 <xsl:template match=
"*" mode=
"sect2.titlepage.recto.mode">
2743 <!-- if an element isn't found in this mode, -->
2744 <!-- try the generic titlepage.mode -->
2745 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2748 <xsl:template match=
"*" mode=
"sect2.titlepage.verso.mode">
2749 <!-- if an element isn't found in this mode, -->
2750 <!-- try the generic titlepage.mode -->
2751 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2754 <xsl:template match=
"title" mode=
"sect2.titlepage.recto.auto.mode">
2755 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
2756 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2760 <xsl:template match=
"subtitle" mode=
"sect2.titlepage.recto.auto.mode">
2761 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style" font-family=
"{$title.fontset}">
2762 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2766 <xsl:template match=
"corpauthor" mode=
"sect2.titlepage.recto.auto.mode">
2767 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2768 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2772 <xsl:template match=
"authorgroup" mode=
"sect2.titlepage.recto.auto.mode">
2773 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2774 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2778 <xsl:template match=
"author" mode=
"sect2.titlepage.recto.auto.mode">
2779 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2780 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2784 <xsl:template match=
"othercredit" mode=
"sect2.titlepage.recto.auto.mode">
2785 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2786 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2790 <xsl:template match=
"releaseinfo" mode=
"sect2.titlepage.recto.auto.mode">
2791 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2792 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2796 <xsl:template match=
"copyright" mode=
"sect2.titlepage.recto.auto.mode">
2797 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2798 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2802 <xsl:template match=
"legalnotice" mode=
"sect2.titlepage.recto.auto.mode">
2803 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2804 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2808 <xsl:template match=
"pubdate" mode=
"sect2.titlepage.recto.auto.mode">
2809 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2810 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2814 <xsl:template match=
"revision" mode=
"sect2.titlepage.recto.auto.mode">
2815 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2816 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2820 <xsl:template match=
"revhistory" mode=
"sect2.titlepage.recto.auto.mode">
2821 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2822 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2826 <xsl:template match=
"abstract" mode=
"sect2.titlepage.recto.auto.mode">
2827 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect2.titlepage.recto.style">
2828 <xsl:apply-templates select=
"." mode=
"sect2.titlepage.recto.mode"/>
2832 <xsl:template name=
"sect3.titlepage.recto">
2834 <xsl:when test=
"sect3info/title">
2835 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/title"/>
2837 <xsl:when test=
"info/title">
2838 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/title"/>
2840 <xsl:when test=
"title">
2841 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"title"/>
2846 <xsl:when test=
"sect3info/subtitle">
2847 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/subtitle"/>
2849 <xsl:when test=
"info/subtitle">
2850 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/subtitle"/>
2852 <xsl:when test=
"subtitle">
2853 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"subtitle"/>
2857 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/corpauthor"/>
2858 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
2859 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/authorgroup"/>
2860 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
2861 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/author"/>
2862 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/author"/>
2863 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/othercredit"/>
2864 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/othercredit"/>
2865 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/releaseinfo"/>
2866 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
2867 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/copyright"/>
2868 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/copyright"/>
2869 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/legalnotice"/>
2870 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
2871 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/pubdate"/>
2872 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/pubdate"/>
2873 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/revision"/>
2874 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/revision"/>
2875 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/revhistory"/>
2876 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/revhistory"/>
2877 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"sect3info/abstract"/>
2878 <xsl:apply-templates mode=
"sect3.titlepage.recto.auto.mode" select=
"info/abstract"/>
2881 <xsl:template name=
"sect3.titlepage.verso">
2884 <xsl:template name=
"sect3.titlepage.separator">
2887 <xsl:template name=
"sect3.titlepage.before.recto">
2890 <xsl:template name=
"sect3.titlepage.before.verso">
2893 <xsl:template name=
"sect3.titlepage">
2894 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
2895 <xsl:variable name=
"recto.content">
2896 <xsl:call-template name=
"sect3.titlepage.before.recto"/>
2897 <xsl:call-template name=
"sect3.titlepage.recto"/>
2899 <xsl:variable name=
"recto.elements.count">
2901 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2902 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2903 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
2904 <xsl:otherwise>1</xsl:otherwise>
2907 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2908 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
2910 <xsl:variable name=
"verso.content">
2911 <xsl:call-template name=
"sect3.titlepage.before.verso"/>
2912 <xsl:call-template name=
"sect3.titlepage.verso"/>
2914 <xsl:variable name=
"verso.elements.count">
2916 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2917 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2918 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
2919 <xsl:otherwise>1</xsl:otherwise>
2922 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2923 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
2925 <xsl:call-template name=
"sect3.titlepage.separator"/>
2929 <xsl:template match=
"*" mode=
"sect3.titlepage.recto.mode">
2930 <!-- if an element isn't found in this mode, -->
2931 <!-- try the generic titlepage.mode -->
2932 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2935 <xsl:template match=
"*" mode=
"sect3.titlepage.verso.mode">
2936 <!-- if an element isn't found in this mode, -->
2937 <!-- try the generic titlepage.mode -->
2938 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
2941 <xsl:template match=
"title" mode=
"sect3.titlepage.recto.auto.mode">
2942 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
2943 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2947 <xsl:template match=
"subtitle" mode=
"sect3.titlepage.recto.auto.mode">
2948 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style" font-family=
"{$title.fontset}">
2949 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2953 <xsl:template match=
"corpauthor" mode=
"sect3.titlepage.recto.auto.mode">
2954 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2955 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2959 <xsl:template match=
"authorgroup" mode=
"sect3.titlepage.recto.auto.mode">
2960 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2961 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2965 <xsl:template match=
"author" mode=
"sect3.titlepage.recto.auto.mode">
2966 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2967 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2971 <xsl:template match=
"othercredit" mode=
"sect3.titlepage.recto.auto.mode">
2972 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2973 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2977 <xsl:template match=
"releaseinfo" mode=
"sect3.titlepage.recto.auto.mode">
2978 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2979 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2983 <xsl:template match=
"copyright" mode=
"sect3.titlepage.recto.auto.mode">
2984 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2985 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2989 <xsl:template match=
"legalnotice" mode=
"sect3.titlepage.recto.auto.mode">
2990 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2991 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
2995 <xsl:template match=
"pubdate" mode=
"sect3.titlepage.recto.auto.mode">
2996 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
2997 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
3001 <xsl:template match=
"revision" mode=
"sect3.titlepage.recto.auto.mode">
3002 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
3003 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
3007 <xsl:template match=
"revhistory" mode=
"sect3.titlepage.recto.auto.mode">
3008 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
3009 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
3013 <xsl:template match=
"abstract" mode=
"sect3.titlepage.recto.auto.mode">
3014 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect3.titlepage.recto.style">
3015 <xsl:apply-templates select=
"." mode=
"sect3.titlepage.recto.mode"/>
3019 <xsl:template name=
"sect4.titlepage.recto">
3021 <xsl:when test=
"sect4info/title">
3022 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/title"/>
3024 <xsl:when test=
"info/title">
3025 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/title"/>
3027 <xsl:when test=
"title">
3028 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"title"/>
3033 <xsl:when test=
"sect4info/subtitle">
3034 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/subtitle"/>
3036 <xsl:when test=
"info/subtitle">
3037 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3039 <xsl:when test=
"subtitle">
3040 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"subtitle"/>
3044 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/corpauthor"/>
3045 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
3046 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/authorgroup"/>
3047 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
3048 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/author"/>
3049 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/author"/>
3050 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/othercredit"/>
3051 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/othercredit"/>
3052 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/releaseinfo"/>
3053 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
3054 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/copyright"/>
3055 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/copyright"/>
3056 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/legalnotice"/>
3057 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
3058 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/pubdate"/>
3059 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/pubdate"/>
3060 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/revision"/>
3061 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/revision"/>
3062 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/revhistory"/>
3063 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/revhistory"/>
3064 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"sect4info/abstract"/>
3065 <xsl:apply-templates mode=
"sect4.titlepage.recto.auto.mode" select=
"info/abstract"/>
3068 <xsl:template name=
"sect4.titlepage.verso">
3071 <xsl:template name=
"sect4.titlepage.separator">
3074 <xsl:template name=
"sect4.titlepage.before.recto">
3077 <xsl:template name=
"sect4.titlepage.before.verso">
3080 <xsl:template name=
"sect4.titlepage">
3081 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3082 <xsl:variable name=
"recto.content">
3083 <xsl:call-template name=
"sect4.titlepage.before.recto"/>
3084 <xsl:call-template name=
"sect4.titlepage.recto"/>
3086 <xsl:variable name=
"recto.elements.count">
3088 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3089 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3090 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3091 <xsl:otherwise>1</xsl:otherwise>
3094 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3095 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3097 <xsl:variable name=
"verso.content">
3098 <xsl:call-template name=
"sect4.titlepage.before.verso"/>
3099 <xsl:call-template name=
"sect4.titlepage.verso"/>
3101 <xsl:variable name=
"verso.elements.count">
3103 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3104 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3105 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3106 <xsl:otherwise>1</xsl:otherwise>
3109 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3110 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3112 <xsl:call-template name=
"sect4.titlepage.separator"/>
3116 <xsl:template match=
"*" mode=
"sect4.titlepage.recto.mode">
3117 <!-- if an element isn't found in this mode, -->
3118 <!-- try the generic titlepage.mode -->
3119 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3122 <xsl:template match=
"*" mode=
"sect4.titlepage.verso.mode">
3123 <!-- if an element isn't found in this mode, -->
3124 <!-- try the generic titlepage.mode -->
3125 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3128 <xsl:template match=
"title" mode=
"sect4.titlepage.recto.auto.mode">
3129 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
3130 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3134 <xsl:template match=
"subtitle" mode=
"sect4.titlepage.recto.auto.mode">
3135 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style" font-family=
"{$title.fontset}">
3136 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3140 <xsl:template match=
"corpauthor" mode=
"sect4.titlepage.recto.auto.mode">
3141 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3142 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3146 <xsl:template match=
"authorgroup" mode=
"sect4.titlepage.recto.auto.mode">
3147 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3148 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3152 <xsl:template match=
"author" mode=
"sect4.titlepage.recto.auto.mode">
3153 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3154 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3158 <xsl:template match=
"othercredit" mode=
"sect4.titlepage.recto.auto.mode">
3159 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3160 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3164 <xsl:template match=
"releaseinfo" mode=
"sect4.titlepage.recto.auto.mode">
3165 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3166 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3170 <xsl:template match=
"copyright" mode=
"sect4.titlepage.recto.auto.mode">
3171 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3172 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3176 <xsl:template match=
"legalnotice" mode=
"sect4.titlepage.recto.auto.mode">
3177 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3178 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3182 <xsl:template match=
"pubdate" mode=
"sect4.titlepage.recto.auto.mode">
3183 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3184 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3188 <xsl:template match=
"revision" mode=
"sect4.titlepage.recto.auto.mode">
3189 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3190 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3194 <xsl:template match=
"revhistory" mode=
"sect4.titlepage.recto.auto.mode">
3195 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3196 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3200 <xsl:template match=
"abstract" mode=
"sect4.titlepage.recto.auto.mode">
3201 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect4.titlepage.recto.style">
3202 <xsl:apply-templates select=
"." mode=
"sect4.titlepage.recto.mode"/>
3206 <xsl:template name=
"sect5.titlepage.recto">
3208 <xsl:when test=
"sect5info/title">
3209 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/title"/>
3211 <xsl:when test=
"info/title">
3212 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/title"/>
3214 <xsl:when test=
"title">
3215 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"title"/>
3220 <xsl:when test=
"sect5info/subtitle">
3221 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/subtitle"/>
3223 <xsl:when test=
"info/subtitle">
3224 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3226 <xsl:when test=
"subtitle">
3227 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"subtitle"/>
3231 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/corpauthor"/>
3232 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
3233 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/authorgroup"/>
3234 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
3235 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/author"/>
3236 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/author"/>
3237 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/othercredit"/>
3238 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/othercredit"/>
3239 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/releaseinfo"/>
3240 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
3241 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/copyright"/>
3242 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/copyright"/>
3243 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/legalnotice"/>
3244 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
3245 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/pubdate"/>
3246 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/pubdate"/>
3247 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/revision"/>
3248 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/revision"/>
3249 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/revhistory"/>
3250 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/revhistory"/>
3251 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"sect5info/abstract"/>
3252 <xsl:apply-templates mode=
"sect5.titlepage.recto.auto.mode" select=
"info/abstract"/>
3255 <xsl:template name=
"sect5.titlepage.verso">
3258 <xsl:template name=
"sect5.titlepage.separator">
3261 <xsl:template name=
"sect5.titlepage.before.recto">
3264 <xsl:template name=
"sect5.titlepage.before.verso">
3267 <xsl:template name=
"sect5.titlepage">
3268 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3269 <xsl:variable name=
"recto.content">
3270 <xsl:call-template name=
"sect5.titlepage.before.recto"/>
3271 <xsl:call-template name=
"sect5.titlepage.recto"/>
3273 <xsl:variable name=
"recto.elements.count">
3275 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3276 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3277 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3278 <xsl:otherwise>1</xsl:otherwise>
3281 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3282 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3284 <xsl:variable name=
"verso.content">
3285 <xsl:call-template name=
"sect5.titlepage.before.verso"/>
3286 <xsl:call-template name=
"sect5.titlepage.verso"/>
3288 <xsl:variable name=
"verso.elements.count">
3290 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3291 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3292 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3293 <xsl:otherwise>1</xsl:otherwise>
3296 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3297 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3299 <xsl:call-template name=
"sect5.titlepage.separator"/>
3303 <xsl:template match=
"*" mode=
"sect5.titlepage.recto.mode">
3304 <!-- if an element isn't found in this mode, -->
3305 <!-- try the generic titlepage.mode -->
3306 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3309 <xsl:template match=
"*" mode=
"sect5.titlepage.verso.mode">
3310 <!-- if an element isn't found in this mode, -->
3311 <!-- try the generic titlepage.mode -->
3312 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3315 <xsl:template match=
"title" mode=
"sect5.titlepage.recto.auto.mode">
3316 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
3317 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3321 <xsl:template match=
"subtitle" mode=
"sect5.titlepage.recto.auto.mode">
3322 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style" font-family=
"{$title.fontset}">
3323 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3327 <xsl:template match=
"corpauthor" mode=
"sect5.titlepage.recto.auto.mode">
3328 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3329 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3333 <xsl:template match=
"authorgroup" mode=
"sect5.titlepage.recto.auto.mode">
3334 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3335 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3339 <xsl:template match=
"author" mode=
"sect5.titlepage.recto.auto.mode">
3340 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3341 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3345 <xsl:template match=
"othercredit" mode=
"sect5.titlepage.recto.auto.mode">
3346 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3347 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3351 <xsl:template match=
"releaseinfo" mode=
"sect5.titlepage.recto.auto.mode">
3352 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3353 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3357 <xsl:template match=
"copyright" mode=
"sect5.titlepage.recto.auto.mode">
3358 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3359 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3363 <xsl:template match=
"legalnotice" mode=
"sect5.titlepage.recto.auto.mode">
3364 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3365 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3369 <xsl:template match=
"pubdate" mode=
"sect5.titlepage.recto.auto.mode">
3370 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3371 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3375 <xsl:template match=
"revision" mode=
"sect5.titlepage.recto.auto.mode">
3376 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3377 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3381 <xsl:template match=
"revhistory" mode=
"sect5.titlepage.recto.auto.mode">
3382 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3383 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3387 <xsl:template match=
"abstract" mode=
"sect5.titlepage.recto.auto.mode">
3388 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sect5.titlepage.recto.style">
3389 <xsl:apply-templates select=
"." mode=
"sect5.titlepage.recto.mode"/>
3393 <xsl:template name=
"simplesect.titlepage.recto">
3395 <xsl:when test=
"simplesectinfo/title">
3396 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/title"/>
3398 <xsl:when test=
"docinfo/title">
3399 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/title"/>
3401 <xsl:when test=
"info/title">
3402 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/title"/>
3404 <xsl:when test=
"title">
3405 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"title"/>
3410 <xsl:when test=
"simplesectinfo/subtitle">
3411 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/subtitle"/>
3413 <xsl:when test=
"docinfo/subtitle">
3414 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
3416 <xsl:when test=
"info/subtitle">
3417 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3419 <xsl:when test=
"subtitle">
3420 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"subtitle"/>
3424 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/corpauthor"/>
3425 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/corpauthor"/>
3426 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
3427 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/authorgroup"/>
3428 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/authorgroup"/>
3429 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
3430 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/author"/>
3431 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/author"/>
3432 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/author"/>
3433 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/othercredit"/>
3434 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/othercredit"/>
3435 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/othercredit"/>
3436 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/releaseinfo"/>
3437 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/releaseinfo"/>
3438 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
3439 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/copyright"/>
3440 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/copyright"/>
3441 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/copyright"/>
3442 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/legalnotice"/>
3443 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/legalnotice"/>
3444 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
3445 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/pubdate"/>
3446 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/pubdate"/>
3447 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/pubdate"/>
3448 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/revision"/>
3449 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/revision"/>
3450 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/revision"/>
3451 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/revhistory"/>
3452 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/revhistory"/>
3453 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/revhistory"/>
3454 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"simplesectinfo/abstract"/>
3455 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"docinfo/abstract"/>
3456 <xsl:apply-templates mode=
"simplesect.titlepage.recto.auto.mode" select=
"info/abstract"/>
3459 <xsl:template name=
"simplesect.titlepage.verso">
3462 <xsl:template name=
"simplesect.titlepage.separator">
3465 <xsl:template name=
"simplesect.titlepage.before.recto">
3468 <xsl:template name=
"simplesect.titlepage.before.verso">
3471 <xsl:template name=
"simplesect.titlepage">
3472 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3473 <xsl:variable name=
"recto.content">
3474 <xsl:call-template name=
"simplesect.titlepage.before.recto"/>
3475 <xsl:call-template name=
"simplesect.titlepage.recto"/>
3477 <xsl:variable name=
"recto.elements.count">
3479 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3480 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3481 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3482 <xsl:otherwise>1</xsl:otherwise>
3485 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3486 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3488 <xsl:variable name=
"verso.content">
3489 <xsl:call-template name=
"simplesect.titlepage.before.verso"/>
3490 <xsl:call-template name=
"simplesect.titlepage.verso"/>
3492 <xsl:variable name=
"verso.elements.count">
3494 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3495 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3496 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3497 <xsl:otherwise>1</xsl:otherwise>
3500 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3501 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3503 <xsl:call-template name=
"simplesect.titlepage.separator"/>
3507 <xsl:template match=
"*" mode=
"simplesect.titlepage.recto.mode">
3508 <!-- if an element isn't found in this mode, -->
3509 <!-- try the generic titlepage.mode -->
3510 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3513 <xsl:template match=
"*" mode=
"simplesect.titlepage.verso.mode">
3514 <!-- if an element isn't found in this mode, -->
3515 <!-- try the generic titlepage.mode -->
3516 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3519 <xsl:template match=
"title" mode=
"simplesect.titlepage.recto.auto.mode">
3520 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-family=
"{$title.fontset}">
3521 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3525 <xsl:template match=
"subtitle" mode=
"simplesect.titlepage.recto.auto.mode">
3526 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style" font-family=
"{$title.fontset}">
3527 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3531 <xsl:template match=
"corpauthor" mode=
"simplesect.titlepage.recto.auto.mode">
3532 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3533 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3537 <xsl:template match=
"authorgroup" mode=
"simplesect.titlepage.recto.auto.mode">
3538 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3539 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3543 <xsl:template match=
"author" mode=
"simplesect.titlepage.recto.auto.mode">
3544 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3545 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3549 <xsl:template match=
"othercredit" mode=
"simplesect.titlepage.recto.auto.mode">
3550 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3551 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3555 <xsl:template match=
"releaseinfo" mode=
"simplesect.titlepage.recto.auto.mode">
3556 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3557 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3561 <xsl:template match=
"copyright" mode=
"simplesect.titlepage.recto.auto.mode">
3562 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3563 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3567 <xsl:template match=
"legalnotice" mode=
"simplesect.titlepage.recto.auto.mode">
3568 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3569 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3573 <xsl:template match=
"pubdate" mode=
"simplesect.titlepage.recto.auto.mode">
3574 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3575 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3579 <xsl:template match=
"revision" mode=
"simplesect.titlepage.recto.auto.mode">
3580 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3581 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3585 <xsl:template match=
"revhistory" mode=
"simplesect.titlepage.recto.auto.mode">
3586 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3587 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3591 <xsl:template match=
"abstract" mode=
"simplesect.titlepage.recto.auto.mode">
3592 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"simplesect.titlepage.recto.style">
3593 <xsl:apply-templates select=
"." mode=
"simplesect.titlepage.recto.mode"/>
3597 <xsl:template name=
"bibliography.titlepage.recto">
3598 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"bibliography.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
3599 <xsl:call-template name=
"component.title">
3600 <xsl:with-param name=
"node" select=
"ancestor-or-self::bibliography[1]"/>
3601 </xsl:call-template></fo:block>
3603 <xsl:when test=
"bibliographyinfo/subtitle">
3604 <xsl:apply-templates mode=
"bibliography.titlepage.recto.auto.mode" select=
"bibliographyinfo/subtitle"/>
3606 <xsl:when test=
"docinfo/subtitle">
3607 <xsl:apply-templates mode=
"bibliography.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
3609 <xsl:when test=
"info/subtitle">
3610 <xsl:apply-templates mode=
"bibliography.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3612 <xsl:when test=
"subtitle">
3613 <xsl:apply-templates mode=
"bibliography.titlepage.recto.auto.mode" select=
"subtitle"/>
3619 <xsl:template name=
"bibliography.titlepage.verso">
3622 <xsl:template name=
"bibliography.titlepage.separator">
3625 <xsl:template name=
"bibliography.titlepage.before.recto">
3628 <xsl:template name=
"bibliography.titlepage.before.verso">
3631 <xsl:template name=
"bibliography.titlepage">
3632 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3633 <xsl:variable name=
"recto.content">
3634 <xsl:call-template name=
"bibliography.titlepage.before.recto"/>
3635 <xsl:call-template name=
"bibliography.titlepage.recto"/>
3637 <xsl:variable name=
"recto.elements.count">
3639 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3640 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3641 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3642 <xsl:otherwise>1</xsl:otherwise>
3645 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3646 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3648 <xsl:variable name=
"verso.content">
3649 <xsl:call-template name=
"bibliography.titlepage.before.verso"/>
3650 <xsl:call-template name=
"bibliography.titlepage.verso"/>
3652 <xsl:variable name=
"verso.elements.count">
3654 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3655 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3656 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3657 <xsl:otherwise>1</xsl:otherwise>
3660 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3661 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3663 <xsl:call-template name=
"bibliography.titlepage.separator"/>
3667 <xsl:template match=
"*" mode=
"bibliography.titlepage.recto.mode">
3668 <!-- if an element isn't found in this mode, -->
3669 <!-- try the generic titlepage.mode -->
3670 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3673 <xsl:template match=
"*" mode=
"bibliography.titlepage.verso.mode">
3674 <!-- if an element isn't found in this mode, -->
3675 <!-- try the generic titlepage.mode -->
3676 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3679 <xsl:template match=
"subtitle" mode=
"bibliography.titlepage.recto.auto.mode">
3680 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"bibliography.titlepage.recto.style" font-family=
"{$title.fontset}">
3681 <xsl:apply-templates select=
"." mode=
"bibliography.titlepage.recto.mode"/>
3685 <xsl:template name=
"bibliodiv.titlepage.recto">
3687 <xsl:when test=
"bibliodivinfo/title">
3688 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"bibliodivinfo/title"/>
3690 <xsl:when test=
"docinfo/title">
3691 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"docinfo/title"/>
3693 <xsl:when test=
"info/title">
3694 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"info/title"/>
3696 <xsl:when test=
"title">
3697 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"title"/>
3702 <xsl:when test=
"bibliodivinfo/subtitle">
3703 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"bibliodivinfo/subtitle"/>
3705 <xsl:when test=
"docinfo/subtitle">
3706 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
3708 <xsl:when test=
"info/subtitle">
3709 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3711 <xsl:when test=
"subtitle">
3712 <xsl:apply-templates mode=
"bibliodiv.titlepage.recto.auto.mode" select=
"subtitle"/>
3718 <xsl:template name=
"bibliodiv.titlepage.verso">
3721 <xsl:template name=
"bibliodiv.titlepage.separator">
3724 <xsl:template name=
"bibliodiv.titlepage.before.recto">
3727 <xsl:template name=
"bibliodiv.titlepage.before.verso">
3730 <xsl:template name=
"bibliodiv.titlepage">
3731 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3732 <xsl:variable name=
"recto.content">
3733 <xsl:call-template name=
"bibliodiv.titlepage.before.recto"/>
3734 <xsl:call-template name=
"bibliodiv.titlepage.recto"/>
3736 <xsl:variable name=
"recto.elements.count">
3738 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3739 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3740 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3741 <xsl:otherwise>1</xsl:otherwise>
3744 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3745 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3747 <xsl:variable name=
"verso.content">
3748 <xsl:call-template name=
"bibliodiv.titlepage.before.verso"/>
3749 <xsl:call-template name=
"bibliodiv.titlepage.verso"/>
3751 <xsl:variable name=
"verso.elements.count">
3753 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3754 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3755 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3756 <xsl:otherwise>1</xsl:otherwise>
3759 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3760 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3762 <xsl:call-template name=
"bibliodiv.titlepage.separator"/>
3766 <xsl:template match=
"*" mode=
"bibliodiv.titlepage.recto.mode">
3767 <!-- if an element isn't found in this mode, -->
3768 <!-- try the generic titlepage.mode -->
3769 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3772 <xsl:template match=
"*" mode=
"bibliodiv.titlepage.verso.mode">
3773 <!-- if an element isn't found in this mode, -->
3774 <!-- try the generic titlepage.mode -->
3775 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3778 <xsl:template match=
"title" mode=
"bibliodiv.titlepage.recto.auto.mode">
3779 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"bibliodiv.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"20.736pt" font-family=
"{$title.fontset}" font-weight=
"bold">
3780 <xsl:call-template name=
"component.title">
3781 <xsl:with-param name=
"node" select=
"ancestor-or-self::bibliodiv[1]"/>
3782 </xsl:call-template>
3786 <xsl:template match=
"subtitle" mode=
"bibliodiv.titlepage.recto.auto.mode">
3787 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"bibliodiv.titlepage.recto.style" font-family=
"{$title.fontset}">
3788 <xsl:apply-templates select=
"." mode=
"bibliodiv.titlepage.recto.mode"/>
3792 <xsl:template name=
"glossary.titlepage.recto">
3793 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"glossary.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
3794 <xsl:call-template name=
"component.title">
3795 <xsl:with-param name=
"node" select=
"ancestor-or-self::glossary[1]"/>
3796 </xsl:call-template></fo:block>
3798 <xsl:when test=
"glossaryinfo/subtitle">
3799 <xsl:apply-templates mode=
"glossary.titlepage.recto.auto.mode" select=
"glossaryinfo/subtitle"/>
3801 <xsl:when test=
"docinfo/subtitle">
3802 <xsl:apply-templates mode=
"glossary.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
3804 <xsl:when test=
"info/subtitle">
3805 <xsl:apply-templates mode=
"glossary.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3807 <xsl:when test=
"subtitle">
3808 <xsl:apply-templates mode=
"glossary.titlepage.recto.auto.mode" select=
"subtitle"/>
3814 <xsl:template name=
"glossary.titlepage.verso">
3817 <xsl:template name=
"glossary.titlepage.separator">
3820 <xsl:template name=
"glossary.titlepage.before.recto">
3823 <xsl:template name=
"glossary.titlepage.before.verso">
3826 <xsl:template name=
"glossary.titlepage">
3827 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3828 <xsl:variable name=
"recto.content">
3829 <xsl:call-template name=
"glossary.titlepage.before.recto"/>
3830 <xsl:call-template name=
"glossary.titlepage.recto"/>
3832 <xsl:variable name=
"recto.elements.count">
3834 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3835 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3836 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3837 <xsl:otherwise>1</xsl:otherwise>
3840 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3841 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3843 <xsl:variable name=
"verso.content">
3844 <xsl:call-template name=
"glossary.titlepage.before.verso"/>
3845 <xsl:call-template name=
"glossary.titlepage.verso"/>
3847 <xsl:variable name=
"verso.elements.count">
3849 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3850 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3851 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3852 <xsl:otherwise>1</xsl:otherwise>
3855 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3856 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3858 <xsl:call-template name=
"glossary.titlepage.separator"/>
3862 <xsl:template match=
"*" mode=
"glossary.titlepage.recto.mode">
3863 <!-- if an element isn't found in this mode, -->
3864 <!-- try the generic titlepage.mode -->
3865 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3868 <xsl:template match=
"*" mode=
"glossary.titlepage.verso.mode">
3869 <!-- if an element isn't found in this mode, -->
3870 <!-- try the generic titlepage.mode -->
3871 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3874 <xsl:template match=
"subtitle" mode=
"glossary.titlepage.recto.auto.mode">
3875 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"glossary.titlepage.recto.style" font-family=
"{$title.fontset}">
3876 <xsl:apply-templates select=
"." mode=
"glossary.titlepage.recto.mode"/>
3880 <xsl:template name=
"glossdiv.titlepage.recto">
3882 <xsl:when test=
"glossdivinfo/title">
3883 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"glossdivinfo/title"/>
3885 <xsl:when test=
"docinfo/title">
3886 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"docinfo/title"/>
3888 <xsl:when test=
"info/title">
3889 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"info/title"/>
3891 <xsl:when test=
"title">
3892 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"title"/>
3897 <xsl:when test=
"glossdivinfo/subtitle">
3898 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"glossdivinfo/subtitle"/>
3900 <xsl:when test=
"docinfo/subtitle">
3901 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
3903 <xsl:when test=
"info/subtitle">
3904 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"info/subtitle"/>
3906 <xsl:when test=
"subtitle">
3907 <xsl:apply-templates mode=
"glossdiv.titlepage.recto.auto.mode" select=
"subtitle"/>
3913 <xsl:template name=
"glossdiv.titlepage.verso">
3916 <xsl:template name=
"glossdiv.titlepage.separator">
3919 <xsl:template name=
"glossdiv.titlepage.before.recto">
3922 <xsl:template name=
"glossdiv.titlepage.before.verso">
3925 <xsl:template name=
"glossdiv.titlepage">
3926 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
3927 <xsl:variable name=
"recto.content">
3928 <xsl:call-template name=
"glossdiv.titlepage.before.recto"/>
3929 <xsl:call-template name=
"glossdiv.titlepage.recto"/>
3931 <xsl:variable name=
"recto.elements.count">
3933 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3934 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3935 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
3936 <xsl:otherwise>1</xsl:otherwise>
3939 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3940 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
3942 <xsl:variable name=
"verso.content">
3943 <xsl:call-template name=
"glossdiv.titlepage.before.verso"/>
3944 <xsl:call-template name=
"glossdiv.titlepage.verso"/>
3946 <xsl:variable name=
"verso.elements.count">
3948 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3949 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3950 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
3951 <xsl:otherwise>1</xsl:otherwise>
3954 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3955 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
3957 <xsl:call-template name=
"glossdiv.titlepage.separator"/>
3961 <xsl:template match=
"*" mode=
"glossdiv.titlepage.recto.mode">
3962 <!-- if an element isn't found in this mode, -->
3963 <!-- try the generic titlepage.mode -->
3964 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3967 <xsl:template match=
"*" mode=
"glossdiv.titlepage.verso.mode">
3968 <!-- if an element isn't found in this mode, -->
3969 <!-- try the generic titlepage.mode -->
3970 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
3973 <xsl:template match=
"title" mode=
"glossdiv.titlepage.recto.auto.mode">
3974 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"glossdiv.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"20.736pt" font-family=
"{$title.fontset}" font-weight=
"bold">
3975 <xsl:call-template name=
"component.title">
3976 <xsl:with-param name=
"node" select=
"ancestor-or-self::glossdiv[1]"/>
3977 </xsl:call-template>
3981 <xsl:template match=
"subtitle" mode=
"glossdiv.titlepage.recto.auto.mode">
3982 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"glossdiv.titlepage.recto.style" font-family=
"{$title.fontset}">
3983 <xsl:apply-templates select=
"." mode=
"glossdiv.titlepage.recto.mode"/>
3987 <xsl:template name=
"index.titlepage.recto">
3988 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"index.titlepage.recto.style" margin-left=
"0pt" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
3989 <xsl:call-template name=
"component.title">
3990 <xsl:with-param name=
"node" select=
"ancestor-or-self::index[1]"/>
3991 <xsl:with-param name=
"pagewide" select=
"1"/>
3992 </xsl:call-template></fo:block>
3994 <xsl:when test=
"indexinfo/subtitle">
3995 <xsl:apply-templates mode=
"index.titlepage.recto.auto.mode" select=
"indexinfo/subtitle"/>
3997 <xsl:when test=
"docinfo/subtitle">
3998 <xsl:apply-templates mode=
"index.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
4000 <xsl:when test=
"info/subtitle">
4001 <xsl:apply-templates mode=
"index.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4003 <xsl:when test=
"subtitle">
4004 <xsl:apply-templates mode=
"index.titlepage.recto.auto.mode" select=
"subtitle"/>
4010 <xsl:template name=
"index.titlepage.verso">
4013 <xsl:template name=
"index.titlepage.separator">
4016 <xsl:template name=
"index.titlepage.before.recto">
4019 <xsl:template name=
"index.titlepage.before.verso">
4022 <xsl:template name=
"index.titlepage">
4023 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4024 <xsl:variable name=
"recto.content">
4025 <xsl:call-template name=
"index.titlepage.before.recto"/>
4026 <xsl:call-template name=
"index.titlepage.recto"/>
4028 <xsl:variable name=
"recto.elements.count">
4030 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4031 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4032 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4033 <xsl:otherwise>1</xsl:otherwise>
4036 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4037 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4039 <xsl:variable name=
"verso.content">
4040 <xsl:call-template name=
"index.titlepage.before.verso"/>
4041 <xsl:call-template name=
"index.titlepage.verso"/>
4043 <xsl:variable name=
"verso.elements.count">
4045 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4046 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4047 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4048 <xsl:otherwise>1</xsl:otherwise>
4051 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4052 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4054 <xsl:call-template name=
"index.titlepage.separator"/>
4058 <xsl:template match=
"*" mode=
"index.titlepage.recto.mode">
4059 <!-- if an element isn't found in this mode, -->
4060 <!-- try the generic titlepage.mode -->
4061 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4064 <xsl:template match=
"*" mode=
"index.titlepage.verso.mode">
4065 <!-- if an element isn't found in this mode, -->
4066 <!-- try the generic titlepage.mode -->
4067 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4070 <xsl:template match=
"subtitle" mode=
"index.titlepage.recto.auto.mode">
4071 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"index.titlepage.recto.style" font-family=
"{$title.fontset}">
4072 <xsl:apply-templates select=
"." mode=
"index.titlepage.recto.mode"/>
4076 <xsl:template name=
"indexdiv.titlepage.recto">
4077 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"indexdiv.titlepage.recto.style">
4078 <xsl:call-template name=
"indexdiv.title">
4079 <xsl:with-param name=
"title" select=
"title"/>
4080 </xsl:call-template></fo:block>
4082 <xsl:when test=
"indexdivinfo/subtitle">
4083 <xsl:apply-templates mode=
"indexdiv.titlepage.recto.auto.mode" select=
"indexdivinfo/subtitle"/>
4085 <xsl:when test=
"docinfo/subtitle">
4086 <xsl:apply-templates mode=
"indexdiv.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
4088 <xsl:when test=
"info/subtitle">
4089 <xsl:apply-templates mode=
"indexdiv.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4091 <xsl:when test=
"subtitle">
4092 <xsl:apply-templates mode=
"indexdiv.titlepage.recto.auto.mode" select=
"subtitle"/>
4098 <xsl:template name=
"indexdiv.titlepage.verso">
4101 <xsl:template name=
"indexdiv.titlepage.separator">
4104 <xsl:template name=
"indexdiv.titlepage.before.recto">
4107 <xsl:template name=
"indexdiv.titlepage.before.verso">
4110 <xsl:template name=
"indexdiv.titlepage">
4111 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4112 <xsl:variable name=
"recto.content">
4113 <xsl:call-template name=
"indexdiv.titlepage.before.recto"/>
4114 <xsl:call-template name=
"indexdiv.titlepage.recto"/>
4116 <xsl:variable name=
"recto.elements.count">
4118 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4119 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4120 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4121 <xsl:otherwise>1</xsl:otherwise>
4124 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4125 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4127 <xsl:variable name=
"verso.content">
4128 <xsl:call-template name=
"indexdiv.titlepage.before.verso"/>
4129 <xsl:call-template name=
"indexdiv.titlepage.verso"/>
4131 <xsl:variable name=
"verso.elements.count">
4133 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4134 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4135 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4136 <xsl:otherwise>1</xsl:otherwise>
4139 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4140 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4142 <xsl:call-template name=
"indexdiv.titlepage.separator"/>
4146 <xsl:template match=
"*" mode=
"indexdiv.titlepage.recto.mode">
4147 <!-- if an element isn't found in this mode, -->
4148 <!-- try the generic titlepage.mode -->
4149 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4152 <xsl:template match=
"*" mode=
"indexdiv.titlepage.verso.mode">
4153 <!-- if an element isn't found in this mode, -->
4154 <!-- try the generic titlepage.mode -->
4155 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4158 <xsl:template match=
"subtitle" mode=
"indexdiv.titlepage.recto.auto.mode">
4159 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"indexdiv.titlepage.recto.style" font-family=
"{$title.fontset}">
4160 <xsl:apply-templates select=
"." mode=
"indexdiv.titlepage.recto.mode"/>
4164 <xsl:template name=
"setindex.titlepage.recto">
4165 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"setindex.titlepage.recto.style" margin-left=
"0pt" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
4166 <xsl:call-template name=
"component.title">
4167 <xsl:with-param name=
"node" select=
"ancestor-or-self::setindex[1]"/>
4168 <xsl:with-param name=
"pagewide" select=
"1"/>
4169 </xsl:call-template></fo:block>
4171 <xsl:when test=
"setindexinfo/subtitle">
4172 <xsl:apply-templates mode=
"setindex.titlepage.recto.auto.mode" select=
"setindexinfo/subtitle"/>
4174 <xsl:when test=
"docinfo/subtitle">
4175 <xsl:apply-templates mode=
"setindex.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
4177 <xsl:when test=
"info/subtitle">
4178 <xsl:apply-templates mode=
"setindex.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4180 <xsl:when test=
"subtitle">
4181 <xsl:apply-templates mode=
"setindex.titlepage.recto.auto.mode" select=
"subtitle"/>
4187 <xsl:template name=
"setindex.titlepage.verso">
4190 <xsl:template name=
"setindex.titlepage.separator">
4193 <xsl:template name=
"setindex.titlepage.before.recto">
4196 <xsl:template name=
"setindex.titlepage.before.verso">
4199 <xsl:template name=
"setindex.titlepage">
4200 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4201 <xsl:variable name=
"recto.content">
4202 <xsl:call-template name=
"setindex.titlepage.before.recto"/>
4203 <xsl:call-template name=
"setindex.titlepage.recto"/>
4205 <xsl:variable name=
"recto.elements.count">
4207 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4208 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4209 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4210 <xsl:otherwise>1</xsl:otherwise>
4213 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4214 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4216 <xsl:variable name=
"verso.content">
4217 <xsl:call-template name=
"setindex.titlepage.before.verso"/>
4218 <xsl:call-template name=
"setindex.titlepage.verso"/>
4220 <xsl:variable name=
"verso.elements.count">
4222 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4223 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4224 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4225 <xsl:otherwise>1</xsl:otherwise>
4228 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4229 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4231 <xsl:call-template name=
"setindex.titlepage.separator"/>
4235 <xsl:template match=
"*" mode=
"setindex.titlepage.recto.mode">
4236 <!-- if an element isn't found in this mode, -->
4237 <!-- try the generic titlepage.mode -->
4238 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4241 <xsl:template match=
"*" mode=
"setindex.titlepage.verso.mode">
4242 <!-- if an element isn't found in this mode, -->
4243 <!-- try the generic titlepage.mode -->
4244 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4247 <xsl:template match=
"subtitle" mode=
"setindex.titlepage.recto.auto.mode">
4248 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"setindex.titlepage.recto.style" font-family=
"{$title.fontset}">
4249 <xsl:apply-templates select=
"." mode=
"setindex.titlepage.recto.mode"/>
4253 <xsl:template name=
"colophon.titlepage.recto">
4254 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"colophon.titlepage.recto.style" margin-left=
"{$title.margin.left}" font-size=
"24.8832pt" font-family=
"{$title.fontset}" font-weight=
"bold">
4255 <xsl:call-template name=
"component.title">
4256 <xsl:with-param name=
"node" select=
"ancestor-or-self::colophon[1]"/>
4257 </xsl:call-template></fo:block>
4259 <xsl:when test=
"colophoninfo/subtitle">
4260 <xsl:apply-templates mode=
"colophon.titlepage.recto.auto.mode" select=
"colophoninfo/subtitle"/>
4262 <xsl:when test=
"docinfo/subtitle">
4263 <xsl:apply-templates mode=
"colophon.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
4265 <xsl:when test=
"info/subtitle">
4266 <xsl:apply-templates mode=
"colophon.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4268 <xsl:when test=
"subtitle">
4269 <xsl:apply-templates mode=
"colophon.titlepage.recto.auto.mode" select=
"subtitle"/>
4275 <xsl:template name=
"colophon.titlepage.verso">
4278 <xsl:template name=
"colophon.titlepage.separator">
4281 <xsl:template name=
"colophon.titlepage.before.recto">
4284 <xsl:template name=
"colophon.titlepage.before.verso">
4287 <xsl:template name=
"colophon.titlepage">
4288 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4289 <xsl:variable name=
"recto.content">
4290 <xsl:call-template name=
"colophon.titlepage.before.recto"/>
4291 <xsl:call-template name=
"colophon.titlepage.recto"/>
4293 <xsl:variable name=
"recto.elements.count">
4295 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4296 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4297 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4298 <xsl:otherwise>1</xsl:otherwise>
4301 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4302 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4304 <xsl:variable name=
"verso.content">
4305 <xsl:call-template name=
"colophon.titlepage.before.verso"/>
4306 <xsl:call-template name=
"colophon.titlepage.verso"/>
4308 <xsl:variable name=
"verso.elements.count">
4310 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4311 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4312 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4313 <xsl:otherwise>1</xsl:otherwise>
4316 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4317 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4319 <xsl:call-template name=
"colophon.titlepage.separator"/>
4323 <xsl:template match=
"*" mode=
"colophon.titlepage.recto.mode">
4324 <!-- if an element isn't found in this mode, -->
4325 <!-- try the generic titlepage.mode -->
4326 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4329 <xsl:template match=
"*" mode=
"colophon.titlepage.verso.mode">
4330 <!-- if an element isn't found in this mode, -->
4331 <!-- try the generic titlepage.mode -->
4332 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4335 <xsl:template match=
"subtitle" mode=
"colophon.titlepage.recto.auto.mode">
4336 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"colophon.titlepage.recto.style" font-family=
"{$title.fontset}">
4337 <xsl:apply-templates select=
"." mode=
"colophon.titlepage.recto.mode"/>
4341 <xsl:template name=
"sidebar.titlepage.recto">
4343 <xsl:when test=
"sidebarinfo/title">
4344 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"sidebarinfo/title"/>
4346 <xsl:when test=
"docinfo/title">
4347 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"docinfo/title"/>
4349 <xsl:when test=
"info/title">
4350 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"info/title"/>
4352 <xsl:when test=
"title">
4353 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"title"/>
4358 <xsl:when test=
"sidebarinfo/subtitle">
4359 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"sidebarinfo/subtitle"/>
4361 <xsl:when test=
"docinfo/subtitle">
4362 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"docinfo/subtitle"/>
4364 <xsl:when test=
"info/subtitle">
4365 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4367 <xsl:when test=
"subtitle">
4368 <xsl:apply-templates mode=
"sidebar.titlepage.recto.auto.mode" select=
"subtitle"/>
4374 <xsl:template name=
"sidebar.titlepage.verso">
4377 <xsl:template name=
"sidebar.titlepage.separator">
4380 <xsl:template name=
"sidebar.titlepage.before.recto">
4383 <xsl:template name=
"sidebar.titlepage.before.verso">
4386 <xsl:template name=
"sidebar.titlepage">
4387 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4388 <xsl:variable name=
"recto.content">
4389 <xsl:call-template name=
"sidebar.titlepage.before.recto"/>
4390 <xsl:call-template name=
"sidebar.titlepage.recto"/>
4392 <xsl:variable name=
"recto.elements.count">
4394 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4395 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4396 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4397 <xsl:otherwise>1</xsl:otherwise>
4400 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4401 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4403 <xsl:variable name=
"verso.content">
4404 <xsl:call-template name=
"sidebar.titlepage.before.verso"/>
4405 <xsl:call-template name=
"sidebar.titlepage.verso"/>
4407 <xsl:variable name=
"verso.elements.count">
4409 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4410 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4411 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4412 <xsl:otherwise>1</xsl:otherwise>
4415 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4416 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4418 <xsl:call-template name=
"sidebar.titlepage.separator"/>
4422 <xsl:template match=
"*" mode=
"sidebar.titlepage.recto.mode">
4423 <!-- if an element isn't found in this mode, -->
4424 <!-- try the generic titlepage.mode -->
4425 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4428 <xsl:template match=
"*" mode=
"sidebar.titlepage.verso.mode">
4429 <!-- if an element isn't found in this mode, -->
4430 <!-- try the generic titlepage.mode -->
4431 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4434 <xsl:template match=
"title" mode=
"sidebar.titlepage.recto.auto.mode">
4435 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sidebar.titlepage.recto.style" font-family=
"{$title.fontset}" font-weight=
"bold">
4436 <xsl:apply-templates select=
"." mode=
"sidebar.titlepage.recto.mode"/>
4440 <xsl:template match=
"subtitle" mode=
"sidebar.titlepage.recto.auto.mode">
4441 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"sidebar.titlepage.recto.style" font-family=
"{$title.fontset}">
4442 <xsl:apply-templates select=
"." mode=
"sidebar.titlepage.recto.mode"/>
4446 <xsl:template name=
"qandaset.titlepage.recto">
4448 <xsl:when test=
"qandasetinfo/title">
4449 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/title"/>
4451 <xsl:when test=
"blockinfo/title">
4452 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/title"/>
4454 <xsl:when test=
"info/title">
4455 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/title"/>
4457 <xsl:when test=
"title">
4458 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"title"/>
4463 <xsl:when test=
"qandasetinfo/subtitle">
4464 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/subtitle"/>
4466 <xsl:when test=
"blockinfo/subtitle">
4467 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/subtitle"/>
4469 <xsl:when test=
"info/subtitle">
4470 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/subtitle"/>
4472 <xsl:when test=
"subtitle">
4473 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"subtitle"/>
4477 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/corpauthor"/>
4478 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/corpauthor"/>
4479 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/corpauthor"/>
4480 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/authorgroup"/>
4481 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/authorgroup"/>
4482 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/authorgroup"/>
4483 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/author"/>
4484 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/author"/>
4485 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/author"/>
4486 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/othercredit"/>
4487 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/othercredit"/>
4488 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/othercredit"/>
4489 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/releaseinfo"/>
4490 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/releaseinfo"/>
4491 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/releaseinfo"/>
4492 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/copyright"/>
4493 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/copyright"/>
4494 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/copyright"/>
4495 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/legalnotice"/>
4496 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/legalnotice"/>
4497 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/legalnotice"/>
4498 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/pubdate"/>
4499 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/pubdate"/>
4500 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/pubdate"/>
4501 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/revision"/>
4502 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/revision"/>
4503 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/revision"/>
4504 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/revhistory"/>
4505 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/revhistory"/>
4506 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/revhistory"/>
4507 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"qandasetinfo/abstract"/>
4508 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"blockinfo/abstract"/>
4509 <xsl:apply-templates mode=
"qandaset.titlepage.recto.auto.mode" select=
"info/abstract"/>
4512 <xsl:template name=
"qandaset.titlepage.verso">
4515 <xsl:template name=
"qandaset.titlepage.separator">
4518 <xsl:template name=
"qandaset.titlepage.before.recto">
4521 <xsl:template name=
"qandaset.titlepage.before.verso">
4524 <xsl:template name=
"qandaset.titlepage">
4525 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" font-family=
"{$title.fontset}">
4526 <xsl:variable name=
"recto.content">
4527 <xsl:call-template name=
"qandaset.titlepage.before.recto"/>
4528 <xsl:call-template name=
"qandaset.titlepage.recto"/>
4530 <xsl:variable name=
"recto.elements.count">
4532 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4533 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4534 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4535 <xsl:otherwise>1</xsl:otherwise>
4538 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4539 <fo:block start-indent=
"0pt" text-align=
"center"><xsl:copy-of select=
"$recto.content"/></fo:block>
4541 <xsl:variable name=
"verso.content">
4542 <xsl:call-template name=
"qandaset.titlepage.before.verso"/>
4543 <xsl:call-template name=
"qandaset.titlepage.verso"/>
4545 <xsl:variable name=
"verso.elements.count">
4547 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4548 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4549 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4550 <xsl:otherwise>1</xsl:otherwise>
4553 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4554 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4556 <xsl:call-template name=
"qandaset.titlepage.separator"/>
4560 <xsl:template match=
"*" mode=
"qandaset.titlepage.recto.mode">
4561 <!-- if an element isn't found in this mode, -->
4562 <!-- try the generic titlepage.mode -->
4563 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4566 <xsl:template match=
"*" mode=
"qandaset.titlepage.verso.mode">
4567 <!-- if an element isn't found in this mode, -->
4568 <!-- try the generic titlepage.mode -->
4569 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4572 <xsl:template match=
"title" mode=
"qandaset.titlepage.recto.auto.mode">
4573 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" keep-with-next.
within-column=
"always" font-size=
"24.8832pt" font-weight=
"bold">
4574 <xsl:call-template name=
"component.title">
4575 <xsl:with-param name=
"node" select=
"ancestor-or-self::qandaset[1]"/>
4576 </xsl:call-template>
4580 <xsl:template match=
"subtitle" mode=
"qandaset.titlepage.recto.auto.mode">
4581 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style">
4582 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4586 <xsl:template match=
"corpauthor" mode=
"qandaset.titlepage.recto.auto.mode">
4587 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em" font-size=
"14.4pt">
4588 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4592 <xsl:template match=
"authorgroup" mode=
"qandaset.titlepage.recto.auto.mode">
4593 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em" font-size=
"14.4pt">
4594 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4598 <xsl:template match=
"author" mode=
"qandaset.titlepage.recto.auto.mode">
4599 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em" font-size=
"14.4pt">
4600 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4604 <xsl:template match=
"othercredit" mode=
"qandaset.titlepage.recto.auto.mode">
4605 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4606 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4610 <xsl:template match=
"releaseinfo" mode=
"qandaset.titlepage.recto.auto.mode">
4611 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4612 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4616 <xsl:template match=
"copyright" mode=
"qandaset.titlepage.recto.auto.mode">
4617 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4618 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4622 <xsl:template match=
"legalnotice" mode=
"qandaset.titlepage.recto.auto.mode">
4623 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" text-align=
"start" margin-left=
"0.5in" margin-right=
"0.5in" font-family=
"{$body.fontset}">
4624 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4628 <xsl:template match=
"pubdate" mode=
"qandaset.titlepage.recto.auto.mode">
4629 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4630 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4634 <xsl:template match=
"revision" mode=
"qandaset.titlepage.recto.auto.mode">
4635 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4636 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4640 <xsl:template match=
"revhistory" mode=
"qandaset.titlepage.recto.auto.mode">
4641 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em">
4642 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4646 <xsl:template match=
"abstract" mode=
"qandaset.titlepage.recto.auto.mode">
4647 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"qandaset.titlepage.recto.style" space-before=
"0.5em" text-align=
"start" margin-left=
"0.5in" margin-right=
"0.5in" font-family=
"{$body.fontset}">
4648 <xsl:apply-templates select=
"." mode=
"qandaset.titlepage.recto.mode"/>
4652 <xsl:template name=
"table.of.contents.titlepage.recto">
4653 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"table.of.contents.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4654 <xsl:call-template name=
"gentext">
4655 <xsl:with-param name=
"key" select=
"'TableofContents'"/>
4656 </xsl:call-template></fo:block>
4659 <xsl:template name=
"table.of.contents.titlepage.verso">
4662 <xsl:template name=
"table.of.contents.titlepage.separator">
4665 <xsl:template name=
"table.of.contents.titlepage.before.recto">
4668 <xsl:template name=
"table.of.contents.titlepage.before.verso">
4671 <xsl:template name=
"table.of.contents.titlepage">
4672 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4673 <xsl:variable name=
"recto.content">
4674 <xsl:call-template name=
"table.of.contents.titlepage.before.recto"/>
4675 <xsl:call-template name=
"table.of.contents.titlepage.recto"/>
4677 <xsl:variable name=
"recto.elements.count">
4679 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4680 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4681 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4682 <xsl:otherwise>1</xsl:otherwise>
4685 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4686 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4688 <xsl:variable name=
"verso.content">
4689 <xsl:call-template name=
"table.of.contents.titlepage.before.verso"/>
4690 <xsl:call-template name=
"table.of.contents.titlepage.verso"/>
4692 <xsl:variable name=
"verso.elements.count">
4694 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4695 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4696 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4697 <xsl:otherwise>1</xsl:otherwise>
4700 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4701 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4703 <xsl:call-template name=
"table.of.contents.titlepage.separator"/>
4708 <xsl:template match=
"*" mode=
"table.of.contents.titlepage.recto.mode">
4709 <!-- if an element isn't found in this mode, -->
4710 <!-- try the generic titlepage.mode -->
4711 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4714 <xsl:template match=
"*" mode=
"table.of.contents.titlepage.verso.mode">
4715 <!-- if an element isn't found in this mode, -->
4716 <!-- try the generic titlepage.mode -->
4717 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4720 <xsl:template name=
"list.of.tables.titlepage.recto">
4721 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.tables.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4722 <xsl:call-template name=
"gentext">
4723 <xsl:with-param name=
"key" select=
"'ListofTables'"/>
4724 </xsl:call-template></fo:block>
4727 <xsl:template name=
"list.of.tables.titlepage.verso">
4730 <xsl:template name=
"list.of.tables.titlepage.separator">
4733 <xsl:template name=
"list.of.tables.titlepage.before.recto">
4736 <xsl:template name=
"list.of.tables.titlepage.before.verso">
4739 <xsl:template name=
"list.of.tables.titlepage">
4740 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4741 <xsl:variable name=
"recto.content">
4742 <xsl:call-template name=
"list.of.tables.titlepage.before.recto"/>
4743 <xsl:call-template name=
"list.of.tables.titlepage.recto"/>
4745 <xsl:variable name=
"recto.elements.count">
4747 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4748 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4749 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4750 <xsl:otherwise>1</xsl:otherwise>
4753 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4754 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4756 <xsl:variable name=
"verso.content">
4757 <xsl:call-template name=
"list.of.tables.titlepage.before.verso"/>
4758 <xsl:call-template name=
"list.of.tables.titlepage.verso"/>
4760 <xsl:variable name=
"verso.elements.count">
4762 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4763 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4764 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4765 <xsl:otherwise>1</xsl:otherwise>
4768 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4769 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4771 <xsl:call-template name=
"list.of.tables.titlepage.separator"/>
4775 <xsl:template match=
"*" mode=
"list.of.tables.titlepage.recto.mode">
4776 <!-- if an element isn't found in this mode, -->
4777 <!-- try the generic titlepage.mode -->
4778 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4781 <xsl:template match=
"*" mode=
"list.of.tables.titlepage.verso.mode">
4782 <!-- if an element isn't found in this mode, -->
4783 <!-- try the generic titlepage.mode -->
4784 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4787 <xsl:template name=
"list.of.figures.titlepage.recto">
4788 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.figures.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4789 <xsl:call-template name=
"gentext">
4790 <xsl:with-param name=
"key" select=
"'ListofFigures'"/>
4791 </xsl:call-template></fo:block>
4794 <xsl:template name=
"list.of.figures.titlepage.verso">
4797 <xsl:template name=
"list.of.figures.titlepage.separator">
4800 <xsl:template name=
"list.of.figures.titlepage.before.recto">
4803 <xsl:template name=
"list.of.figures.titlepage.before.verso">
4806 <xsl:template name=
"list.of.figures.titlepage">
4807 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4808 <xsl:variable name=
"recto.content">
4809 <xsl:call-template name=
"list.of.figures.titlepage.before.recto"/>
4810 <xsl:call-template name=
"list.of.figures.titlepage.recto"/>
4812 <xsl:variable name=
"recto.elements.count">
4814 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4815 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4816 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4817 <xsl:otherwise>1</xsl:otherwise>
4820 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4821 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4823 <xsl:variable name=
"verso.content">
4824 <xsl:call-template name=
"list.of.figures.titlepage.before.verso"/>
4825 <xsl:call-template name=
"list.of.figures.titlepage.verso"/>
4827 <xsl:variable name=
"verso.elements.count">
4829 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4830 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4831 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4832 <xsl:otherwise>1</xsl:otherwise>
4835 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4836 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4838 <xsl:call-template name=
"list.of.figures.titlepage.separator"/>
4842 <xsl:template match=
"*" mode=
"list.of.figures.titlepage.recto.mode">
4843 <!-- if an element isn't found in this mode, -->
4844 <!-- try the generic titlepage.mode -->
4845 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4848 <xsl:template match=
"*" mode=
"list.of.figures.titlepage.verso.mode">
4849 <!-- if an element isn't found in this mode, -->
4850 <!-- try the generic titlepage.mode -->
4851 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4854 <xsl:template name=
"list.of.examples.titlepage.recto">
4855 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.examples.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4856 <xsl:call-template name=
"gentext">
4857 <xsl:with-param name=
"key" select=
"'ListofExamples'"/>
4858 </xsl:call-template></fo:block>
4861 <xsl:template name=
"list.of.examples.titlepage.verso">
4864 <xsl:template name=
"list.of.examples.titlepage.separator">
4867 <xsl:template name=
"list.of.examples.titlepage.before.recto">
4870 <xsl:template name=
"list.of.examples.titlepage.before.verso">
4873 <xsl:template name=
"list.of.examples.titlepage">
4874 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4875 <xsl:variable name=
"recto.content">
4876 <xsl:call-template name=
"list.of.examples.titlepage.before.recto"/>
4877 <xsl:call-template name=
"list.of.examples.titlepage.recto"/>
4879 <xsl:variable name=
"recto.elements.count">
4881 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4882 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4883 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4884 <xsl:otherwise>1</xsl:otherwise>
4887 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4888 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4890 <xsl:variable name=
"verso.content">
4891 <xsl:call-template name=
"list.of.examples.titlepage.before.verso"/>
4892 <xsl:call-template name=
"list.of.examples.titlepage.verso"/>
4894 <xsl:variable name=
"verso.elements.count">
4896 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4897 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4898 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4899 <xsl:otherwise>1</xsl:otherwise>
4902 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4903 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4905 <xsl:call-template name=
"list.of.examples.titlepage.separator"/>
4909 <xsl:template match=
"*" mode=
"list.of.examples.titlepage.recto.mode">
4910 <!-- if an element isn't found in this mode, -->
4911 <!-- try the generic titlepage.mode -->
4912 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4915 <xsl:template match=
"*" mode=
"list.of.examples.titlepage.verso.mode">
4916 <!-- if an element isn't found in this mode, -->
4917 <!-- try the generic titlepage.mode -->
4918 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4921 <xsl:template name=
"list.of.equations.titlepage.recto">
4922 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.equations.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4923 <xsl:call-template name=
"gentext">
4924 <xsl:with-param name=
"key" select=
"'ListofEquations'"/>
4925 </xsl:call-template></fo:block>
4928 <xsl:template name=
"list.of.equations.titlepage.verso">
4931 <xsl:template name=
"list.of.equations.titlepage.separator">
4934 <xsl:template name=
"list.of.equations.titlepage.before.recto">
4937 <xsl:template name=
"list.of.equations.titlepage.before.verso">
4940 <xsl:template name=
"list.of.equations.titlepage">
4941 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
4942 <xsl:variable name=
"recto.content">
4943 <xsl:call-template name=
"list.of.equations.titlepage.before.recto"/>
4944 <xsl:call-template name=
"list.of.equations.titlepage.recto"/>
4946 <xsl:variable name=
"recto.elements.count">
4948 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4949 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4950 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
4951 <xsl:otherwise>1</xsl:otherwise>
4954 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4955 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
4957 <xsl:variable name=
"verso.content">
4958 <xsl:call-template name=
"list.of.equations.titlepage.before.verso"/>
4959 <xsl:call-template name=
"list.of.equations.titlepage.verso"/>
4961 <xsl:variable name=
"verso.elements.count">
4963 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4964 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4965 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
4966 <xsl:otherwise>1</xsl:otherwise>
4969 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4970 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
4972 <xsl:call-template name=
"list.of.equations.titlepage.separator"/>
4976 <xsl:template match=
"*" mode=
"list.of.equations.titlepage.recto.mode">
4977 <!-- if an element isn't found in this mode, -->
4978 <!-- try the generic titlepage.mode -->
4979 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4982 <xsl:template match=
"*" mode=
"list.of.equations.titlepage.verso.mode">
4983 <!-- if an element isn't found in this mode, -->
4984 <!-- try the generic titlepage.mode -->
4985 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
4988 <xsl:template name=
"list.of.procedures.titlepage.recto">
4989 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.procedures.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
4990 <xsl:call-template name=
"gentext">
4991 <xsl:with-param name=
"key" select=
"'ListofProcedures'"/>
4992 </xsl:call-template></fo:block>
4995 <xsl:template name=
"list.of.procedures.titlepage.verso">
4998 <xsl:template name=
"list.of.procedures.titlepage.separator">
5001 <xsl:template name=
"list.of.procedures.titlepage.before.recto">
5004 <xsl:template name=
"list.of.procedures.titlepage.before.verso">
5007 <xsl:template name=
"list.of.procedures.titlepage">
5008 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
5009 <xsl:variable name=
"recto.content">
5010 <xsl:call-template name=
"list.of.procedures.titlepage.before.recto"/>
5011 <xsl:call-template name=
"list.of.procedures.titlepage.recto"/>
5013 <xsl:variable name=
"recto.elements.count">
5015 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
5016 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5017 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
5018 <xsl:otherwise>1</xsl:otherwise>
5021 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5022 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
5024 <xsl:variable name=
"verso.content">
5025 <xsl:call-template name=
"list.of.procedures.titlepage.before.verso"/>
5026 <xsl:call-template name=
"list.of.procedures.titlepage.verso"/>
5028 <xsl:variable name=
"verso.elements.count">
5030 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
5031 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5032 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
5033 <xsl:otherwise>1</xsl:otherwise>
5036 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5037 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
5039 <xsl:call-template name=
"list.of.procedures.titlepage.separator"/>
5043 <xsl:template match=
"*" mode=
"list.of.procedures.titlepage.recto.mode">
5044 <!-- if an element isn't found in this mode, -->
5045 <!-- try the generic titlepage.mode -->
5046 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
5049 <xsl:template match=
"*" mode=
"list.of.procedures.titlepage.verso.mode">
5050 <!-- if an element isn't found in this mode, -->
5051 <!-- try the generic titlepage.mode -->
5052 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
5055 <xsl:template name=
"list.of.unknowns.titlepage.recto">
5056 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"list.of.unknowns.titlepage.recto.style" space-before.
minimum=
"1em" space-before.
optimum=
"1.5em" space-before.
maximum=
"2em" space-after=
"0.5em" margin-left=
"{$title.margin.left}" start-indent=
"0pt" font-size=
"17.28pt" font-weight=
"bold" font-family=
"{$title.fontset}">
5057 <xsl:call-template name=
"gentext">
5058 <xsl:with-param name=
"key" select=
"'ListofUnknown'"/>
5059 </xsl:call-template></fo:block>
5062 <xsl:template name=
"list.of.unknowns.titlepage.verso">
5065 <xsl:template name=
"list.of.unknowns.titlepage.separator">
5068 <xsl:template name=
"list.of.unknowns.titlepage.before.recto">
5071 <xsl:template name=
"list.of.unknowns.titlepage.before.verso">
5074 <xsl:template name=
"list.of.unknowns.titlepage">
5075 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
5076 <xsl:variable name=
"recto.content">
5077 <xsl:call-template name=
"list.of.unknowns.titlepage.before.recto"/>
5078 <xsl:call-template name=
"list.of.unknowns.titlepage.recto"/>
5080 <xsl:variable name=
"recto.elements.count">
5082 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
5083 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5084 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($recto.content)/*)"/></xsl:when>
5085 <xsl:otherwise>1</xsl:otherwise>
5088 <xsl:if test=
"(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5089 <fo:block><xsl:copy-of select=
"$recto.content"/></fo:block>
5091 <xsl:variable name=
"verso.content">
5092 <xsl:call-template name=
"list.of.unknowns.titlepage.before.verso"/>
5093 <xsl:call-template name=
"list.of.unknowns.titlepage.verso"/>
5095 <xsl:variable name=
"verso.elements.count">
5097 <xsl:when test=
"function-available('exsl:node-set')"><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
5098 <xsl:when test=
"contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5099 <!--Xalan quirk--><xsl:value-of select=
"count(exsl:node-set($verso.content)/*)"/></xsl:when>
5100 <xsl:otherwise>1</xsl:otherwise>
5103 <xsl:if test=
"(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5104 <fo:block><xsl:copy-of select=
"$verso.content"/></fo:block>
5106 <xsl:call-template name=
"list.of.unknowns.titlepage.separator"/>
5110 <xsl:template match=
"*" mode=
"list.of.unknowns.titlepage.recto.mode">
5111 <!-- if an element isn't found in this mode, -->
5112 <!-- try the generic titlepage.mode -->
5113 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
5116 <xsl:template match=
"*" mode=
"list.of.unknowns.titlepage.verso.mode">
5117 <!-- if an element isn't found in this mode, -->
5118 <!-- try the generic titlepage.mode -->
5119 <xsl:apply-templates select=
"." mode=
"titlepage.mode"/>
5123 <!-- special titlepage masters for SCons Titlepage style in books -->
5124 <xsl:template name=
"user.pagemasters">
5125 <!-- title pages -->
5126 <fo:simple-page-master master-name=
"scons-titlepage-first"
5127 page-width=
"{$page.width}"
5128 page-height=
"{$page.height}"
5133 <xsl:attribute name=
"margin-{$direction.align.start}" select=
"0mm"/>
5134 <xsl:attribute name=
"margin-{$direction.align.end}" select=
"0mm"/>
5135 <xsl:if test=
"$axf.extensions != 0">
5136 <xsl:call-template name=
"axf-page-master-properties">
5137 <xsl:with-param name=
"page.master">scons-titlepage-first
</xsl:with-param>
5138 </xsl:call-template>
5140 <fo:region-body margin-bottom=
"0mm"
5143 column-count=
"{$column.count.titlepage}"
5144 background-repeat=
"no-repeat"
5145 background-image=
"url(titlepage/mapnik_final_colors.svg)"
5146 background-position-vertical=
"center"
5147 background-position-horizontal=
"center">
5149 <fo:region-before region-name=
"xsl-region-before-first"
5150 extent=
"{$region.before.extent}"
5151 display-align=
"before"/>
5152 <fo:region-after region-name=
"xsl-region-after-first"
5153 extent=
"{$region.after.extent}"
5154 display-align=
"after"/>
5155 </fo:simple-page-master>
5157 <fo:simple-page-master master-name=
"scons-titlepage-odd"
5158 page-width=
"{$page.width}"
5159 page-height=
"{$page.height}"
5160 margin-top=
"{$page.margin.top}"
5161 margin-bottom=
"{$page.margin.bottom}">
5162 <xsl:attribute name=
"margin-{$direction.align.start}">
5163 <xsl:value-of select=
"$page.margin.outer"/>
5164 <xsl:if test=
"$fop.extensions != 0">
5165 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5168 <xsl:attribute name=
"margin-{$direction.align.end}">
5169 <xsl:value-of select=
"$page.margin.inner"/>
5171 <xsl:if test=
"$axf.extensions != 0">
5172 <xsl:call-template name=
"axf-page-master-properties">
5173 <xsl:with-param name=
"page.master">scons-titlepage-odd
</xsl:with-param>
5174 </xsl:call-template>
5176 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5177 margin-top=
"{$body.margin.top}"
5178 column-gap=
"{$column.gap.titlepage}"
5179 column-count=
"{$column.count.titlepage}">
5181 <fo:region-before region-name=
"xsl-region-before-odd"
5182 extent=
"{$region.before.extent}"
5183 display-align=
"before"/>
5184 <fo:region-after region-name=
"xsl-region-after-odd"
5185 extent=
"{$region.after.extent}"
5186 display-align=
"after"/>
5187 </fo:simple-page-master>
5189 <fo:simple-page-master master-name=
"scons-titlepage-even"
5190 page-width=
"{$page.width}"
5191 page-height=
"{$page.height}"
5192 margin-top=
"{$page.margin.top}"
5193 margin-bottom=
"{$page.margin.bottom}">
5194 <xsl:attribute name=
"margin-{$direction.align.start}">
5195 <xsl:value-of select=
"$page.margin.outer"/>
5196 <xsl:if test=
"$fop.extensions != 0">
5197 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5200 <xsl:attribute name=
"margin-{$direction.align.end}">
5201 <xsl:value-of select=
"$page.margin.inner"/>
5203 <xsl:if test=
"$axf.extensions != 0">
5204 <xsl:call-template name=
"axf-page-master-properties">
5205 <xsl:with-param name=
"page.master">scons-titlepage-even
</xsl:with-param>
5206 </xsl:call-template>
5208 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5209 margin-top=
"{$body.margin.top}"
5210 column-gap=
"{$column.gap.titlepage}"
5211 column-count=
"{$column.count.titlepage}">
5213 <fo:region-before region-name=
"xsl-region-before-even"
5214 extent=
"{$region.before.extent}"
5215 display-align=
"before"/>
5216 <fo:region-after region-name=
"xsl-region-after-even"
5217 extent=
"{$region.after.extent}"
5218 display-align=
"after"/>
5219 </fo:simple-page-master>
5221 <!-- chapter pages -->
5222 <fo:simple-page-master master-name=
"scons-chapter-first"
5223 page-width=
"{$page.width}"
5224 page-height=
"{$page.height}"
5225 margin-top=
"{$page.margin.top}"
5226 margin-bottom=
"{$page.margin.bottom}">
5227 <xsl:attribute name=
"margin-{$direction.align.start}">
5228 <xsl:value-of select=
"$page.margin.outer"/>
5229 <xsl:if test=
"$fop.extensions != 0">
5230 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5233 <xsl:attribute name=
"margin-{$direction.align.end}">
5234 <xsl:value-of select=
"$page.margin.inner"/>
5236 <xsl:if test=
"$axf.extensions != 0">
5237 <xsl:call-template name=
"axf-page-master-properties">
5238 <xsl:with-param name=
"page.master">scons-chapter-first
</xsl:with-param>
5239 </xsl:call-template>
5241 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5242 margin-top=
"{$body.margin.top}"
5243 column-gap=
"{$column.gap.titlepage}"
5244 column-count=
"{$column.count.titlepage}">
5246 <fo:region-before region-name=
"xsl-region-before-first"
5247 extent=
"{$region.before.extent}"
5248 display-align=
"before"/>
5249 <fo:region-after region-name=
"xsl-region-after-first"
5250 extent=
"{$region.after.extent}"
5251 display-align=
"after"/>
5252 </fo:simple-page-master>
5254 <fo:simple-page-master master-name=
"scons-chapter-odd"
5255 page-width=
"{$page.width}"
5256 page-height=
"{$page.height}"
5257 margin-top=
"{$page.margin.top}"
5258 margin-bottom=
"{$page.margin.bottom}">
5259 <xsl:attribute name=
"margin-{$direction.align.start}">
5260 <xsl:value-of select=
"$page.margin.outer"/>
5261 <xsl:if test=
"$fop.extensions != 0">
5262 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5265 <xsl:attribute name=
"margin-{$direction.align.end}">
5266 <xsl:value-of select=
"$page.margin.inner"/>
5268 <xsl:if test=
"$axf.extensions != 0">
5269 <xsl:call-template name=
"axf-page-master-properties">
5270 <xsl:with-param name=
"page.master">scons-chapter-odd
</xsl:with-param>
5271 </xsl:call-template>
5273 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5274 margin-top=
"{$body.margin.top}"
5275 column-gap=
"{$column.gap.body}"
5276 column-count=
"{$column.count.body}">
5278 <fo:region-before region-name=
"xsl-region-before-odd"
5279 extent=
"{$region.before.extent}"
5280 display-align=
"before"/>
5281 <fo:region-after region-name=
"xsl-region-after-odd"
5282 extent=
"{$region.after.extent}"
5283 display-align=
"after"/>
5284 </fo:simple-page-master>
5286 <fo:simple-page-master master-name=
"scons-chapter-even"
5287 page-width=
"{$page.width}"
5288 page-height=
"{$page.height}"
5289 margin-top=
"{$page.margin.top}"
5290 margin-bottom=
"{$page.margin.bottom}">
5291 <xsl:attribute name=
"margin-{$direction.align.start}">
5292 <xsl:value-of select=
"$page.margin.outer"/>
5293 <xsl:if test=
"$fop.extensions != 0">
5294 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5297 <xsl:attribute name=
"margin-{$direction.align.end}">
5298 <xsl:value-of select=
"$page.margin.inner"/>
5300 <xsl:if test=
"$axf.extensions != 0">
5301 <xsl:call-template name=
"axf-page-master-properties">
5302 <xsl:with-param name=
"page.master">scons-chapter-even
</xsl:with-param>
5303 </xsl:call-template>
5305 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5306 margin-top=
"{$body.margin.top}"
5307 column-gap=
"{$column.gap.body}"
5308 column-count=
"{$column.count.body}">
5310 <fo:region-before region-name=
"xsl-region-before-even"
5311 extent=
"{$region.before.extent}"
5312 display-align=
"before"/>
5313 <fo:region-after region-name=
"xsl-region-after-even"
5314 extent=
"{$region.after.extent}"
5315 display-align=
"after"/>
5316 </fo:simple-page-master>
5318 <!-- definition of pagemasters for draft mode -->
5319 <xsl:if test=
"$draft.mode != 'no'">
5320 <!-- draft title pages -->
5321 <fo:simple-page-master master-name=
"scons-titlepage-first-draft"
5322 page-width=
"{$page.width}"
5323 page-height=
"{$page.height}"
5324 margin-top=
"{$page.margin.top}"
5325 margin-bottom=
"{$page.margin.bottom}">
5326 <xsl:attribute name=
"margin-{$direction.align.start}">
5327 <xsl:value-of select=
"$page.margin.outer"/>
5328 <xsl:if test=
"$fop.extensions != 0">
5329 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5332 <xsl:attribute name=
"margin-{$direction.align.end}">
5333 <xsl:value-of select=
"$page.margin.inner"/>
5335 <xsl:if test=
"$axf.extensions != 0">
5336 <xsl:call-template name=
"axf-page-master-properties">
5337 <xsl:with-param name=
"page.master">scons-titlepage-first-draft
</xsl:with-param>
5338 </xsl:call-template>
5340 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5341 margin-top=
"{$body.margin.top}"
5342 column-gap=
"{$column.gap.titlepage}"
5343 column-count=
"{$column.count.titlepage}">
5344 <xsl:if test=
"$draft.watermark.image != ''">
5345 <xsl:attribute name=
"background-image">
5346 <xsl:call-template name=
"fo-external-image">
5347 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5348 </xsl:call-template>
5350 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5351 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5352 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5353 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5356 <fo:region-before region-name=
"xsl-region-before-first"
5357 extent=
"{$region.before.extent}"
5358 display-align=
"before"/>
5359 <fo:region-after region-name=
"xsl-region-after-first"
5360 extent=
"{$region.after.extent}"
5361 display-align=
"after"/>
5362 </fo:simple-page-master>
5364 <fo:simple-page-master master-name=
"scons-titlepage-odd-draft"
5365 page-width=
"{$page.width}"
5366 page-height=
"{$page.height}"
5367 margin-top=
"{$page.margin.top}"
5368 margin-bottom=
"{$page.margin.bottom}">
5369 <xsl:attribute name=
"margin-{$direction.align.start}">
5370 <xsl:value-of select=
"$page.margin.outer"/>
5371 <xsl:if test=
"$fop.extensions != 0">
5372 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5375 <xsl:attribute name=
"margin-{$direction.align.end}">
5376 <xsl:value-of select=
"$page.margin.inner"/>
5378 <xsl:if test=
"$axf.extensions != 0">
5379 <xsl:call-template name=
"axf-page-master-properties">
5380 <xsl:with-param name=
"page.master">scons-titlepage-odd-draft
</xsl:with-param>
5381 </xsl:call-template>
5383 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5384 margin-top=
"{$body.margin.top}"
5385 column-gap=
"{$column.gap.titlepage}"
5386 column-count=
"{$column.count.titlepage}">
5387 <xsl:if test=
"$draft.watermark.image != ''">
5388 <xsl:attribute name=
"background-image">
5389 <xsl:call-template name=
"fo-external-image">
5390 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5391 </xsl:call-template>
5393 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5394 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5395 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5396 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5399 <fo:region-before region-name=
"xsl-region-before-odd"
5400 extent=
"{$region.before.extent}"
5401 display-align=
"before"/>
5402 <fo:region-after region-name=
"xsl-region-after-odd"
5403 extent=
"{$region.after.extent}"
5404 display-align=
"after"/>
5405 </fo:simple-page-master>
5407 <fo:simple-page-master master-name=
"scons-titlepage-even-draft"
5408 page-width=
"{$page.width}"
5409 page-height=
"{$page.height}"
5410 margin-top=
"{$page.margin.top}"
5411 margin-bottom=
"{$page.margin.bottom}">
5412 <xsl:attribute name=
"margin-{$direction.align.start}">
5413 <xsl:value-of select=
"$page.margin.outer"/>
5414 <xsl:if test=
"$fop.extensions != 0">
5415 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5418 <xsl:attribute name=
"margin-{$direction.align.end}">
5419 <xsl:value-of select=
"$page.margin.inner"/>
5421 <xsl:if test=
"$axf.extensions != 0">
5422 <xsl:call-template name=
"axf-page-master-properties">
5423 <xsl:with-param name=
"page.master">scons-titlepage-even-draft
</xsl:with-param>
5424 </xsl:call-template>
5426 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5427 margin-top=
"{$body.margin.top}"
5428 column-gap=
"{$column.gap.titlepage}"
5429 column-count=
"{$column.count.titlepage}">
5430 <xsl:if test=
"$draft.watermark.image != ''">
5431 <xsl:attribute name=
"background-image">
5432 <xsl:call-template name=
"fo-external-image">
5433 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5434 </xsl:call-template>
5436 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5437 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5438 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5439 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5442 <fo:region-before region-name=
"xsl-region-before-even"
5443 extent=
"{$region.before.extent}"
5444 display-align=
"before"/>
5445 <fo:region-after region-name=
"xsl-region-after-even"
5446 extent=
"{$region.after.extent}"
5447 display-align=
"after"/>
5448 </fo:simple-page-master>
5450 <!-- draft chapter pages -->
5451 <fo:simple-page-master master-name=
"scons-chapter-first-draft"
5452 page-width=
"{$page.width}"
5453 page-height=
"{$page.height}"
5454 margin-top=
"{$page.margin.top}"
5455 margin-bottom=
"{$page.margin.bottom}">
5456 <xsl:attribute name=
"margin-{$direction.align.start}">
5457 <xsl:value-of select=
"$page.margin.outer"/>
5458 <xsl:if test=
"$fop.extensions != 0">
5459 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5462 <xsl:attribute name=
"margin-{$direction.align.end}">
5463 <xsl:value-of select=
"$page.margin.inner"/>
5465 <xsl:if test=
"$axf.extensions != 0">
5466 <xsl:call-template name=
"axf-page-master-properties">
5467 <xsl:with-param name=
"page.master">scons-chapter-first-draft
</xsl:with-param>
5468 </xsl:call-template>
5470 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5471 margin-top=
"{$body.margin.top}"
5472 column-gap=
"{$column.gap.titlepage}"
5473 column-count=
"{$column.count.titlepage}">
5474 <xsl:if test=
"$draft.watermark.image != ''">
5475 <xsl:attribute name=
"background-image">
5476 <xsl:call-template name=
"fo-external-image">
5477 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5478 </xsl:call-template>
5480 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5481 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5482 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5483 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5486 <fo:region-before region-name=
"xsl-region-before-first"
5487 extent=
"{$region.before.extent}"
5488 display-align=
"before"/>
5489 <fo:region-after region-name=
"xsl-region-after-first"
5490 extent=
"{$region.after.extent}"
5491 display-align=
"after"/>
5492 </fo:simple-page-master>
5494 <fo:simple-page-master master-name=
"scons-chapter-odd-draft"
5495 page-width=
"{$page.width}"
5496 page-height=
"{$page.height}"
5497 margin-top=
"{$page.margin.top}"
5498 margin-bottom=
"{$page.margin.bottom}">
5499 <xsl:attribute name=
"margin-{$direction.align.start}">
5500 <xsl:value-of select=
"$page.margin.outer"/>
5501 <xsl:if test=
"$fop.extensions != 0">
5502 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5505 <xsl:attribute name=
"margin-{$direction.align.end}">
5506 <xsl:value-of select=
"$page.margin.inner"/>
5508 <xsl:if test=
"$axf.extensions != 0">
5509 <xsl:call-template name=
"axf-page-master-properties">
5510 <xsl:with-param name=
"page.master">scons-chapter-odd-draft
</xsl:with-param>
5511 </xsl:call-template>
5513 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5514 margin-top=
"{$body.margin.top}"
5515 column-gap=
"{$column.gap.body}"
5516 column-count=
"{$column.count.body}">
5517 <xsl:if test=
"$draft.watermark.image != ''">
5518 <xsl:attribute name=
"background-image">
5519 <xsl:call-template name=
"fo-external-image">
5520 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5521 </xsl:call-template>
5523 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5524 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5525 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5526 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5529 <fo:region-before region-name=
"xsl-region-before-odd"
5530 extent=
"{$region.before.extent}"
5531 display-align=
"before"/>
5532 <fo:region-after region-name=
"xsl-region-after-odd"
5533 extent=
"{$region.after.extent}"
5534 display-align=
"after"/>
5535 </fo:simple-page-master>
5537 <fo:simple-page-master master-name=
"scons-chapter-even-draft"
5538 page-width=
"{$page.width}"
5539 page-height=
"{$page.height}"
5540 margin-top=
"{$page.margin.top}"
5541 margin-bottom=
"{$page.margin.bottom}">
5542 <xsl:attribute name=
"margin-{$direction.align.start}">
5543 <xsl:value-of select=
"$page.margin.outer"/>
5544 <xsl:if test=
"$fop.extensions != 0">
5545 <xsl:value-of select=
"concat(' - (',$title.margin.left,')')"/>
5548 <xsl:attribute name=
"margin-{$direction.align.end}">
5549 <xsl:value-of select=
"$page.margin.inner"/>
5551 <xsl:if test=
"$axf.extensions != 0">
5552 <xsl:call-template name=
"axf-page-master-properties">
5553 <xsl:with-param name=
"page.master">scons-chapter-even-draft
</xsl:with-param>
5554 </xsl:call-template>
5556 <fo:region-body margin-bottom=
"{$body.margin.bottom}"
5557 margin-top=
"{$body.margin.top}"
5558 column-gap=
"{$column.gap.body}"
5559 column-count=
"{$column.count.body}">
5560 <xsl:if test=
"$draft.watermark.image != ''">
5561 <xsl:attribute name=
"background-image">
5562 <xsl:call-template name=
"fo-external-image">
5563 <xsl:with-param name=
"filename" select=
"$draft.watermark.image"/>
5564 </xsl:call-template>
5566 <xsl:attribute name=
"background-attachment">fixed
</xsl:attribute>
5567 <xsl:attribute name=
"background-repeat">no-repeat
</xsl:attribute>
5568 <xsl:attribute name=
"background-position-horizontal">center
</xsl:attribute>
5569 <xsl:attribute name=
"background-position-vertical">center
</xsl:attribute>
5572 <fo:region-before region-name=
"xsl-region-before-even"
5573 extent=
"{$region.before.extent}"
5574 display-align=
"before"/>
5575 <fo:region-after region-name=
"xsl-region-after-even"
5576 extent=
"{$region.after.extent}"
5577 display-align=
"after"/>
5578 </fo:simple-page-master>
5581 <!-- setup for title page(s) -->
5582 <fo:page-sequence-master master-name=
"scons-titlepage">
5583 <fo:repeatable-page-master-alternatives>
5584 <fo:conditional-page-master-reference master-reference=
"scons-titlepage-first"
5585 page-position=
"first"/>
5586 <fo:conditional-page-master-reference master-reference=
"scons-titlepage-odd"
5588 <fo:conditional-page-master-reference
5590 <xsl:attribute name=
"master-reference">
5592 <xsl:when test=
"$double.sided != 0">scons-titlepage-even
</xsl:when>
5593 <xsl:otherwise>scons-titlepage-odd
</xsl:otherwise>
5596 </fo:conditional-page-master-reference>
5597 </fo:repeatable-page-master-alternatives>
5598 </fo:page-sequence-master>
5600 <!-- definition of pagemasters for draft mode -->
5601 <xsl:if test=
"$draft.mode != 'no'">
5602 <!-- draft title pages -->
5604 <fo:page-sequence-master master-name=
"scons-titlepage-draft">
5605 <fo:repeatable-page-master-alternatives>
5606 <fo:conditional-page-master-reference master-reference=
"scons-titlepage-first-draft"
5607 page-position=
"first"/>
5608 <fo:conditional-page-master-reference master-reference=
"body-odd-draft"
5610 <fo:conditional-page-master-reference
5612 <xsl:attribute name=
"master-reference">
5614 <xsl:when test=
"$double.sided != 0">body-even-draft
</xsl:when>
5615 <xsl:otherwise>body-odd-draft
</xsl:otherwise>
5618 </fo:conditional-page-master-reference>
5619 </fo:repeatable-page-master-alternatives>
5620 </fo:page-sequence-master>
5623 <!-- setup for chapter pages -->
5624 <fo:page-sequence-master master-name=
"scons-chapter">
5625 <fo:repeatable-page-master-alternatives>
5626 <fo:conditional-page-master-reference master-reference=
"scons-chapter-first"
5627 page-position=
"first"/>
5628 <fo:conditional-page-master-reference master-reference=
"scons-chapter-odd"
5630 <fo:conditional-page-master-reference
5632 <xsl:attribute name=
"master-reference">
5634 <xsl:when test=
"$double.sided != 0">scons-chapter-even
</xsl:when>
5635 <xsl:otherwise>scons-chapter-odd
</xsl:otherwise>
5638 </fo:conditional-page-master-reference>
5639 </fo:repeatable-page-master-alternatives>
5640 </fo:page-sequence-master>
5641 <!-- setup for draft chapter pages -->
5642 <xsl:if test=
"$draft.mode != 'no'">
5643 <!-- draft chapter pages -->
5644 <fo:page-sequence-master master-name=
"scons-chapter-draft">
5645 <fo:repeatable-page-master-alternatives>
5646 <fo:conditional-page-master-reference master-reference=
"scons-chapter-first-draft"
5647 page-position=
"first"/>
5648 <fo:conditional-page-master-reference master-reference=
"scons-chapter-odd-draft"
5650 <fo:conditional-page-master-reference
5652 <xsl:attribute name=
"master-reference">
5654 <xsl:when test=
"$double.sided != 0">scons-chapter-even-draft
</xsl:when>
5655 <xsl:otherwise>scons-chapter-odd-draft
</xsl:otherwise>
5658 </fo:conditional-page-master-reference>
5659 </fo:repeatable-page-master-alternatives>
5660 </fo:page-sequence-master>
5665 <!-- selecting our SCons pagemasters -->
5666 <xsl:template name=
"select.user.pagemaster">
5667 <xsl:param name=
"element"/>
5668 <xsl:param name=
"pageclass"/>
5669 <xsl:param name=
"default-pagemaster"/>
5672 <xsl:when test=
"$default-pagemaster = 'titlepage'">
5673 <xsl:value-of select=
"'scons-titlepage'" />
5675 <xsl:when test=
"$element = 'chapter' and
5676 $default-pagemaster = 'body-draft'">
5677 <xsl:value-of select=
"'scons-chapter-draft'" />
5679 <xsl:when test=
"$element = 'chapter'">
5680 <xsl:value-of select=
"'scons-chapter'" />
5682 <xsl:when test=
"$default-pagemaster = 'titlepage-draft'">
5683 <xsl:value-of select=
"'scons-titlepage-draft'" />
5686 <xsl:value-of select=
"$default-pagemaster"/>
5693 <xsl:template match=
"title" mode=
"book.titlepage.recto.auto.mode">
5694 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" text-align=
"left" display-align=
"after" color=
"#C51410" font-size=
"75pt" space-before=
"0pt" space-after=
"0pt" font-weight=
"bold" font-family=
"'serif'">
5695 <xsl:call-template name=
"division.title">
5696 <xsl:with-param name=
"node" select=
"ancestor-or-self::book[1]"/>
5697 </xsl:call-template>
5701 <xsl:template match=
"subtitle" mode=
"book.titlepage.recto.auto.mode">
5702 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" text-align=
"left" display-align=
"after" font-size=
"28pt" space-before=
"0pt" space-after=
"0pt" font-family=
"{$title.fontset}" font-weight=
"normal">
5703 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
5707 <xsl:template match=
"edition" mode=
"book.titlepage.recto.auto.mode">
5708 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" text-align=
"left" display-align=
"after" color=
"#C51410" font-size=
"56pt" space-before=
"0pt" space-after=
"0pt" font-family=
"'serif'" font-weight=
"normal">
5709 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
5714 <xsl:attribute-set name=
"chap.label.properties">
5715 <xsl:attribute name=
"font-family">
5716 <xsl:value-of select=
"$title.fontset"/>
5718 <xsl:attribute name=
"font-weight">bold
</xsl:attribute>
5719 <xsl:attribute name=
"color">#C51410
</xsl:attribute>
5720 <xsl:attribute name=
"keep-with-next.within-column">always
</xsl:attribute>
5721 <xsl:attribute name=
"text-align">center
</xsl:attribute>
5722 <xsl:attribute name=
"display-align">after
</xsl:attribute>
5723 <xsl:attribute name=
"space-before">0pt
</xsl:attribute>
5724 <xsl:attribute name=
"space-after">0pt
</xsl:attribute>
5725 </xsl:attribute-set>
5727 <xsl:attribute-set name=
"chap.title.properties">
5728 <xsl:attribute name=
"font-family">
5729 <xsl:value-of select=
"$title.fontset"/>
5731 <xsl:attribute name=
"font-size">24pt
</xsl:attribute>
5732 <xsl:attribute name=
"color">#C51410
</xsl:attribute>
5733 <xsl:attribute name=
"font-weight">bold
</xsl:attribute>
5734 <xsl:attribute name=
"keep-with-next.within-column">always
</xsl:attribute>
5735 <xsl:attribute name=
"text-align">left
</xsl:attribute>
5736 <xsl:attribute name=
"display-align">after
</xsl:attribute>
5737 <xsl:attribute name=
"space-before">0pt
</xsl:attribute>
5738 <xsl:attribute name=
"space-after">0pt
</xsl:attribute>
5739 <xsl:attribute name=
"space-start">0.7em
</xsl:attribute>
5740 </xsl:attribute-set>
5743 <!-- customization of chapter titles -->
5744 <xsl:template name=
"chap.title">
5745 <xsl:param name=
"node" select=
"."/>
5746 <xsl:param name=
"pagewide" select=
"0"/>
5748 <xsl:variable name=
"id">
5749 <xsl:call-template name=
"object.id">
5750 <xsl:with-param name=
"object" select=
"$node"/>
5751 </xsl:call-template>
5754 <xsl:variable name=
"title">
5755 <xsl:apply-templates select=
"$node" mode=
"object.title.markup">
5756 <xsl:with-param name=
"allow-anchors" select=
"1"/>
5757 </xsl:apply-templates>
5760 <xsl:variable name=
"titleabbrev">
5761 <xsl:apply-templates select=
"$node" mode=
"titleabbrev.markup"/>
5764 <xsl:variable name=
"level">
5766 <xsl:when test=
"ancestor::section">
5767 <xsl:value-of select=
"count(ancestor::section)+1"/>
5769 <xsl:when test=
"ancestor::sect5">6</xsl:when>
5770 <xsl:when test=
"ancestor::sect4">5</xsl:when>
5771 <xsl:when test=
"ancestor::sect3">4</xsl:when>
5772 <xsl:when test=
"ancestor::sect2">3</xsl:when>
5773 <xsl:when test=
"ancestor::sect1">2</xsl:when>
5774 <xsl:otherwise>1</xsl:otherwise>
5778 <xsl:if test=
"$passivetex.extensions != 0">
5779 <fotex:bookmark xmlns:
fotex=
"http://www.tug.org/fotex"
5780 fotex-bookmark-level=
"2"
5781 fotex-bookmark-label=
"{$id}">
5782 <xsl:value-of select=
"$titleabbrev"/>
5786 <fo:table table-layout=
"fixed" width=
"100%" border-width=
"0pt" border-style=
"none">
5788 <fo:table-column column-width=
"17mm"/>
5790 <fo:table-column column-width=
"17mm"/>
5793 <fo:table-row text-align=
"center">
5795 <fo:block></fo:block>
5797 <fo:table-cell xsl:
use-attribute-sets=
"chap.title.properties">
5800 <fo:inline xsl:
use-attribute-sets=
"chap.label.properties" font-size=
"57pt"><xsl:apply-templates select=
"$node"
5801 mode=
"label.markup"/></fo:inline>
5803 <fo:inline xsl:
use-attribute-sets=
"chap.title.properties"><xsl:apply-templates select=
"$node"
5804 mode=
"title.markup"/></fo:inline>
5808 <fo:block></fo:block>
5815 <xsl:template match=
"title" mode=
"chapter.titlepage.recto.auto.mode">
5816 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format">
5817 <xsl:call-template name=
"chap.title">
5818 <xsl:with-param name=
"node" select=
"ancestor-or-self::chapter[1]"/>
5819 </xsl:call-template>
5824 <xsl:template match=
"title" mode=
"header.content">
5825 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" space-before=
"0pt" space-after=
"0pt">
5826 <xsl:apply-templates select=
"."/>
5830 <xsl:template match=
"subtitle" mode=
"header.content">
5831 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" space-before=
"0pt" space-after=
"0pt">
5832 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
5836 <xsl:template match=
"edition" mode=
"header.content">
5837 <fo:block xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xsl:
use-attribute-sets=
"book.titlepage.recto.style" space-before=
"0pt" space-after=
"0pt">
5838 <xsl:apply-templates select=
"." mode=
"book.titlepage.recto.mode"/>
5843 <xsl:template name=
"header.table">
5844 <xsl:param name=
"pageclass" select=
"''"/>
5845 <xsl:param name=
"sequence" select=
"''"/>
5846 <xsl:param name=
"element" select=
"''"/>
5847 <xsl:param name=
"gentext-key" select=
"''"/>
5849 <!-- default is a single table style for all headers -->
5850 <!-- Customize it for different page classes or sequence location -->
5853 <xsl:when test=
"$pageclass = 'index'">
5854 <xsl:attribute name=
"margin-left">0pt
</xsl:attribute>
5858 <xsl:variable name=
"column1">
5860 <xsl:when test=
"$double.sided = 0">1</xsl:when>
5861 <xsl:when test=
"$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
5862 <xsl:otherwise>3</xsl:otherwise>
5866 <xsl:variable name=
"column3">
5868 <xsl:when test=
"$double.sided = 0">3</xsl:when>
5869 <xsl:when test=
"$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
5870 <xsl:otherwise>1</xsl:otherwise>
5874 <xsl:variable name=
"candidate">
5875 <fo:table table-layout=
"fixed" width=
"100%">
5876 <xsl:call-template name=
"head.sep.rule">
5877 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
5878 <xsl:with-param name=
"sequence" select=
"$sequence"/>
5879 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
5880 </xsl:call-template>
5882 <fo:table-column column-number=
"1">
5883 <xsl:attribute name=
"column-width">
5884 <xsl:text>proportional-column-width(
</xsl:text>
5885 <xsl:call-template name=
"header.footer.width">
5886 <xsl:with-param name=
"location">header
</xsl:with-param>
5887 <xsl:with-param name=
"position" select=
"$column1"/>
5888 </xsl:call-template>
5889 <xsl:text>)
</xsl:text>
5892 <fo:table-column column-number=
"2">
5893 <xsl:attribute name=
"column-width">
5894 <xsl:text>proportional-column-width(
</xsl:text>
5895 <xsl:call-template name=
"header.footer.width">
5896 <xsl:with-param name=
"location">header
</xsl:with-param>
5897 <xsl:with-param name=
"position" select=
"2"/>
5898 </xsl:call-template>
5899 <xsl:text>)
</xsl:text>
5902 <fo:table-column column-number=
"3">
5903 <xsl:attribute name=
"column-width">
5904 <xsl:text>proportional-column-width(
</xsl:text>
5905 <xsl:call-template name=
"header.footer.width">
5906 <xsl:with-param name=
"location">header
</xsl:with-param>
5907 <xsl:with-param name=
"position" select=
"$column3"/>
5908 </xsl:call-template>
5909 <xsl:text>)
</xsl:text>
5915 <xsl:attribute name=
"block-progression-dimension.minimum">
5916 <xsl:value-of select=
"$header.table.height"/>
5918 <fo:table-cell text-align=
"left"
5919 display-align=
"before">
5920 <xsl:if test=
"$fop.extensions = 0">
5921 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
5924 <xsl:call-template name=
"header.content">
5925 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
5926 <xsl:with-param name=
"sequence" select=
"$sequence"/>
5927 <xsl:with-param name=
"position" select=
"'left'"/>
5928 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
5929 </xsl:call-template>
5932 <fo:table-cell text-align=
"center"
5933 display-align=
"before">
5934 <xsl:if test=
"$fop.extensions = 0">
5935 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
5938 <xsl:call-template name=
"header.content">
5939 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
5940 <xsl:with-param name=
"sequence" select=
"$sequence"/>
5941 <xsl:with-param name=
"position" select=
"'center'"/>
5942 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
5943 </xsl:call-template>
5946 <fo:table-cell text-align=
"right"
5947 display-align=
"before">
5948 <xsl:if test=
"$fop.extensions = 0">
5949 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
5952 <xsl:call-template name=
"header.content">
5953 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
5954 <xsl:with-param name=
"sequence" select=
"$sequence"/>
5955 <xsl:with-param name=
"position" select=
"'right'"/>
5956 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
5957 </xsl:call-template>
5965 <!-- Really output a header? -->
5967 <xsl:when test=
"$pageclass = 'titlepage' and $gentext-key = 'book'
5968 and $sequence='first'">
5969 <!-- no, book titlepages have no headers at all -->
5971 <xsl:when test=
"$pageclass = 'scons-titlepage'">
5972 <!-- no, book titlepages have no headers at all -->
5974 <xsl:when test=
"$pageclass = 'scons-chapter' and
5975 $sequence = 'first'">
5976 <!-- no, book chapters have no headers at all -->
5978 <xsl:when test=
"$sequence = 'blank' and $headers.on.blank.pages = 0">
5982 <xsl:copy-of select=
"$candidate"/>
5988 <xsl:template name=
"header.content">
5989 <xsl:param name=
"pageclass" select=
"''"/>
5990 <xsl:param name=
"sequence" select=
"''"/>
5991 <xsl:param name=
"position" select=
"''"/>
5992 <xsl:param name=
"gentext-key" select=
"''"/>
5996 <!-- sequence can be odd, even, first, blank -->
5997 <!-- position can be left, center, right -->
6000 <xsl:when test=
"$pageclass = 'titlepage'">
6001 <!-- nop; no footer on title pages -->
6004 <xsl:when test=
"$double.sided != 0 and $sequence = 'even'
6005 and $position='left'">
6007 retrieve-class-name=
"section.head.marker"
6008 retrieve-position=
"first-including-carryover"
6009 retrieve-boundary=
"page-sequence"/>
6012 <xsl:when test=
"$double.sided != 0 and
6013 ($sequence = 'odd' or $sequence = 'first' or $sequence = 'blank')
6014 and $position='right'">
6016 retrieve-class-name=
"section.head.marker"
6017 retrieve-position=
"first-including-carryover"
6018 retrieve-boundary=
"page-sequence"/>
6021 <xsl:when test=
"$double.sided != 0 and
6022 ($sequence = 'odd' or $sequence = 'first' or $sequence = 'blank')
6023 and $position='left'">
6024 <xsl:value-of select=
"/book/title"/>
6027 <xsl:when test=
"$double.sided != 0 and $sequence = 'even'
6028 and $position='right'">
6029 <xsl:value-of select=
"/book/title"/>
6033 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6034 and $position='right'">
6035 <xsl:value-of select=
"/book/title"/>
6038 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6039 and $position='left'">
6040 <xsl:value-of select=
"/book/title"/>
6043 <xsl:when test=
"$double.sided = 0 and ($sequence = 'odd' or $sequence = 'first')
6044 and $position='right'">
6046 retrieve-class-name=
"section.head.marker"
6047 retrieve-position=
"first-including-carryover"
6048 retrieve-boundary=
"page-sequence"/>
6051 <xsl:when test=
"$double.sided = 0 and ($sequence = 'odd' or $sequence = 'first')
6052 and $position='left'">
6053 <xsl:value-of select=
"/book/title"/>
6056 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6057 and $position='right'">
6059 retrieve-class-name=
"section.head.marker"
6060 retrieve-position=
"first-including-carryover"
6061 retrieve-boundary=
"page-sequence"/>
6065 <xsl:when test=
"$position='center'">
6066 <!-- <xsl:apply-templates select="."
6067 mode="titleabbrev.markup"/>
6071 <xsl:when test=
"$sequence='blank'">
6084 <xsl:template name=
"footer.table">
6085 <xsl:param name=
"pageclass" select=
"''"/>
6086 <xsl:param name=
"sequence" select=
"''"/>
6087 <xsl:param name=
"gentext-key" select=
"''"/>
6089 <!-- default is a single table style for all footers -->
6090 <!-- Customize it for different page classes or sequence location -->
6093 <xsl:when test=
"$pageclass = 'index'">
6094 <xsl:attribute name=
"margin-left">0pt
</xsl:attribute>
6098 <xsl:variable name=
"column1">
6100 <xsl:when test=
"$double.sided = 0">1</xsl:when>
6101 <xsl:when test=
"$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
6102 <xsl:otherwise>3</xsl:otherwise>
6106 <xsl:variable name=
"column3">
6108 <xsl:when test=
"$double.sided = 0">3</xsl:when>
6109 <xsl:when test=
"$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
6110 <xsl:otherwise>1</xsl:otherwise>
6114 <xsl:variable name=
"candidate">
6115 <fo:table table-layout=
"fixed" width=
"100%">
6116 <xsl:call-template name=
"foot.sep.rule">
6117 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
6118 <xsl:with-param name=
"sequence" select=
"$sequence"/>
6119 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
6120 </xsl:call-template>
6121 <fo:table-column column-number=
"1">
6122 <xsl:attribute name=
"column-width">
6123 <xsl:text>proportional-column-width(
</xsl:text>
6124 <xsl:call-template name=
"header.footer.width">
6125 <xsl:with-param name=
"location">footer
</xsl:with-param>
6126 <xsl:with-param name=
"position" select=
"$column1"/>
6127 </xsl:call-template>
6128 <xsl:text>)
</xsl:text>
6131 <fo:table-column column-number=
"2">
6132 <xsl:attribute name=
"column-width">
6133 <xsl:text>proportional-column-width(
</xsl:text>
6134 <xsl:call-template name=
"header.footer.width">
6135 <xsl:with-param name=
"location">footer
</xsl:with-param>
6136 <xsl:with-param name=
"position" select=
"2"/>
6137 </xsl:call-template>
6138 <xsl:text>)
</xsl:text>
6141 <fo:table-column column-number=
"3">
6142 <xsl:attribute name=
"column-width">
6143 <xsl:text>proportional-column-width(
</xsl:text>
6144 <xsl:call-template name=
"header.footer.width">
6145 <xsl:with-param name=
"location">footer
</xsl:with-param>
6146 <xsl:with-param name=
"position" select=
"$column3"/>
6147 </xsl:call-template>
6148 <xsl:text>)
</xsl:text>
6154 <xsl:attribute name=
"block-progression-dimension.minimum">
6155 <xsl:value-of select=
"$footer.table.height"/>
6157 <fo:table-cell text-align=
"left"
6158 display-align=
"after">
6159 <xsl:if test=
"$fop.extensions = 0">
6160 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
6163 <xsl:call-template name=
"footer.content">
6164 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
6165 <xsl:with-param name=
"sequence" select=
"$sequence"/>
6166 <xsl:with-param name=
"position" select=
"'left'"/>
6167 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
6168 </xsl:call-template>
6171 <fo:table-cell text-align=
"center"
6172 display-align=
"after">
6173 <xsl:if test=
"$fop.extensions = 0">
6174 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
6177 <xsl:call-template name=
"footer.content">
6178 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
6179 <xsl:with-param name=
"sequence" select=
"$sequence"/>
6180 <xsl:with-param name=
"position" select=
"'center'"/>
6181 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
6182 </xsl:call-template>
6185 <fo:table-cell text-align=
"right"
6186 display-align=
"after">
6187 <xsl:if test=
"$fop.extensions = 0">
6188 <xsl:attribute name=
"relative-align">baseline
</xsl:attribute>
6191 <xsl:call-template name=
"footer.content">
6192 <xsl:with-param name=
"pageclass" select=
"$pageclass"/>
6193 <xsl:with-param name=
"sequence" select=
"$sequence"/>
6194 <xsl:with-param name=
"position" select=
"'right'"/>
6195 <xsl:with-param name=
"gentext-key" select=
"$gentext-key"/>
6196 </xsl:call-template>
6204 <!-- Really output a footer? -->
6206 <xsl:when test=
"$pageclass='titlepage' and $gentext-key='book'
6207 and $sequence='first'">
6208 <!-- no, book titlepages have no footers at all -->
6210 <xsl:when test=
"$pageclass = 'scons-titlepage'">
6211 <!-- no, book titlepages have no footers at all -->
6213 <xsl:when test=
"$pageclass = 'scons-chapter' and
6215 <!-- no, book chapters have no footers on first page -->
6217 <xsl:when test=
"$sequence = 'blank' and $footers.on.blank.pages = 0">
6221 <xsl:copy-of select=
"$candidate"/>
6227 <xsl:template name=
"footer.content">
6228 <xsl:param name=
"pageclass" select=
"''"/>
6229 <xsl:param name=
"sequence" select=
"''"/>
6230 <xsl:param name=
"position" select=
"''"/>
6231 <xsl:param name=
"gentext-key" select=
"''"/>
6234 <!-- pageclass can be front, body, back -->
6235 <!-- sequence can be odd, even, first, blank -->
6236 <!-- position can be left, center, right -->
6238 <xsl:when test=
"$pageclass = 'titlepage'">
6239 <!-- nop; no footer on title pages -->
6242 <xsl:when test=
"$double.sided != 0 and $sequence = 'even'
6243 and $position='left'">
6247 <xsl:when test=
"$double.sided != 0 and
6248 ($sequence = 'odd' or $sequence = 'first' or $sequence = 'blank')
6249 and $position='right'">
6253 <xsl:when test=
"$double.sided != 0 and
6254 ($sequence = 'odd' or $sequence = 'first' or $sequence = 'blank')
6255 and $position='left'">
6256 <fo:external-graphic
6257 src=
"url(titlepage/SCons_path.svg)"
6258 width=
"20mm" content-width=
"scale-to-fit"
6262 <xsl:when test=
"$double.sided != 0 and $sequence = 'even'
6263 and $position='right'">
6264 <fo:external-graphic
6265 src=
"url(titlepage/SCons_path.svg)"
6266 width=
"20mm" content-width=
"scale-to-fit"
6271 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6272 and $position='right'">
6273 <fo:external-graphic
6274 src=
"url(titlepage/SCons_path.svg)"
6275 width=
"20mm" content-width=
"scale-to-fit"
6279 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6280 and $position='left'">
6281 <fo:external-graphic
6282 src=
"url(titlepage/SCons_path.svg)"
6283 width=
"20mm" content-width=
"scale-to-fit"
6287 <xsl:when test=
"$double.sided = 0 and ($sequence = 'odd' or $sequence = 'first')
6288 and $position='right'">
6292 <xsl:when test=
"$double.sided = 0 and ($sequence = 'odd' or $sequence = 'first')
6293 and $position='left'">
6294 <fo:external-graphic
6295 src=
"url(titlepage/SCons_path.svg)"
6296 width=
"20mm" content-width=
"scale-to-fit"
6300 <xsl:when test=
"$double.sided = 0 and $sequence = 'even'
6301 and $position='right'">
6306 <xsl:when test=
"$position='center'">
6309 <xsl:when test=
"$sequence='blank'">
6321 <xsl:template name=
"head.sep.rule">
6322 <xsl:param name=
"pageclass"/>
6323 <xsl:param name=
"sequence"/>
6324 <xsl:param name=
"gentext-key"/>
6326 <xsl:if test=
"$header.rule != 0">
6327 <xsl:attribute name=
"border-bottom-width">0.5pt
</xsl:attribute>
6328 <xsl:attribute name=
"border-bottom-style">solid
</xsl:attribute>
6329 <xsl:attribute name=
"border-bottom-color">#C51410
</xsl:attribute>
6334 <xsl:template name=
"foot.sep.rule">
6335 <xsl:param name=
"pageclass"/>
6336 <xsl:param name=
"sequence"/>
6337 <xsl:param name=
"gentext-key"/>
6339 <xsl:if test=
"$footer.rule != 0">
6340 <xsl:attribute name=
"border-top-width">0.5pt
</xsl:attribute>
6341 <xsl:attribute name=
"border-top-style">solid
</xsl:attribute>
6342 <xsl:attribute name=
"border-top-color">#C51410
</xsl:attribute>
6346 <xsl:param name=
"header.column.widths">1 0 1</xsl:param>
6347 <xsl:param name=
"footer.column.widths">1 0 1</xsl:param>
6348 <xsl:param name=
"headers.on.blank.pages" select=
"1"/>
6349 <xsl:param name=
"footers.on.blank.pages" select=
"1"/>