Fix listing a named queue by a non-admin user. Bug 2398
[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 <!-- 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
18 with:
19
20 xsltproc -output MyTitleStyle.xsl \
21   /usr/share/sgml/docbook/xsl-stylesheets-1.70.1/template/titlepage.xsl \
22   MyTitlepage.templates.xml
23
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
26 need to set up! -->
27
28
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">
33
34 <!-- ********************************************************************
35      $Id: titlepage.templates.xml,v 1.23 2003/12/16 00:30:49 bobstayton Exp $
36      ********************************************************************
37
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.
41
42      ******************************************************************** -->
43
44 <!-- ==================================================================== -->
45
46   <t:titlepage t:element="book" t:wrapper="fo:block">
47     <t:titlepage-content t:side="recto">
48       <title
49              t:named-template="division.title"
50              param:node="ancestor-or-self::book[1]"
51              text-align="center"
52              font-size="&hsize5;"
53              space-before="5em"
54              font-weight="bold"
55              font-family="{$title.fontset}"/>
56       <subtitle
57                 text-align="center"
58                 font-size="&hsize4;"
59                 space-before="&hsize4space;"
60                 font-family="{$title.fontset}"/>
61       <corpauthor font-size="&hsize3;"
62                   keep-with-next="always"
63                   space-before="2in"/>
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>
70
71   <t:titlepage-content t:side="verso">
72       <title
73              t:named-template="book.verso.title"
74              font-size="&hsize2;"
75              font-weight="bold"
76              font-family="{$title.fontset}"/>
77       <corpauthor/>
78       <authorgroup t:named-template="verso.authorgroup"/>
79       <author space-before="1em"/>
80       <affiliation space-before="1em"/>
81       <address/>
82       <pubdate space-before="1em"/>
83       <abstract/>
84       <copyright space-before="1em"/>
85       <revhistory space-before="1em"/>
86       <legalnotice font-size="8pt"/>
87   </t:titlepage-content>
88
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>
93
94   <t:titlepage-before t:side="recto">
95   </t:titlepage-before>
96
97   <t:titlepage-before t:side="verso">
98       <fo:block break-after="page"/>
99   </t:titlepage-before>
100 </t:titlepage>
101
102 </t:templates>