1 <!DOCTYPE t:templates [
2 <!ENTITY hsize0
"10pt">
3 <!ENTITY hsize1
"12pt">
4 <!ENTITY hsize2
"14.4pt">
5 <!ENTITY hsize3
"17.28pt">
6 <!ENTITY hsize4
"20.736pt">
7 <!ENTITY hsize5
"24.8832pt">
8 <!ENTITY hsize0space
"7.5pt"> <!-- 0.75 * hsize0 -->
9 <!ENTITY hsize1space
"9pt"> <!-- 0.75 * hsize1 -->
10 <!ENTITY hsize2space
"10.8pt"> <!-- 0.75 * hsize2 -->
11 <!ENTITY hsize3space
"12.96pt"> <!-- 0.75 * hsize3 -->
12 <!ENTITY hsize4space
"15.552pt"> <!-- 0.75 * hsize4 -->
13 <!ENTITY hsize5space
"18.6624pt"> <!-- 0.75 * hsize5 -->
16 <!-- This document is copied from the DocBook XSL stylesheets, and modified to
17 do what I want it to do for the Exim reference manual. Process this document
20 xsltproc -output MyTitleStyle.xsl \
21 /usr/share/sgml/docbook/xsl-stylesheets-1.70.1/template/titlepage.xsl \
22 MyTitlepage.templates.xml
24 in order to generate a style sheet called MyTitleStyle.xsl. That is then
25 included in my customization stylesheet. What a lot of heavyweight apparatus we
29 <t:templates xmlns:
t=
"http://nwalsh.com/docbook/xsl/template/1.0"
30 xmlns:
param=
"http://nwalsh.com/docbook/xsl/template/1.0/param"
31 xmlns:
fo=
"http://www.w3.org/1999/XSL/Format"
32 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
34 <!-- ********************************************************************
35 $Id: titlepage.templates.xml,v 1.23 2003/12/16 00:30:49 bobstayton Exp $
36 ********************************************************************
38 This file is part of the DocBook XSL Stylesheet distribution.
39 See ../README or http://docbook.sf.net/ for copyright
40 and other information.
42 ******************************************************************** -->
44 <!-- ==================================================================== -->
46 <t:titlepage t:
element=
"book" t:
wrapper=
"fo:block">
47 <t:titlepage-content t:
side=
"recto">
49 t:
named-template=
"division.title"
50 param:
node=
"ancestor-or-self::book[1]"
55 font-family=
"{$title.fontset}"/>
59 space-before=
"&hsize4space;"
60 font-family=
"{$title.fontset}"/>
61 <corpauthor font-size=
"&hsize3;"
62 keep-with-next=
"always"
64 <authorgroup space-before=
"2in"/>
65 <author font-size=
"&hsize3;"
66 space-before=
"&hsize2space;"
67 keep-with-next=
"always"/>
68 <affiliation space-before=
"1em"/>
69 </t:titlepage-content>
71 <t:titlepage-content t:
side=
"verso">
73 t:
named-template=
"book.verso.title"
76 font-family=
"{$title.fontset}"/>
78 <authorgroup t:
named-template=
"verso.authorgroup"/>
79 <author space-before=
"1em"/>
80 <affiliation space-before=
"1em"/>
82 <pubdate space-before=
"1em"/>
84 <copyright space-before=
"1em"/>
85 <revhistory space-before=
"1em"/>
86 <legalnotice font-size=
"8pt"/>
87 </t:titlepage-content>
89 <!-- This change stops it putting a blank page after the verso -->
90 <t:titlepage-separator>
91 <!-- <fo:block break-after="page"/> -->
92 </t:titlepage-separator>
94 <t:titlepage-before t:
side=
"recto">
97 <t:titlepage-before t:
side=
"verso">
98 <fo:block break-after=
"page"/>