Remove my email address accidentally left in the NOTICE file.
[users/heiko/exim.git] / doc / doc-docbook / MyTitlepage.templates.xml
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 -->
14 ]>
15
16 <!-- $Cambridge: exim/doc/doc-docbook/MyTitlepage.templates.xml,v 1.1 2005/06/16 10:32:31 ph10 Exp $ -->
17
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
20 with:
21
22 xsltproc -output MyTitleStyle.xsl \
23   /usr/share/sgml/docbook/xsl-stylesheets-1.66.1/template/titlepage.xsl \
24   MyTitlepage.templates.xml
25
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
28 need to set up! -->
29
30
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">
35
36 <!-- ********************************************************************
37      $Id: titlepage.templates.xml,v 1.23 2003/12/16 00:30:49 bobstayton Exp $
38      ********************************************************************
39
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.
43
44      ******************************************************************** -->
45
46 <!-- ==================================================================== -->
47
48   <t:titlepage t:element="book" t:wrapper="fo:block">
49     <t:titlepage-content t:side="recto">
50       <title
51              t:named-template="division.title"
52              param:node="ancestor-or-self::book[1]"
53              text-align="center"
54              font-size="&hsize5;"
55              space-before="&hsize5space;"
56              font-weight="bold"
57              font-family="{$title.fontset}"/>
58       <subtitle
59                 text-align="center"
60                 font-size="&hsize4;"
61                 space-before="&hsize4space;"
62                 font-family="{$title.fontset}"/>
63       <corpauthor font-size="&hsize3;"
64                   keep-with-next="always"
65                   space-before="2in"/>
66       <authorgroup space-before="2in"/>
67       <author font-size="&hsize3;"
68               space-before="&hsize2space;"
69               keep-with-next="always"/>
70     </t:titlepage-content>
71
72   <t:titlepage-content t:side="verso">
73       <title
74              t:named-template="book.verso.title"
75              font-size="&hsize2;"
76              font-weight="bold"
77              font-family="{$title.fontset}"/>
78       <corpauthor/>
79       <authorgroup t:named-template="verso.authorgroup"/>
80       <author/>
81       <othercredit/>
82       <pubdate space-before="1em"/>
83       <abstract/>
84       <copyright/>
85       <legalnotice font-size="8pt"/>
86   </t:titlepage-content>
87
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>
92
93   <t:titlepage-before t:side="recto">
94   </t:titlepage-before>
95
96   <t:titlepage-before t:side="verso">
97       <fo:block break-after="page"/>
98   </t:titlepage-before>
99 </t:titlepage>
100
101 </t:templates>