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 <!-- $Cambridge: exim/doc/doc-docbook/MyTitlepage.templates.xml,v 1.3 2006/12/19 12:28:35 ph10 Exp $ -->
18 <!-- This document is copied from the DocBook XSL stylesheets, and modified to
19 do what I want it to do for the Exim reference manual. Process this document
22 xsltproc -output MyTitleStyle.xsl \
23 /usr/share/sgml/docbook/xsl-stylesheets-1.70.1/template/titlepage.xsl \
24 MyTitlepage.templates.xml
26 in order to generate a style sheet called MyTitleStyle.xsl. That is then
27 included in my customization stylesheet. What a lot of heavyweight apparatus we
31 <t:templates xmlns:
t=
"http://nwalsh.com/docbook/xsl/template/1.0"
32 xmlns:
param=
"http://nwalsh.com/docbook/xsl/template/1.0/param"
33 xmlns:
fo=
"http://www.w3.org/1999/XSL/Format"
34 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
36 <!-- ********************************************************************
37 $Id: titlepage.templates.xml,v 1.23 2003/12/16 00:30:49 bobstayton Exp $
38 ********************************************************************
40 This file is part of the DocBook XSL Stylesheet distribution.
41 See ../README or http://docbook.sf.net/ for copyright
42 and other information.
44 ******************************************************************** -->
46 <!-- ==================================================================== -->
48 <t:titlepage t:
element=
"book" t:
wrapper=
"fo:block">
49 <t:titlepage-content t:
side=
"recto">
51 t:
named-template=
"division.title"
52 param:
node=
"ancestor-or-self::book[1]"
57 font-family=
"{$title.fontset}"/>
61 space-before=
"&hsize4space;"
62 font-family=
"{$title.fontset}"/>
63 <corpauthor font-size=
"&hsize3;"
64 keep-with-next=
"always"
66 <authorgroup space-before=
"2in"/>
67 <author font-size=
"&hsize3;"
68 space-before=
"&hsize2space;"
69 keep-with-next=
"always"/>
70 <affiliation space-before=
"1em"/>
71 </t:titlepage-content>
73 <t:titlepage-content t:
side=
"verso">
75 t:
named-template=
"book.verso.title"
78 font-family=
"{$title.fontset}"/>
80 <authorgroup t:
named-template=
"verso.authorgroup"/>
81 <author space-before=
"1em"/>
82 <affiliation space-before=
"1em"/>
84 <pubdate space-before=
"1em"/>
86 <copyright space-before=
"1em"/>
87 <revhistory space-before=
"1em"/>
88 <legalnotice font-size=
"8pt"/>
89 </t:titlepage-content>
91 <!-- This change stops it putting a blank page after the verso -->
92 <t:titlepage-separator>
93 <!-- <fo:block break-after="page"/> -->
94 </t:titlepage-separator>
96 <t:titlepage-before t:
side=
"recto">
99 <t:titlepage-before t:
side=
"verso">
100 <fo:block break-after=
"page"/>
101 </t:titlepage-before>