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.1 2005/06/16 10:32:31 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.66.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]"
55 space-before="&hsize5space;"
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 </t:titlepage-content>
72 <t:titlepage-content t:side="verso">
74 t:named-template="book.verso.title"
77 font-family="{$title.fontset}"/>
79 <authorgroup t:named-template="verso.authorgroup"/>
82 <pubdate space-before="1em"/>
85 <legalnotice font-size="8pt"/>
86 </t:titlepage-content>
88 <!-- This change stops it putting a blank page after the verso -->
89 <t:titlepage-separator>
90 <!-- <fo:block break-after="page"/> -->
91 </t:titlepage-separator>
93 <t:titlepage-before t:side="recto">
96 <t:titlepage-before t:side="verso">
97 <fo:block break-after="page"/>