Adding templates to make processing easier.
[docutils/kirr.git] / sandbox / docbook / templates / all / title_page.xml
blobd38c1be635ac31744732471d7971a0ef39d3f63f
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 -->
15 <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
16              xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
17              xmlns:fo="http://www.w3.org/1999/XSL/Format"
18              xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
20 <!-- ********************************************************************
21      $Id: titlepage.templates.xml 8341 2009-03-16 03:00:56Z bobstayton $
22      ********************************************************************
24      This file is part of the DocBook XSL Stylesheet distribution.
25      See ../README or http://docbook.sf.net/ for copyright
26      copyright and other information.
28      ******************************************************************** -->
30 <!-- ==================================================================== -->
32 <t:titlepage t:element="article" t:wrapper="fo:block"
33              font-family="{$title.fontset}">
35   <t:titlepage-content t:side="recto"
36              start-indent="0pt"
37              text-align="center">
38     <title t:named-template="component.title"
39            param:node="ancestor-or-self::article[1]"
40            keep-with-next.within-column="always"
41            space-before="2in"
42            font-size="&hsize4;"
43             space-before.conditionality="retain"
44            />
46     <author space-before="0.5em"
47             font-size="&hsize1;"/>
49     <address
50         text-align="center"
51         font-size="&hsize2;"
52         />
54     <email/>
56     <abstract space-before=".5in"
57               space-before.conditionality="retain"
58               text-align="start"
59               margin-left="0.5in"
60               margin-right="0.5in"
61               font-family="{$body.fontset}"/>
64   </t:titlepage-content>
66 </t:titlepage>
69 </t:templates>