]> git.stg.codes - stg.git/blob - doc/xslt/slides/fo/plain-titlepage.xml
Pre-allocate DIR_TRAFF container with DIR_NUM items.
[stg.git] / doc / xslt / slides / fo / plain-titlepage.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 <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">
19
20 <!-- ==================================================================== -->
21
22 <t:titlepage t:element="slides" t:wrapper="fo:block">
23   <t:titlepage-content t:side="recto">
24       <title t:predicate="[1]"
25              t:named-template="component.title"
26              param:node="ancestor-or-self::slides[1]"
27              text-align="center"
28              space-after="1em"
29              padding-top="1.5in"
30              keep-with-next="always"
31              font-size="{$foil.title.size}"
32              font-weight="bold"
33              font-family="{$slide.title.font.family}"/>
34
35     <subtitle t:predicate="[1]"
36               text-align="center"
37               space-after="1em"
38               font-family="{$slide.title.font.family}"/>
39
40     <corpauthor font-size="&hsize4;"
41                 text-align="center"
42                 space-after="1em"/>
43     <authorgroup/>
44     <author font-size="&hsize4;"
45             text-align="center"
46             space-after="1em"/>
47
48     <pubdate font-size="&hsize3;"
49              text-align="center"
50              space-after="1em"/>
51
52     <confgroup font-size="&hsize3;"
53                text-align="center"
54                space-after="1em"/>
55
56     <releaseinfo font-size="&hsize3;"
57                  text-align="center"
58                  space-after="1em"/>
59
60     <copyright font-size="&hsize3;"
61                text-align="center"/>
62
63     <revision text-align="center"/>
64   </t:titlepage-content>
65
66   <t:titlepage-content t:side="verso">
67   </t:titlepage-content>
68
69   <t:titlepage-separator>
70   </t:titlepage-separator>
71
72   <t:titlepage-before t:side="recto">
73   </t:titlepage-before>
74
75   <t:titlepage-before t:side="verso">
76   </t:titlepage-before>
77 </t:titlepage>
78
79 </t:templates>