Update documentation and associated files for 4.64.
[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.3 2006/12/19 12:28:35 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.70.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="5em"
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       <affiliation space-before="1em"/>
71     </t:titlepage-content>
72
73   <t:titlepage-content t:side="verso">
74       <title
75              t:named-template="book.verso.title"
76              font-size="&hsize2;"
77              font-weight="bold"
78              font-family="{$title.fontset}"/>
79       <corpauthor/>
80       <authorgroup t:named-template="verso.authorgroup"/>
81       <author space-before="1em"/>
82       <affiliation space-before="1em"/>
83       <address/>
84       <pubdate space-before="1em"/>
85       <abstract/>
86       <copyright space-before="1em"/>
87       <revhistory space-before="1em"/>
88       <legalnotice font-size="8pt"/>
89   </t:titlepage-content>
90
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>
95
96   <t:titlepage-before t:side="recto">
97   </t:titlepage-before>
98
99   <t:titlepage-before t:side="verso">
100       <fo:block break-after="page"/>
101   </t:titlepage-before>
102 </t:titlepage>
103
104 </t:templates>