1 | <?xml version="1.0"?> |
---|
2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
---|
3 | |
---|
4 | <!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> |
---|
5 | |
---|
6 | <xsl:template name="article.titlepage.recto"> |
---|
7 | <xsl:choose> |
---|
8 | <xsl:when test="articleinfo/title"> |
---|
9 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> |
---|
10 | </xsl:when> |
---|
11 | <xsl:when test="artheader/title"> |
---|
12 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> |
---|
13 | </xsl:when> |
---|
14 | <xsl:when test="info/title"> |
---|
15 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> |
---|
16 | </xsl:when> |
---|
17 | <xsl:when test="title"> |
---|
18 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> |
---|
19 | </xsl:when> |
---|
20 | </xsl:choose> |
---|
21 | |
---|
22 | <xsl:choose> |
---|
23 | <xsl:when test="articleinfo/subtitle"> |
---|
24 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> |
---|
25 | </xsl:when> |
---|
26 | <xsl:when test="artheader/subtitle"> |
---|
27 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> |
---|
28 | </xsl:when> |
---|
29 | <xsl:when test="info/subtitle"> |
---|
30 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
31 | </xsl:when> |
---|
32 | <xsl:when test="subtitle"> |
---|
33 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> |
---|
34 | </xsl:when> |
---|
35 | </xsl:choose> |
---|
36 | |
---|
37 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> |
---|
38 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> |
---|
39 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
40 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> |
---|
41 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> |
---|
42 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
43 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> |
---|
44 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> |
---|
45 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> |
---|
46 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> |
---|
47 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> |
---|
48 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
49 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> |
---|
50 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> |
---|
51 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
52 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> |
---|
53 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> |
---|
54 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
55 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> |
---|
56 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> |
---|
57 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
58 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> |
---|
59 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> |
---|
60 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
61 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> |
---|
62 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> |
---|
63 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> |
---|
64 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> |
---|
65 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> |
---|
66 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
67 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> |
---|
68 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> |
---|
69 | <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
70 | </xsl:template> |
---|
71 | |
---|
72 | <xsl:template name="article.titlepage.verso"> |
---|
73 | </xsl:template> |
---|
74 | |
---|
75 | <xsl:template name="article.titlepage.separator"> |
---|
76 | </xsl:template> |
---|
77 | |
---|
78 | <xsl:template name="article.titlepage.before.recto"> |
---|
79 | </xsl:template> |
---|
80 | |
---|
81 | <xsl:template name="article.titlepage.before.verso"> |
---|
82 | </xsl:template> |
---|
83 | |
---|
84 | <xsl:template name="article.titlepage"> |
---|
85 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}"> |
---|
86 | <xsl:variable name="recto.content"> |
---|
87 | <xsl:call-template name="article.titlepage.before.recto"/> |
---|
88 | <xsl:call-template name="article.titlepage.recto"/> |
---|
89 | </xsl:variable> |
---|
90 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
91 | <fo:block text-align="center"><xsl:copy-of select="$recto.content"/></fo:block> |
---|
92 | </xsl:if> |
---|
93 | <xsl:variable name="verso.content"> |
---|
94 | <xsl:call-template name="article.titlepage.before.verso"/> |
---|
95 | <xsl:call-template name="article.titlepage.verso"/> |
---|
96 | </xsl:variable> |
---|
97 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
98 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
99 | </xsl:if> |
---|
100 | <xsl:call-template name="article.titlepage.separator"/> |
---|
101 | </fo:block> |
---|
102 | </xsl:template> |
---|
103 | |
---|
104 | <xsl:template match="*" mode="article.titlepage.recto.mode"> |
---|
105 | <!-- if an element isn't found in this mode, --> |
---|
106 | <!-- try the generic titlepage.mode --> |
---|
107 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
108 | </xsl:template> |
---|
109 | |
---|
110 | <xsl:template match="*" mode="article.titlepage.verso.mode"> |
---|
111 | <!-- if an element isn't found in this mode, --> |
---|
112 | <!-- try the generic titlepage.mode --> |
---|
113 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
114 | </xsl:template> |
---|
115 | |
---|
116 | <xsl:template match="title" mode="article.titlepage.recto.auto.mode"> |
---|
117 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next="always" font-size="24.8832pt" font-weight="bold"> |
---|
118 | <xsl:call-template name="component.title"> |
---|
119 | <xsl:with-param name="node" select="ancestor-or-self::article[1]"/> |
---|
120 | </xsl:call-template> |
---|
121 | </fo:block> |
---|
122 | </xsl:template> |
---|
123 | |
---|
124 | <xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> |
---|
125 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> |
---|
126 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
127 | </fo:block> |
---|
128 | </xsl:template> |
---|
129 | |
---|
130 | <xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> |
---|
131 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> |
---|
132 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
133 | </fo:block> |
---|
134 | </xsl:template> |
---|
135 | |
---|
136 | <xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> |
---|
137 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> |
---|
138 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
139 | </fo:block> |
---|
140 | </xsl:template> |
---|
141 | |
---|
142 | <xsl:template match="author" mode="article.titlepage.recto.auto.mode"> |
---|
143 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> |
---|
144 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
145 | </fo:block> |
---|
146 | </xsl:template> |
---|
147 | |
---|
148 | <xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> |
---|
149 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
150 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
151 | </fo:block> |
---|
152 | </xsl:template> |
---|
153 | |
---|
154 | <xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> |
---|
155 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
156 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
157 | </fo:block> |
---|
158 | </xsl:template> |
---|
159 | |
---|
160 | <xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> |
---|
161 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
162 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
163 | </fo:block> |
---|
164 | </xsl:template> |
---|
165 | |
---|
166 | <xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> |
---|
167 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> |
---|
168 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
169 | </fo:block> |
---|
170 | </xsl:template> |
---|
171 | |
---|
172 | <xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> |
---|
173 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
174 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
175 | </fo:block> |
---|
176 | </xsl:template> |
---|
177 | |
---|
178 | <xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> |
---|
179 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
180 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
181 | </fo:block> |
---|
182 | </xsl:template> |
---|
183 | |
---|
184 | <xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> |
---|
185 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> |
---|
186 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
187 | </fo:block> |
---|
188 | </xsl:template> |
---|
189 | |
---|
190 | <xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> |
---|
191 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> |
---|
192 | <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> |
---|
193 | </fo:block> |
---|
194 | </xsl:template> |
---|
195 | |
---|
196 | <xsl:template name="set.titlepage.recto"> |
---|
197 | <xsl:choose> |
---|
198 | <xsl:when test="setinfo/title"> |
---|
199 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> |
---|
200 | </xsl:when> |
---|
201 | <xsl:when test="info/title"> |
---|
202 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> |
---|
203 | </xsl:when> |
---|
204 | <xsl:when test="title"> |
---|
205 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> |
---|
206 | </xsl:when> |
---|
207 | </xsl:choose> |
---|
208 | |
---|
209 | <xsl:choose> |
---|
210 | <xsl:when test="setinfo/subtitle"> |
---|
211 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> |
---|
212 | </xsl:when> |
---|
213 | <xsl:when test="info/subtitle"> |
---|
214 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
215 | </xsl:when> |
---|
216 | <xsl:when test="subtitle"> |
---|
217 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> |
---|
218 | </xsl:when> |
---|
219 | </xsl:choose> |
---|
220 | |
---|
221 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> |
---|
222 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
223 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> |
---|
224 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
225 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> |
---|
226 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> |
---|
227 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> |
---|
228 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
229 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> |
---|
230 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
231 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> |
---|
232 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
233 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> |
---|
234 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
235 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> |
---|
236 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
237 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> |
---|
238 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> |
---|
239 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> |
---|
240 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
241 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> |
---|
242 | <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
243 | </xsl:template> |
---|
244 | |
---|
245 | <xsl:template name="set.titlepage.verso"> |
---|
246 | </xsl:template> |
---|
247 | |
---|
248 | <xsl:template name="set.titlepage.separator"> |
---|
249 | </xsl:template> |
---|
250 | |
---|
251 | <xsl:template name="set.titlepage.before.recto"> |
---|
252 | </xsl:template> |
---|
253 | |
---|
254 | <xsl:template name="set.titlepage.before.verso"> |
---|
255 | </xsl:template> |
---|
256 | |
---|
257 | <xsl:template name="set.titlepage"> |
---|
258 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
259 | <xsl:variable name="recto.content"> |
---|
260 | <xsl:call-template name="set.titlepage.before.recto"/> |
---|
261 | <xsl:call-template name="set.titlepage.recto"/> |
---|
262 | </xsl:variable> |
---|
263 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
264 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
265 | </xsl:if> |
---|
266 | <xsl:variable name="verso.content"> |
---|
267 | <xsl:call-template name="set.titlepage.before.verso"/> |
---|
268 | <xsl:call-template name="set.titlepage.verso"/> |
---|
269 | </xsl:variable> |
---|
270 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
271 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
272 | </xsl:if> |
---|
273 | <xsl:call-template name="set.titlepage.separator"/> |
---|
274 | </fo:block> |
---|
275 | </xsl:template> |
---|
276 | |
---|
277 | <xsl:template match="*" mode="set.titlepage.recto.mode"> |
---|
278 | <!-- if an element isn't found in this mode, --> |
---|
279 | <!-- try the generic titlepage.mode --> |
---|
280 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
281 | </xsl:template> |
---|
282 | |
---|
283 | <xsl:template match="*" mode="set.titlepage.verso.mode"> |
---|
284 | <!-- if an element isn't found in this mode, --> |
---|
285 | <!-- try the generic titlepage.mode --> |
---|
286 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
287 | </xsl:template> |
---|
288 | |
---|
289 | <xsl:template match="title" mode="set.titlepage.recto.auto.mode"> |
---|
290 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
291 | <xsl:call-template name="division.title"> |
---|
292 | <xsl:with-param name="node" select="ancestor-or-self::set[1]"/> |
---|
293 | </xsl:call-template> |
---|
294 | </fo:block> |
---|
295 | </xsl:template> |
---|
296 | |
---|
297 | <xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> |
---|
298 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center"> |
---|
299 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
300 | </fo:block> |
---|
301 | </xsl:template> |
---|
302 | |
---|
303 | <xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> |
---|
304 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
305 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
306 | </fo:block> |
---|
307 | </xsl:template> |
---|
308 | |
---|
309 | <xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> |
---|
310 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
311 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
312 | </fo:block> |
---|
313 | </xsl:template> |
---|
314 | |
---|
315 | <xsl:template match="author" mode="set.titlepage.recto.auto.mode"> |
---|
316 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
317 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
318 | </fo:block> |
---|
319 | </xsl:template> |
---|
320 | |
---|
321 | <xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> |
---|
322 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
323 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
324 | </fo:block> |
---|
325 | </xsl:template> |
---|
326 | |
---|
327 | <xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> |
---|
328 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
329 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
330 | </fo:block> |
---|
331 | </xsl:template> |
---|
332 | |
---|
333 | <xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> |
---|
334 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
335 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
336 | </fo:block> |
---|
337 | </xsl:template> |
---|
338 | |
---|
339 | <xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> |
---|
340 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
341 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
342 | </fo:block> |
---|
343 | </xsl:template> |
---|
344 | |
---|
345 | <xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> |
---|
346 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
347 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
348 | </fo:block> |
---|
349 | </xsl:template> |
---|
350 | |
---|
351 | <xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> |
---|
352 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
353 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
354 | </fo:block> |
---|
355 | </xsl:template> |
---|
356 | |
---|
357 | <xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> |
---|
358 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
359 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
360 | </fo:block> |
---|
361 | </xsl:template> |
---|
362 | |
---|
363 | <xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> |
---|
364 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> |
---|
365 | <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> |
---|
366 | </fo:block> |
---|
367 | </xsl:template> |
---|
368 | |
---|
369 | <xsl:template name="book.titlepage.recto"> |
---|
370 | <xsl:choose> |
---|
371 | <xsl:when test="bookinfo/title"> |
---|
372 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> |
---|
373 | </xsl:when> |
---|
374 | <xsl:when test="info/title"> |
---|
375 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> |
---|
376 | </xsl:when> |
---|
377 | <xsl:when test="title"> |
---|
378 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> |
---|
379 | </xsl:when> |
---|
380 | </xsl:choose> |
---|
381 | |
---|
382 | <xsl:choose> |
---|
383 | <xsl:when test="bookinfo/subtitle"> |
---|
384 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> |
---|
385 | </xsl:when> |
---|
386 | <xsl:when test="info/subtitle"> |
---|
387 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
388 | </xsl:when> |
---|
389 | <xsl:when test="subtitle"> |
---|
390 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> |
---|
391 | </xsl:when> |
---|
392 | </xsl:choose> |
---|
393 | |
---|
394 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> |
---|
395 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
396 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> |
---|
397 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
398 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> |
---|
399 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
400 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> |
---|
401 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> |
---|
402 | </xsl:template> |
---|
403 | |
---|
404 | <xsl:template name="book.titlepage.verso"> |
---|
405 | <xsl:choose> |
---|
406 | <xsl:when test="bookinfo/title"> |
---|
407 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/> |
---|
408 | </xsl:when> |
---|
409 | <xsl:when test="info/title"> |
---|
410 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/> |
---|
411 | </xsl:when> |
---|
412 | <xsl:when test="title"> |
---|
413 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/> |
---|
414 | </xsl:when> |
---|
415 | </xsl:choose> |
---|
416 | |
---|
417 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/> |
---|
418 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/corpauthor"/> |
---|
419 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/> |
---|
420 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/> |
---|
421 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/> |
---|
422 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/> |
---|
423 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/releaseinfo"/> |
---|
424 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/releaseinfo"/> |
---|
425 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/date"/> |
---|
426 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/date"/> |
---|
427 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/> |
---|
428 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/> |
---|
429 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/> |
---|
430 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/pubdate"/> |
---|
431 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/> |
---|
432 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/> |
---|
433 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/> |
---|
434 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/abstract"/> |
---|
435 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/> |
---|
436 | <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/> |
---|
437 | </xsl:template> |
---|
438 | |
---|
439 | <xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> |
---|
440 | </xsl:template> |
---|
441 | |
---|
442 | <xsl:template name="book.titlepage.before.recto"> |
---|
443 | </xsl:template> |
---|
444 | |
---|
445 | <xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> |
---|
446 | </xsl:template> |
---|
447 | |
---|
448 | <xsl:template name="book.titlepage"> |
---|
449 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
450 | <xsl:variable name="recto.content"> |
---|
451 | <xsl:call-template name="book.titlepage.before.recto"/> |
---|
452 | <xsl:call-template name="book.titlepage.recto"/> |
---|
453 | </xsl:variable> |
---|
454 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
455 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
456 | </xsl:if> |
---|
457 | <xsl:variable name="verso.content"> |
---|
458 | <xsl:call-template name="book.titlepage.before.verso"/> |
---|
459 | <xsl:call-template name="book.titlepage.verso"/> |
---|
460 | </xsl:variable> |
---|
461 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
462 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
463 | </xsl:if> |
---|
464 | <xsl:call-template name="book.titlepage.separator"/> |
---|
465 | </fo:block> |
---|
466 | </xsl:template> |
---|
467 | |
---|
468 | <xsl:template match="*" mode="book.titlepage.recto.mode"> |
---|
469 | <!-- if an element isn't found in this mode, --> |
---|
470 | <!-- try the generic titlepage.mode --> |
---|
471 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
472 | </xsl:template> |
---|
473 | |
---|
474 | <xsl:template match="*" mode="book.titlepage.verso.mode"> |
---|
475 | <!-- if an element isn't found in this mode, --> |
---|
476 | <!-- try the generic titlepage.mode --> |
---|
477 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
478 | </xsl:template> |
---|
479 | |
---|
480 | <xsl:template match="title" mode="book.titlepage.recto.auto.mode"> |
---|
481 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="3in" font-weight="bold" font-family="{$title.fontset}"> |
---|
482 | <xsl:call-template name="division.title"> |
---|
483 | <xsl:with-param name="node" select="ancestor-or-self::book[1]"/> |
---|
484 | </xsl:call-template> |
---|
485 | </fo:block> |
---|
486 | </xsl:template> |
---|
487 | |
---|
488 | <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> |
---|
489 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.fontset}"> |
---|
490 | <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> |
---|
491 | </fo:block> |
---|
492 | </xsl:template> |
---|
493 | |
---|
494 | <xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> |
---|
495 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="17.28pt" font-style="italic" space-before="1in" font-family="{$title.fontset}"> |
---|
496 | <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> |
---|
497 | </fo:block> |
---|
498 | </xsl:template> |
---|
499 | |
---|
500 | <xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> |
---|
501 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="10pt" space-before="12.96pt"> |
---|
502 | <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> |
---|
503 | </fo:block> |
---|
504 | </xsl:template> |
---|
505 | |
---|
506 | <xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> |
---|
507 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="2in"> |
---|
508 | <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> |
---|
509 | </fo:block> |
---|
510 | </xsl:template> |
---|
511 | |
---|
512 | <xsl:template match="author" mode="book.titlepage.recto.auto.mode"> |
---|
513 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="7in" keep-with-next="always"> |
---|
514 | <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> |
---|
515 | </fo:block> |
---|
516 | </xsl:template> |
---|
517 | |
---|
518 | <xsl:template match="title" mode="book.titlepage.verso.auto.mode"> |
---|
519 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
520 | <xsl:call-template name="book.verso.title"> |
---|
521 | </xsl:call-template> |
---|
522 | </fo:block> |
---|
523 | </xsl:template> |
---|
524 | |
---|
525 | <xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode"> |
---|
526 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
527 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
528 | </fo:block> |
---|
529 | </xsl:template> |
---|
530 | |
---|
531 | <xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode"> |
---|
532 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
533 | <xsl:call-template name="verso.authorgroup"> |
---|
534 | </xsl:call-template> |
---|
535 | </fo:block> |
---|
536 | </xsl:template> |
---|
537 | |
---|
538 | <xsl:template match="author" mode="book.titlepage.verso.auto.mode"> |
---|
539 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
540 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
541 | </fo:block> |
---|
542 | </xsl:template> |
---|
543 | |
---|
544 | <xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode"> |
---|
545 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> |
---|
546 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
547 | </fo:block> |
---|
548 | </xsl:template> |
---|
549 | |
---|
550 | <xsl:template match="date" mode="book.titlepage.verso.auto.mode"> |
---|
551 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
552 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
553 | </fo:block> |
---|
554 | </xsl:template> |
---|
555 | |
---|
556 | <xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode"> |
---|
557 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
558 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
559 | </fo:block> |
---|
560 | </xsl:template> |
---|
561 | |
---|
562 | <xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> |
---|
563 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> |
---|
564 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
565 | </fo:block> |
---|
566 | </xsl:template> |
---|
567 | |
---|
568 | <xsl:template match="copyright" mode="book.titlepage.verso.auto.mode"> |
---|
569 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
570 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
571 | </fo:block> |
---|
572 | </xsl:template> |
---|
573 | |
---|
574 | <xsl:template match="abstract" mode="book.titlepage.verso.auto.mode"> |
---|
575 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> |
---|
576 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
577 | </fo:block> |
---|
578 | </xsl:template> |
---|
579 | |
---|
580 | <xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode"> |
---|
581 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt"> |
---|
582 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> |
---|
583 | </fo:block> |
---|
584 | </xsl:template> |
---|
585 | |
---|
586 | <xsl:template name="part.titlepage.recto"> |
---|
587 | <xsl:choose> |
---|
588 | <xsl:when test="partinfo/title"> |
---|
589 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> |
---|
590 | </xsl:when> |
---|
591 | <xsl:when test="docinfo/title"> |
---|
592 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
593 | </xsl:when> |
---|
594 | <xsl:when test="info/title"> |
---|
595 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/title"/> |
---|
596 | </xsl:when> |
---|
597 | <xsl:when test="title"> |
---|
598 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> |
---|
599 | </xsl:when> |
---|
600 | </xsl:choose> |
---|
601 | |
---|
602 | <xsl:choose> |
---|
603 | <xsl:when test="partinfo/subtitle"> |
---|
604 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> |
---|
605 | </xsl:when> |
---|
606 | <xsl:when test="docinfo/subtitle"> |
---|
607 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
608 | </xsl:when> |
---|
609 | <xsl:when test="info/subtitle"> |
---|
610 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
611 | </xsl:when> |
---|
612 | <xsl:when test="subtitle"> |
---|
613 | <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> |
---|
614 | </xsl:when> |
---|
615 | </xsl:choose> |
---|
616 | |
---|
617 | </xsl:template> |
---|
618 | |
---|
619 | <xsl:template name="part.titlepage.verso"> |
---|
620 | </xsl:template> |
---|
621 | |
---|
622 | <xsl:template name="part.titlepage.separator"> |
---|
623 | </xsl:template> |
---|
624 | |
---|
625 | <xsl:template name="part.titlepage.before.recto"> |
---|
626 | </xsl:template> |
---|
627 | |
---|
628 | <xsl:template name="part.titlepage.before.verso"> |
---|
629 | </xsl:template> |
---|
630 | |
---|
631 | <xsl:template name="part.titlepage"> |
---|
632 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
633 | <xsl:variable name="recto.content"> |
---|
634 | <xsl:call-template name="part.titlepage.before.recto"/> |
---|
635 | <xsl:call-template name="part.titlepage.recto"/> |
---|
636 | </xsl:variable> |
---|
637 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
638 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
639 | </xsl:if> |
---|
640 | <xsl:variable name="verso.content"> |
---|
641 | <xsl:call-template name="part.titlepage.before.verso"/> |
---|
642 | <xsl:call-template name="part.titlepage.verso"/> |
---|
643 | </xsl:variable> |
---|
644 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
645 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
646 | </xsl:if> |
---|
647 | <xsl:call-template name="part.titlepage.separator"/> |
---|
648 | </fo:block> |
---|
649 | </xsl:template> |
---|
650 | |
---|
651 | <xsl:template match="*" mode="part.titlepage.recto.mode"> |
---|
652 | <!-- if an element isn't found in this mode, --> |
---|
653 | <!-- try the generic titlepage.mode --> |
---|
654 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
655 | </xsl:template> |
---|
656 | |
---|
657 | <xsl:template match="*" mode="part.titlepage.verso.mode"> |
---|
658 | <!-- if an element isn't found in this mode, --> |
---|
659 | <!-- try the generic titlepage.mode --> |
---|
660 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
661 | </xsl:template> |
---|
662 | |
---|
663 | <xsl:template match="title" mode="part.titlepage.recto.auto.mode"> |
---|
664 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
665 | <xsl:call-template name="division.title"> |
---|
666 | <xsl:with-param name="node" select="ancestor-or-self::part[1]"/> |
---|
667 | </xsl:call-template> |
---|
668 | </fo:block> |
---|
669 | </xsl:template> |
---|
670 | |
---|
671 | <xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> |
---|
672 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}"> |
---|
673 | <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> |
---|
674 | </fo:block> |
---|
675 | </xsl:template> |
---|
676 | |
---|
677 | <xsl:template name="partintro.titlepage.recto"> |
---|
678 | <xsl:choose> |
---|
679 | <xsl:when test="partintroinfo/title"> |
---|
680 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> |
---|
681 | </xsl:when> |
---|
682 | <xsl:when test="docinfo/title"> |
---|
683 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
684 | </xsl:when> |
---|
685 | <xsl:when test="info/title"> |
---|
686 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> |
---|
687 | </xsl:when> |
---|
688 | <xsl:when test="title"> |
---|
689 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> |
---|
690 | </xsl:when> |
---|
691 | </xsl:choose> |
---|
692 | |
---|
693 | <xsl:choose> |
---|
694 | <xsl:when test="partintroinfo/subtitle"> |
---|
695 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> |
---|
696 | </xsl:when> |
---|
697 | <xsl:when test="docinfo/subtitle"> |
---|
698 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
699 | </xsl:when> |
---|
700 | <xsl:when test="info/subtitle"> |
---|
701 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
702 | </xsl:when> |
---|
703 | <xsl:when test="subtitle"> |
---|
704 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> |
---|
705 | </xsl:when> |
---|
706 | </xsl:choose> |
---|
707 | |
---|
708 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> |
---|
709 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
710 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
711 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> |
---|
712 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
713 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
714 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> |
---|
715 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
716 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> |
---|
717 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> |
---|
718 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
719 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
720 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> |
---|
721 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
722 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
723 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> |
---|
724 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
725 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
726 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> |
---|
727 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
728 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
729 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> |
---|
730 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
731 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
732 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> |
---|
733 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
734 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> |
---|
735 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> |
---|
736 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
737 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
738 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> |
---|
739 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
740 | <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
741 | </xsl:template> |
---|
742 | |
---|
743 | <xsl:template name="partintro.titlepage.verso"> |
---|
744 | </xsl:template> |
---|
745 | |
---|
746 | <xsl:template name="partintro.titlepage.separator"> |
---|
747 | </xsl:template> |
---|
748 | |
---|
749 | <xsl:template name="partintro.titlepage.before.recto"> |
---|
750 | </xsl:template> |
---|
751 | |
---|
752 | <xsl:template name="partintro.titlepage.before.verso"> |
---|
753 | </xsl:template> |
---|
754 | |
---|
755 | <xsl:template name="partintro.titlepage"> |
---|
756 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
757 | <xsl:variable name="recto.content"> |
---|
758 | <xsl:call-template name="partintro.titlepage.before.recto"/> |
---|
759 | <xsl:call-template name="partintro.titlepage.recto"/> |
---|
760 | </xsl:variable> |
---|
761 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
762 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
763 | </xsl:if> |
---|
764 | <xsl:variable name="verso.content"> |
---|
765 | <xsl:call-template name="partintro.titlepage.before.verso"/> |
---|
766 | <xsl:call-template name="partintro.titlepage.verso"/> |
---|
767 | </xsl:variable> |
---|
768 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
769 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
770 | </xsl:if> |
---|
771 | <xsl:call-template name="partintro.titlepage.separator"/> |
---|
772 | </fo:block> |
---|
773 | </xsl:template> |
---|
774 | |
---|
775 | <xsl:template match="*" mode="partintro.titlepage.recto.mode"> |
---|
776 | <!-- if an element isn't found in this mode, --> |
---|
777 | <!-- try the generic titlepage.mode --> |
---|
778 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
779 | </xsl:template> |
---|
780 | |
---|
781 | <xsl:template match="*" mode="partintro.titlepage.verso.mode"> |
---|
782 | <!-- if an element isn't found in this mode, --> |
---|
783 | <!-- try the generic titlepage.mode --> |
---|
784 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
785 | </xsl:template> |
---|
786 | |
---|
787 | <xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> |
---|
788 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="24.8832pt" font-weight="bold" space-before="1em" font-family="{$title.fontset}"> |
---|
789 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
790 | </fo:block> |
---|
791 | </xsl:template> |
---|
792 | |
---|
793 | <xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> |
---|
794 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="14.4pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}"> |
---|
795 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
796 | </fo:block> |
---|
797 | </xsl:template> |
---|
798 | |
---|
799 | <xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> |
---|
800 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
801 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
802 | </fo:block> |
---|
803 | </xsl:template> |
---|
804 | |
---|
805 | <xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> |
---|
806 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
807 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
808 | </fo:block> |
---|
809 | </xsl:template> |
---|
810 | |
---|
811 | <xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> |
---|
812 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
813 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
814 | </fo:block> |
---|
815 | </xsl:template> |
---|
816 | |
---|
817 | <xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> |
---|
818 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
819 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
820 | </fo:block> |
---|
821 | </xsl:template> |
---|
822 | |
---|
823 | <xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> |
---|
824 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
825 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
826 | </fo:block> |
---|
827 | </xsl:template> |
---|
828 | |
---|
829 | <xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> |
---|
830 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
831 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
832 | </fo:block> |
---|
833 | </xsl:template> |
---|
834 | |
---|
835 | <xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> |
---|
836 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
837 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
838 | </fo:block> |
---|
839 | </xsl:template> |
---|
840 | |
---|
841 | <xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> |
---|
842 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
843 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
844 | </fo:block> |
---|
845 | </xsl:template> |
---|
846 | |
---|
847 | <xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> |
---|
848 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
849 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
850 | </fo:block> |
---|
851 | </xsl:template> |
---|
852 | |
---|
853 | <xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> |
---|
854 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
855 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
856 | </fo:block> |
---|
857 | </xsl:template> |
---|
858 | |
---|
859 | <xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> |
---|
860 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> |
---|
861 | <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> |
---|
862 | </fo:block> |
---|
863 | </xsl:template> |
---|
864 | |
---|
865 | <xsl:template name="reference.titlepage.recto"> |
---|
866 | <xsl:choose> |
---|
867 | <xsl:when test="referenceinfo/title"> |
---|
868 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> |
---|
869 | </xsl:when> |
---|
870 | <xsl:when test="docinfo/title"> |
---|
871 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
872 | </xsl:when> |
---|
873 | <xsl:when test="info/title"> |
---|
874 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> |
---|
875 | </xsl:when> |
---|
876 | <xsl:when test="title"> |
---|
877 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> |
---|
878 | </xsl:when> |
---|
879 | </xsl:choose> |
---|
880 | |
---|
881 | <xsl:choose> |
---|
882 | <xsl:when test="referenceinfo/subtitle"> |
---|
883 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> |
---|
884 | </xsl:when> |
---|
885 | <xsl:when test="docinfo/subtitle"> |
---|
886 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
887 | </xsl:when> |
---|
888 | <xsl:when test="info/subtitle"> |
---|
889 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
890 | </xsl:when> |
---|
891 | <xsl:when test="subtitle"> |
---|
892 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> |
---|
893 | </xsl:when> |
---|
894 | </xsl:choose> |
---|
895 | |
---|
896 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> |
---|
897 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
898 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
899 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> |
---|
900 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
901 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
902 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> |
---|
903 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
904 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> |
---|
905 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> |
---|
906 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
907 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
908 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> |
---|
909 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
910 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
911 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> |
---|
912 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
913 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
914 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> |
---|
915 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
916 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
917 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> |
---|
918 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
919 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
920 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> |
---|
921 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
922 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> |
---|
923 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> |
---|
924 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
925 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
926 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> |
---|
927 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
928 | <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
929 | </xsl:template> |
---|
930 | |
---|
931 | <xsl:template name="reference.titlepage.verso"> |
---|
932 | </xsl:template> |
---|
933 | |
---|
934 | <xsl:template name="reference.titlepage.separator"> |
---|
935 | </xsl:template> |
---|
936 | |
---|
937 | <xsl:template name="reference.titlepage.before.recto"> |
---|
938 | </xsl:template> |
---|
939 | |
---|
940 | <xsl:template name="reference.titlepage.before.verso"> |
---|
941 | </xsl:template> |
---|
942 | |
---|
943 | <xsl:template name="reference.titlepage"> |
---|
944 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
945 | <xsl:variable name="recto.content"> |
---|
946 | <xsl:call-template name="reference.titlepage.before.recto"/> |
---|
947 | <xsl:call-template name="reference.titlepage.recto"/> |
---|
948 | </xsl:variable> |
---|
949 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
950 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
951 | </xsl:if> |
---|
952 | <xsl:variable name="verso.content"> |
---|
953 | <xsl:call-template name="reference.titlepage.before.verso"/> |
---|
954 | <xsl:call-template name="reference.titlepage.verso"/> |
---|
955 | </xsl:variable> |
---|
956 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
957 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
958 | </xsl:if> |
---|
959 | <xsl:call-template name="reference.titlepage.separator"/> |
---|
960 | </fo:block> |
---|
961 | </xsl:template> |
---|
962 | |
---|
963 | <xsl:template match="*" mode="reference.titlepage.recto.mode"> |
---|
964 | <!-- if an element isn't found in this mode, --> |
---|
965 | <!-- try the generic titlepage.mode --> |
---|
966 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
967 | </xsl:template> |
---|
968 | |
---|
969 | <xsl:template match="*" mode="reference.titlepage.verso.mode"> |
---|
970 | <!-- if an element isn't found in this mode, --> |
---|
971 | <!-- try the generic titlepage.mode --> |
---|
972 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
973 | </xsl:template> |
---|
974 | |
---|
975 | <xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> |
---|
976 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
977 | <xsl:call-template name="division.title"> |
---|
978 | <xsl:with-param name="node" select="ancestor-or-self::reference[1]"/> |
---|
979 | </xsl:call-template> |
---|
980 | </fo:block> |
---|
981 | </xsl:template> |
---|
982 | |
---|
983 | <xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> |
---|
984 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center"> |
---|
985 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
986 | </fo:block> |
---|
987 | </xsl:template> |
---|
988 | |
---|
989 | <xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> |
---|
990 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
991 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
992 | </fo:block> |
---|
993 | </xsl:template> |
---|
994 | |
---|
995 | <xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> |
---|
996 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
997 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
998 | </fo:block> |
---|
999 | </xsl:template> |
---|
1000 | |
---|
1001 | <xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> |
---|
1002 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1003 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1004 | </fo:block> |
---|
1005 | </xsl:template> |
---|
1006 | |
---|
1007 | <xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> |
---|
1008 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1009 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1010 | </fo:block> |
---|
1011 | </xsl:template> |
---|
1012 | |
---|
1013 | <xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> |
---|
1014 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1015 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1016 | </fo:block> |
---|
1017 | </xsl:template> |
---|
1018 | |
---|
1019 | <xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> |
---|
1020 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1021 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1022 | </fo:block> |
---|
1023 | </xsl:template> |
---|
1024 | |
---|
1025 | <xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> |
---|
1026 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1027 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1028 | </fo:block> |
---|
1029 | </xsl:template> |
---|
1030 | |
---|
1031 | <xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> |
---|
1032 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1033 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1034 | </fo:block> |
---|
1035 | </xsl:template> |
---|
1036 | |
---|
1037 | <xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> |
---|
1038 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1039 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1040 | </fo:block> |
---|
1041 | </xsl:template> |
---|
1042 | |
---|
1043 | <xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> |
---|
1044 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1045 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1046 | </fo:block> |
---|
1047 | </xsl:template> |
---|
1048 | |
---|
1049 | <xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> |
---|
1050 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> |
---|
1051 | <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> |
---|
1052 | </fo:block> |
---|
1053 | </xsl:template> |
---|
1054 | |
---|
1055 | <xsl:template name="refsynopsisdiv.titlepage.recto"> |
---|
1056 | <xsl:choose> |
---|
1057 | <xsl:when test="refsynopsisdivinfo/title"> |
---|
1058 | <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title"/> |
---|
1059 | </xsl:when> |
---|
1060 | <xsl:when test="docinfo/title"> |
---|
1061 | <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1062 | </xsl:when> |
---|
1063 | <xsl:when test="info/title"> |
---|
1064 | <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/title"/> |
---|
1065 | </xsl:when> |
---|
1066 | <xsl:when test="title"> |
---|
1067 | <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title"/> |
---|
1068 | </xsl:when> |
---|
1069 | </xsl:choose> |
---|
1070 | |
---|
1071 | </xsl:template> |
---|
1072 | |
---|
1073 | <xsl:template name="refsynopsisdiv.titlepage.verso"> |
---|
1074 | </xsl:template> |
---|
1075 | |
---|
1076 | <xsl:template name="refsynopsisdiv.titlepage.separator"> |
---|
1077 | </xsl:template> |
---|
1078 | |
---|
1079 | <xsl:template name="refsynopsisdiv.titlepage.before.recto"> |
---|
1080 | </xsl:template> |
---|
1081 | |
---|
1082 | <xsl:template name="refsynopsisdiv.titlepage.before.verso"> |
---|
1083 | </xsl:template> |
---|
1084 | |
---|
1085 | <xsl:template name="refsynopsisdiv.titlepage"> |
---|
1086 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1087 | <xsl:variable name="recto.content"> |
---|
1088 | <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/> |
---|
1089 | <xsl:call-template name="refsynopsisdiv.titlepage.recto"/> |
---|
1090 | </xsl:variable> |
---|
1091 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1092 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1093 | </xsl:if> |
---|
1094 | <xsl:variable name="verso.content"> |
---|
1095 | <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/> |
---|
1096 | <xsl:call-template name="refsynopsisdiv.titlepage.verso"/> |
---|
1097 | </xsl:variable> |
---|
1098 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1099 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1100 | </xsl:if> |
---|
1101 | <xsl:call-template name="refsynopsisdiv.titlepage.separator"/> |
---|
1102 | </fo:block> |
---|
1103 | </xsl:template> |
---|
1104 | |
---|
1105 | <xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode"> |
---|
1106 | <!-- if an element isn't found in this mode, --> |
---|
1107 | <!-- try the generic titlepage.mode --> |
---|
1108 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1109 | </xsl:template> |
---|
1110 | |
---|
1111 | <xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode"> |
---|
1112 | <!-- if an element isn't found in this mode, --> |
---|
1113 | <!-- try the generic titlepage.mode --> |
---|
1114 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1115 | </xsl:template> |
---|
1116 | |
---|
1117 | <xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode"> |
---|
1118 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1119 | <xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/> |
---|
1120 | </fo:block> |
---|
1121 | </xsl:template> |
---|
1122 | |
---|
1123 | <xsl:template name="refsection.titlepage.recto"> |
---|
1124 | <xsl:choose> |
---|
1125 | <xsl:when test="refsectioninfo/title"> |
---|
1126 | <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title"/> |
---|
1127 | </xsl:when> |
---|
1128 | <xsl:when test="docinfo/title"> |
---|
1129 | <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1130 | </xsl:when> |
---|
1131 | <xsl:when test="info/title"> |
---|
1132 | <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/title"/> |
---|
1133 | </xsl:when> |
---|
1134 | <xsl:when test="title"> |
---|
1135 | <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title"/> |
---|
1136 | </xsl:when> |
---|
1137 | </xsl:choose> |
---|
1138 | |
---|
1139 | </xsl:template> |
---|
1140 | |
---|
1141 | <xsl:template name="refsection.titlepage.verso"> |
---|
1142 | </xsl:template> |
---|
1143 | |
---|
1144 | <xsl:template name="refsection.titlepage.separator"> |
---|
1145 | </xsl:template> |
---|
1146 | |
---|
1147 | <xsl:template name="refsection.titlepage.before.recto"> |
---|
1148 | </xsl:template> |
---|
1149 | |
---|
1150 | <xsl:template name="refsection.titlepage.before.verso"> |
---|
1151 | </xsl:template> |
---|
1152 | |
---|
1153 | <xsl:template name="refsection.titlepage"> |
---|
1154 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1155 | <xsl:variable name="recto.content"> |
---|
1156 | <xsl:call-template name="refsection.titlepage.before.recto"/> |
---|
1157 | <xsl:call-template name="refsection.titlepage.recto"/> |
---|
1158 | </xsl:variable> |
---|
1159 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1160 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1161 | </xsl:if> |
---|
1162 | <xsl:variable name="verso.content"> |
---|
1163 | <xsl:call-template name="refsection.titlepage.before.verso"/> |
---|
1164 | <xsl:call-template name="refsection.titlepage.verso"/> |
---|
1165 | </xsl:variable> |
---|
1166 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1167 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1168 | </xsl:if> |
---|
1169 | <xsl:call-template name="refsection.titlepage.separator"/> |
---|
1170 | </fo:block> |
---|
1171 | </xsl:template> |
---|
1172 | |
---|
1173 | <xsl:template match="*" mode="refsection.titlepage.recto.mode"> |
---|
1174 | <!-- if an element isn't found in this mode, --> |
---|
1175 | <!-- try the generic titlepage.mode --> |
---|
1176 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1177 | </xsl:template> |
---|
1178 | |
---|
1179 | <xsl:template match="*" mode="refsection.titlepage.verso.mode"> |
---|
1180 | <!-- if an element isn't found in this mode, --> |
---|
1181 | <!-- try the generic titlepage.mode --> |
---|
1182 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1183 | </xsl:template> |
---|
1184 | |
---|
1185 | <xsl:template match="title" mode="refsection.titlepage.recto.auto.mode"> |
---|
1186 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1187 | <xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/> |
---|
1188 | </fo:block> |
---|
1189 | </xsl:template> |
---|
1190 | |
---|
1191 | <xsl:template name="refsect1.titlepage.recto"> |
---|
1192 | <xsl:choose> |
---|
1193 | <xsl:when test="refsect1info/title"> |
---|
1194 | <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/title"/> |
---|
1195 | </xsl:when> |
---|
1196 | <xsl:when test="docinfo/title"> |
---|
1197 | <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1198 | </xsl:when> |
---|
1199 | <xsl:when test="info/title"> |
---|
1200 | <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/title"/> |
---|
1201 | </xsl:when> |
---|
1202 | <xsl:when test="title"> |
---|
1203 | <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="title"/> |
---|
1204 | </xsl:when> |
---|
1205 | </xsl:choose> |
---|
1206 | |
---|
1207 | </xsl:template> |
---|
1208 | |
---|
1209 | <xsl:template name="refsect1.titlepage.verso"> |
---|
1210 | </xsl:template> |
---|
1211 | |
---|
1212 | <xsl:template name="refsect1.titlepage.separator"> |
---|
1213 | </xsl:template> |
---|
1214 | |
---|
1215 | <xsl:template name="refsect1.titlepage.before.recto"> |
---|
1216 | </xsl:template> |
---|
1217 | |
---|
1218 | <xsl:template name="refsect1.titlepage.before.verso"> |
---|
1219 | </xsl:template> |
---|
1220 | |
---|
1221 | <xsl:template name="refsect1.titlepage"> |
---|
1222 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1223 | <xsl:variable name="recto.content"> |
---|
1224 | <xsl:call-template name="refsect1.titlepage.before.recto"/> |
---|
1225 | <xsl:call-template name="refsect1.titlepage.recto"/> |
---|
1226 | </xsl:variable> |
---|
1227 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1228 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1229 | </xsl:if> |
---|
1230 | <xsl:variable name="verso.content"> |
---|
1231 | <xsl:call-template name="refsect1.titlepage.before.verso"/> |
---|
1232 | <xsl:call-template name="refsect1.titlepage.verso"/> |
---|
1233 | </xsl:variable> |
---|
1234 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1235 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1236 | </xsl:if> |
---|
1237 | <xsl:call-template name="refsect1.titlepage.separator"/> |
---|
1238 | </fo:block> |
---|
1239 | </xsl:template> |
---|
1240 | |
---|
1241 | <xsl:template match="*" mode="refsect1.titlepage.recto.mode"> |
---|
1242 | <!-- if an element isn't found in this mode, --> |
---|
1243 | <!-- try the generic titlepage.mode --> |
---|
1244 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1245 | </xsl:template> |
---|
1246 | |
---|
1247 | <xsl:template match="*" mode="refsect1.titlepage.verso.mode"> |
---|
1248 | <!-- if an element isn't found in this mode, --> |
---|
1249 | <!-- try the generic titlepage.mode --> |
---|
1250 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1251 | </xsl:template> |
---|
1252 | |
---|
1253 | <xsl:template match="title" mode="refsect1.titlepage.recto.auto.mode"> |
---|
1254 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1255 | <xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/> |
---|
1256 | </fo:block> |
---|
1257 | </xsl:template> |
---|
1258 | |
---|
1259 | <xsl:template name="refsect2.titlepage.recto"> |
---|
1260 | <xsl:choose> |
---|
1261 | <xsl:when test="refsect2info/title"> |
---|
1262 | <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/title"/> |
---|
1263 | </xsl:when> |
---|
1264 | <xsl:when test="docinfo/title"> |
---|
1265 | <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1266 | </xsl:when> |
---|
1267 | <xsl:when test="info/title"> |
---|
1268 | <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/title"/> |
---|
1269 | </xsl:when> |
---|
1270 | <xsl:when test="title"> |
---|
1271 | <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="title"/> |
---|
1272 | </xsl:when> |
---|
1273 | </xsl:choose> |
---|
1274 | |
---|
1275 | </xsl:template> |
---|
1276 | |
---|
1277 | <xsl:template name="refsect2.titlepage.verso"> |
---|
1278 | </xsl:template> |
---|
1279 | |
---|
1280 | <xsl:template name="refsect2.titlepage.separator"> |
---|
1281 | </xsl:template> |
---|
1282 | |
---|
1283 | <xsl:template name="refsect2.titlepage.before.recto"> |
---|
1284 | </xsl:template> |
---|
1285 | |
---|
1286 | <xsl:template name="refsect2.titlepage.before.verso"> |
---|
1287 | </xsl:template> |
---|
1288 | |
---|
1289 | <xsl:template name="refsect2.titlepage"> |
---|
1290 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1291 | <xsl:variable name="recto.content"> |
---|
1292 | <xsl:call-template name="refsect2.titlepage.before.recto"/> |
---|
1293 | <xsl:call-template name="refsect2.titlepage.recto"/> |
---|
1294 | </xsl:variable> |
---|
1295 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1296 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1297 | </xsl:if> |
---|
1298 | <xsl:variable name="verso.content"> |
---|
1299 | <xsl:call-template name="refsect2.titlepage.before.verso"/> |
---|
1300 | <xsl:call-template name="refsect2.titlepage.verso"/> |
---|
1301 | </xsl:variable> |
---|
1302 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1303 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1304 | </xsl:if> |
---|
1305 | <xsl:call-template name="refsect2.titlepage.separator"/> |
---|
1306 | </fo:block> |
---|
1307 | </xsl:template> |
---|
1308 | |
---|
1309 | <xsl:template match="*" mode="refsect2.titlepage.recto.mode"> |
---|
1310 | <!-- if an element isn't found in this mode, --> |
---|
1311 | <!-- try the generic titlepage.mode --> |
---|
1312 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1313 | </xsl:template> |
---|
1314 | |
---|
1315 | <xsl:template match="*" mode="refsect2.titlepage.verso.mode"> |
---|
1316 | <!-- if an element isn't found in this mode, --> |
---|
1317 | <!-- try the generic titlepage.mode --> |
---|
1318 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1319 | </xsl:template> |
---|
1320 | |
---|
1321 | <xsl:template match="title" mode="refsect2.titlepage.recto.auto.mode"> |
---|
1322 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1323 | <xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/> |
---|
1324 | </fo:block> |
---|
1325 | </xsl:template> |
---|
1326 | |
---|
1327 | <xsl:template name="refsect3.titlepage.recto"> |
---|
1328 | <xsl:choose> |
---|
1329 | <xsl:when test="refsect3info/title"> |
---|
1330 | <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/title"/> |
---|
1331 | </xsl:when> |
---|
1332 | <xsl:when test="docinfo/title"> |
---|
1333 | <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1334 | </xsl:when> |
---|
1335 | <xsl:when test="info/title"> |
---|
1336 | <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/title"/> |
---|
1337 | </xsl:when> |
---|
1338 | <xsl:when test="title"> |
---|
1339 | <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="title"/> |
---|
1340 | </xsl:when> |
---|
1341 | </xsl:choose> |
---|
1342 | |
---|
1343 | </xsl:template> |
---|
1344 | |
---|
1345 | <xsl:template name="refsect3.titlepage.verso"> |
---|
1346 | </xsl:template> |
---|
1347 | |
---|
1348 | <xsl:template name="refsect3.titlepage.separator"> |
---|
1349 | </xsl:template> |
---|
1350 | |
---|
1351 | <xsl:template name="refsect3.titlepage.before.recto"> |
---|
1352 | </xsl:template> |
---|
1353 | |
---|
1354 | <xsl:template name="refsect3.titlepage.before.verso"> |
---|
1355 | </xsl:template> |
---|
1356 | |
---|
1357 | <xsl:template name="refsect3.titlepage"> |
---|
1358 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1359 | <xsl:variable name="recto.content"> |
---|
1360 | <xsl:call-template name="refsect3.titlepage.before.recto"/> |
---|
1361 | <xsl:call-template name="refsect3.titlepage.recto"/> |
---|
1362 | </xsl:variable> |
---|
1363 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1364 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1365 | </xsl:if> |
---|
1366 | <xsl:variable name="verso.content"> |
---|
1367 | <xsl:call-template name="refsect3.titlepage.before.verso"/> |
---|
1368 | <xsl:call-template name="refsect3.titlepage.verso"/> |
---|
1369 | </xsl:variable> |
---|
1370 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1371 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1372 | </xsl:if> |
---|
1373 | <xsl:call-template name="refsect3.titlepage.separator"/> |
---|
1374 | </fo:block> |
---|
1375 | </xsl:template> |
---|
1376 | |
---|
1377 | <xsl:template match="*" mode="refsect3.titlepage.recto.mode"> |
---|
1378 | <!-- if an element isn't found in this mode, --> |
---|
1379 | <!-- try the generic titlepage.mode --> |
---|
1380 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1381 | </xsl:template> |
---|
1382 | |
---|
1383 | <xsl:template match="*" mode="refsect3.titlepage.verso.mode"> |
---|
1384 | <!-- if an element isn't found in this mode, --> |
---|
1385 | <!-- try the generic titlepage.mode --> |
---|
1386 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1387 | </xsl:template> |
---|
1388 | |
---|
1389 | <xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode"> |
---|
1390 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1391 | <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/> |
---|
1392 | </fo:block> |
---|
1393 | </xsl:template> |
---|
1394 | |
---|
1395 | <xsl:template name="dedication.titlepage.recto"> |
---|
1396 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
1397 | <xsl:call-template name="component.title"> |
---|
1398 | <xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> |
---|
1399 | </xsl:call-template></fo:block> |
---|
1400 | <xsl:choose> |
---|
1401 | <xsl:when test="dedicationinfo/subtitle"> |
---|
1402 | <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> |
---|
1403 | </xsl:when> |
---|
1404 | <xsl:when test="docinfo/subtitle"> |
---|
1405 | <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
1406 | </xsl:when> |
---|
1407 | <xsl:when test="info/subtitle"> |
---|
1408 | <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
1409 | </xsl:when> |
---|
1410 | <xsl:when test="subtitle"> |
---|
1411 | <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> |
---|
1412 | </xsl:when> |
---|
1413 | </xsl:choose> |
---|
1414 | |
---|
1415 | </xsl:template> |
---|
1416 | |
---|
1417 | <xsl:template name="dedication.titlepage.verso"> |
---|
1418 | </xsl:template> |
---|
1419 | |
---|
1420 | <xsl:template name="dedication.titlepage.separator"> |
---|
1421 | </xsl:template> |
---|
1422 | |
---|
1423 | <xsl:template name="dedication.titlepage.before.recto"> |
---|
1424 | </xsl:template> |
---|
1425 | |
---|
1426 | <xsl:template name="dedication.titlepage.before.verso"> |
---|
1427 | </xsl:template> |
---|
1428 | |
---|
1429 | <xsl:template name="dedication.titlepage"> |
---|
1430 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1431 | <xsl:variable name="recto.content"> |
---|
1432 | <xsl:call-template name="dedication.titlepage.before.recto"/> |
---|
1433 | <xsl:call-template name="dedication.titlepage.recto"/> |
---|
1434 | </xsl:variable> |
---|
1435 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1436 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1437 | </xsl:if> |
---|
1438 | <xsl:variable name="verso.content"> |
---|
1439 | <xsl:call-template name="dedication.titlepage.before.verso"/> |
---|
1440 | <xsl:call-template name="dedication.titlepage.verso"/> |
---|
1441 | </xsl:variable> |
---|
1442 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1443 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1444 | </xsl:if> |
---|
1445 | <xsl:call-template name="dedication.titlepage.separator"/> |
---|
1446 | </fo:block> |
---|
1447 | </xsl:template> |
---|
1448 | |
---|
1449 | <xsl:template match="*" mode="dedication.titlepage.recto.mode"> |
---|
1450 | <!-- if an element isn't found in this mode, --> |
---|
1451 | <!-- try the generic titlepage.mode --> |
---|
1452 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1453 | </xsl:template> |
---|
1454 | |
---|
1455 | <xsl:template match="*" mode="dedication.titlepage.verso.mode"> |
---|
1456 | <!-- if an element isn't found in this mode, --> |
---|
1457 | <!-- try the generic titlepage.mode --> |
---|
1458 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1459 | </xsl:template> |
---|
1460 | |
---|
1461 | <xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> |
---|
1462 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1463 | <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> |
---|
1464 | </fo:block> |
---|
1465 | </xsl:template> |
---|
1466 | |
---|
1467 | <xsl:template name="preface.titlepage.recto"> |
---|
1468 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
1469 | <xsl:call-template name="component.title"> |
---|
1470 | <xsl:with-param name="node" select="ancestor-or-self::preface[1]"/> |
---|
1471 | </xsl:call-template></fo:block> |
---|
1472 | <xsl:choose> |
---|
1473 | <xsl:when test="prefaceinfo/subtitle"> |
---|
1474 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> |
---|
1475 | </xsl:when> |
---|
1476 | <xsl:when test="docinfo/subtitle"> |
---|
1477 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
1478 | </xsl:when> |
---|
1479 | <xsl:when test="info/subtitle"> |
---|
1480 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
1481 | </xsl:when> |
---|
1482 | <xsl:when test="subtitle"> |
---|
1483 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> |
---|
1484 | </xsl:when> |
---|
1485 | </xsl:choose> |
---|
1486 | |
---|
1487 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> |
---|
1488 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
1489 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
1490 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> |
---|
1491 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
1492 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
1493 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> |
---|
1494 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
1495 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> |
---|
1496 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> |
---|
1497 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
1498 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
1499 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> |
---|
1500 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
1501 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
1502 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> |
---|
1503 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
1504 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
1505 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> |
---|
1506 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
1507 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
1508 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> |
---|
1509 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
1510 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
1511 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> |
---|
1512 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
1513 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> |
---|
1514 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> |
---|
1515 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
1516 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
1517 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> |
---|
1518 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
1519 | <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
1520 | </xsl:template> |
---|
1521 | |
---|
1522 | <xsl:template name="preface.titlepage.verso"> |
---|
1523 | </xsl:template> |
---|
1524 | |
---|
1525 | <xsl:template name="preface.titlepage.separator"> |
---|
1526 | </xsl:template> |
---|
1527 | |
---|
1528 | <xsl:template name="preface.titlepage.before.recto"> |
---|
1529 | </xsl:template> |
---|
1530 | |
---|
1531 | <xsl:template name="preface.titlepage.before.verso"> |
---|
1532 | </xsl:template> |
---|
1533 | |
---|
1534 | <xsl:template name="preface.titlepage"> |
---|
1535 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1536 | <xsl:variable name="recto.content"> |
---|
1537 | <xsl:call-template name="preface.titlepage.before.recto"/> |
---|
1538 | <xsl:call-template name="preface.titlepage.recto"/> |
---|
1539 | </xsl:variable> |
---|
1540 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1541 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1542 | </xsl:if> |
---|
1543 | <xsl:variable name="verso.content"> |
---|
1544 | <xsl:call-template name="preface.titlepage.before.verso"/> |
---|
1545 | <xsl:call-template name="preface.titlepage.verso"/> |
---|
1546 | </xsl:variable> |
---|
1547 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1548 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1549 | </xsl:if> |
---|
1550 | <xsl:call-template name="preface.titlepage.separator"/> |
---|
1551 | </fo:block> |
---|
1552 | </xsl:template> |
---|
1553 | |
---|
1554 | <xsl:template match="*" mode="preface.titlepage.recto.mode"> |
---|
1555 | <!-- if an element isn't found in this mode, --> |
---|
1556 | <!-- try the generic titlepage.mode --> |
---|
1557 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1558 | </xsl:template> |
---|
1559 | |
---|
1560 | <xsl:template match="*" mode="preface.titlepage.verso.mode"> |
---|
1561 | <!-- if an element isn't found in this mode, --> |
---|
1562 | <!-- try the generic titlepage.mode --> |
---|
1563 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1564 | </xsl:template> |
---|
1565 | |
---|
1566 | <xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> |
---|
1567 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1568 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1569 | </fo:block> |
---|
1570 | </xsl:template> |
---|
1571 | |
---|
1572 | <xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> |
---|
1573 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1574 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1575 | </fo:block> |
---|
1576 | </xsl:template> |
---|
1577 | |
---|
1578 | <xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> |
---|
1579 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1580 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1581 | </fo:block> |
---|
1582 | </xsl:template> |
---|
1583 | |
---|
1584 | <xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> |
---|
1585 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1586 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1587 | </fo:block> |
---|
1588 | </xsl:template> |
---|
1589 | |
---|
1590 | <xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> |
---|
1591 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1592 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1593 | </fo:block> |
---|
1594 | </xsl:template> |
---|
1595 | |
---|
1596 | <xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> |
---|
1597 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1598 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1599 | </fo:block> |
---|
1600 | </xsl:template> |
---|
1601 | |
---|
1602 | <xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> |
---|
1603 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1604 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1605 | </fo:block> |
---|
1606 | </xsl:template> |
---|
1607 | |
---|
1608 | <xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> |
---|
1609 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1610 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1611 | </fo:block> |
---|
1612 | </xsl:template> |
---|
1613 | |
---|
1614 | <xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> |
---|
1615 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1616 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1617 | </fo:block> |
---|
1618 | </xsl:template> |
---|
1619 | |
---|
1620 | <xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> |
---|
1621 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1622 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1623 | </fo:block> |
---|
1624 | </xsl:template> |
---|
1625 | |
---|
1626 | <xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> |
---|
1627 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1628 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1629 | </fo:block> |
---|
1630 | </xsl:template> |
---|
1631 | |
---|
1632 | <xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> |
---|
1633 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> |
---|
1634 | <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> |
---|
1635 | </fo:block> |
---|
1636 | </xsl:template> |
---|
1637 | |
---|
1638 | <xsl:template name="chapter.titlepage.recto"> |
---|
1639 | <xsl:choose> |
---|
1640 | <xsl:when test="chapterinfo/title"> |
---|
1641 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> |
---|
1642 | </xsl:when> |
---|
1643 | <xsl:when test="docinfo/title"> |
---|
1644 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1645 | </xsl:when> |
---|
1646 | <xsl:when test="info/title"> |
---|
1647 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> |
---|
1648 | </xsl:when> |
---|
1649 | <xsl:when test="title"> |
---|
1650 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> |
---|
1651 | </xsl:when> |
---|
1652 | </xsl:choose> |
---|
1653 | |
---|
1654 | <xsl:choose> |
---|
1655 | <xsl:when test="chapterinfo/subtitle"> |
---|
1656 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> |
---|
1657 | </xsl:when> |
---|
1658 | <xsl:when test="docinfo/subtitle"> |
---|
1659 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
1660 | </xsl:when> |
---|
1661 | <xsl:when test="info/subtitle"> |
---|
1662 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
1663 | </xsl:when> |
---|
1664 | <xsl:when test="subtitle"> |
---|
1665 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> |
---|
1666 | </xsl:when> |
---|
1667 | </xsl:choose> |
---|
1668 | |
---|
1669 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> |
---|
1670 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
1671 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
1672 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> |
---|
1673 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
1674 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
1675 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> |
---|
1676 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
1677 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> |
---|
1678 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> |
---|
1679 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
1680 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
1681 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> |
---|
1682 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
1683 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
1684 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> |
---|
1685 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
1686 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
1687 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> |
---|
1688 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
1689 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
1690 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> |
---|
1691 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
1692 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
1693 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> |
---|
1694 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
1695 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> |
---|
1696 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> |
---|
1697 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
1698 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
1699 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> |
---|
1700 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
1701 | <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
1702 | </xsl:template> |
---|
1703 | |
---|
1704 | <xsl:template name="chapter.titlepage.verso"> |
---|
1705 | </xsl:template> |
---|
1706 | |
---|
1707 | <xsl:template name="chapter.titlepage.separator"> |
---|
1708 | </xsl:template> |
---|
1709 | |
---|
1710 | <xsl:template name="chapter.titlepage.before.recto"> |
---|
1711 | </xsl:template> |
---|
1712 | |
---|
1713 | <xsl:template name="chapter.titlepage.before.verso"> |
---|
1714 | </xsl:template> |
---|
1715 | |
---|
1716 | <xsl:template name="chapter.titlepage"> |
---|
1717 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}"> |
---|
1718 | <xsl:variable name="recto.content"> |
---|
1719 | <xsl:call-template name="chapter.titlepage.before.recto"/> |
---|
1720 | <xsl:call-template name="chapter.titlepage.recto"/> |
---|
1721 | </xsl:variable> |
---|
1722 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1723 | <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1724 | </xsl:if> |
---|
1725 | <xsl:variable name="verso.content"> |
---|
1726 | <xsl:call-template name="chapter.titlepage.before.verso"/> |
---|
1727 | <xsl:call-template name="chapter.titlepage.verso"/> |
---|
1728 | </xsl:variable> |
---|
1729 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1730 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1731 | </xsl:if> |
---|
1732 | <xsl:call-template name="chapter.titlepage.separator"/> |
---|
1733 | </fo:block> |
---|
1734 | </xsl:template> |
---|
1735 | |
---|
1736 | <xsl:template match="*" mode="chapter.titlepage.recto.mode"> |
---|
1737 | <!-- if an element isn't found in this mode, --> |
---|
1738 | <!-- try the generic titlepage.mode --> |
---|
1739 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1740 | </xsl:template> |
---|
1741 | |
---|
1742 | <xsl:template match="*" mode="chapter.titlepage.verso.mode"> |
---|
1743 | <!-- if an element isn't found in this mode, --> |
---|
1744 | <!-- try the generic titlepage.mode --> |
---|
1745 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1746 | </xsl:template> |
---|
1747 | |
---|
1748 | <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> |
---|
1749 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold"> |
---|
1750 | <xsl:call-template name="component.title"> |
---|
1751 | <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> |
---|
1752 | </xsl:call-template> |
---|
1753 | </fo:block> |
---|
1754 | </xsl:template> |
---|
1755 | |
---|
1756 | <xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> |
---|
1757 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold"> |
---|
1758 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1759 | </fo:block> |
---|
1760 | </xsl:template> |
---|
1761 | |
---|
1762 | <xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> |
---|
1763 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> |
---|
1764 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1765 | </fo:block> |
---|
1766 | </xsl:template> |
---|
1767 | |
---|
1768 | <xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> |
---|
1769 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> |
---|
1770 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1771 | </fo:block> |
---|
1772 | </xsl:template> |
---|
1773 | |
---|
1774 | <xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> |
---|
1775 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> |
---|
1776 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1777 | </fo:block> |
---|
1778 | </xsl:template> |
---|
1779 | |
---|
1780 | <xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> |
---|
1781 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1782 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1783 | </fo:block> |
---|
1784 | </xsl:template> |
---|
1785 | |
---|
1786 | <xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> |
---|
1787 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1788 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1789 | </fo:block> |
---|
1790 | </xsl:template> |
---|
1791 | |
---|
1792 | <xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> |
---|
1793 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1794 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1795 | </fo:block> |
---|
1796 | </xsl:template> |
---|
1797 | |
---|
1798 | <xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> |
---|
1799 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1800 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1801 | </fo:block> |
---|
1802 | </xsl:template> |
---|
1803 | |
---|
1804 | <xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> |
---|
1805 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1806 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1807 | </fo:block> |
---|
1808 | </xsl:template> |
---|
1809 | |
---|
1810 | <xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> |
---|
1811 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1812 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1813 | </fo:block> |
---|
1814 | </xsl:template> |
---|
1815 | |
---|
1816 | <xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> |
---|
1817 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1818 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1819 | </fo:block> |
---|
1820 | </xsl:template> |
---|
1821 | |
---|
1822 | <xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> |
---|
1823 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> |
---|
1824 | <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> |
---|
1825 | </fo:block> |
---|
1826 | </xsl:template> |
---|
1827 | |
---|
1828 | <xsl:template name="appendix.titlepage.recto"> |
---|
1829 | <xsl:choose> |
---|
1830 | <xsl:when test="appendixinfo/title"> |
---|
1831 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> |
---|
1832 | </xsl:when> |
---|
1833 | <xsl:when test="docinfo/title"> |
---|
1834 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
1835 | </xsl:when> |
---|
1836 | <xsl:when test="info/title"> |
---|
1837 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> |
---|
1838 | </xsl:when> |
---|
1839 | <xsl:when test="title"> |
---|
1840 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> |
---|
1841 | </xsl:when> |
---|
1842 | </xsl:choose> |
---|
1843 | |
---|
1844 | <xsl:choose> |
---|
1845 | <xsl:when test="appendixinfo/subtitle"> |
---|
1846 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> |
---|
1847 | </xsl:when> |
---|
1848 | <xsl:when test="docinfo/subtitle"> |
---|
1849 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
1850 | </xsl:when> |
---|
1851 | <xsl:when test="info/subtitle"> |
---|
1852 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
1853 | </xsl:when> |
---|
1854 | <xsl:when test="subtitle"> |
---|
1855 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> |
---|
1856 | </xsl:when> |
---|
1857 | </xsl:choose> |
---|
1858 | |
---|
1859 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> |
---|
1860 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
1861 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
1862 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> |
---|
1863 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
1864 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
1865 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> |
---|
1866 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
1867 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> |
---|
1868 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> |
---|
1869 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
1870 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
1871 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> |
---|
1872 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
1873 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
1874 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> |
---|
1875 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
1876 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
1877 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> |
---|
1878 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
1879 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
1880 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> |
---|
1881 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
1882 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
1883 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> |
---|
1884 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
1885 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> |
---|
1886 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> |
---|
1887 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
1888 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
1889 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> |
---|
1890 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
1891 | <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
1892 | </xsl:template> |
---|
1893 | |
---|
1894 | <xsl:template name="appendix.titlepage.verso"> |
---|
1895 | </xsl:template> |
---|
1896 | |
---|
1897 | <xsl:template name="appendix.titlepage.separator"> |
---|
1898 | </xsl:template> |
---|
1899 | |
---|
1900 | <xsl:template name="appendix.titlepage.before.recto"> |
---|
1901 | </xsl:template> |
---|
1902 | |
---|
1903 | <xsl:template name="appendix.titlepage.before.verso"> |
---|
1904 | </xsl:template> |
---|
1905 | |
---|
1906 | <xsl:template name="appendix.titlepage"> |
---|
1907 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
1908 | <xsl:variable name="recto.content"> |
---|
1909 | <xsl:call-template name="appendix.titlepage.before.recto"/> |
---|
1910 | <xsl:call-template name="appendix.titlepage.recto"/> |
---|
1911 | </xsl:variable> |
---|
1912 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
1913 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
1914 | </xsl:if> |
---|
1915 | <xsl:variable name="verso.content"> |
---|
1916 | <xsl:call-template name="appendix.titlepage.before.verso"/> |
---|
1917 | <xsl:call-template name="appendix.titlepage.verso"/> |
---|
1918 | </xsl:variable> |
---|
1919 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
1920 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
1921 | </xsl:if> |
---|
1922 | <xsl:call-template name="appendix.titlepage.separator"/> |
---|
1923 | </fo:block> |
---|
1924 | </xsl:template> |
---|
1925 | |
---|
1926 | <xsl:template match="*" mode="appendix.titlepage.recto.mode"> |
---|
1927 | <!-- if an element isn't found in this mode, --> |
---|
1928 | <!-- try the generic titlepage.mode --> |
---|
1929 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1930 | </xsl:template> |
---|
1931 | |
---|
1932 | <xsl:template match="*" mode="appendix.titlepage.verso.mode"> |
---|
1933 | <!-- if an element isn't found in this mode, --> |
---|
1934 | <!-- try the generic titlepage.mode --> |
---|
1935 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
1936 | </xsl:template> |
---|
1937 | |
---|
1938 | <xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> |
---|
1939 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
1940 | <xsl:call-template name="component.title"> |
---|
1941 | <xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/> |
---|
1942 | </xsl:call-template> |
---|
1943 | </fo:block> |
---|
1944 | </xsl:template> |
---|
1945 | |
---|
1946 | <xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> |
---|
1947 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
1948 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1949 | </fo:block> |
---|
1950 | </xsl:template> |
---|
1951 | |
---|
1952 | <xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> |
---|
1953 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1954 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1955 | </fo:block> |
---|
1956 | </xsl:template> |
---|
1957 | |
---|
1958 | <xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> |
---|
1959 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1960 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1961 | </fo:block> |
---|
1962 | </xsl:template> |
---|
1963 | |
---|
1964 | <xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> |
---|
1965 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1966 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1967 | </fo:block> |
---|
1968 | </xsl:template> |
---|
1969 | |
---|
1970 | <xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> |
---|
1971 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1972 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1973 | </fo:block> |
---|
1974 | </xsl:template> |
---|
1975 | |
---|
1976 | <xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> |
---|
1977 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1978 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1979 | </fo:block> |
---|
1980 | </xsl:template> |
---|
1981 | |
---|
1982 | <xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> |
---|
1983 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1984 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1985 | </fo:block> |
---|
1986 | </xsl:template> |
---|
1987 | |
---|
1988 | <xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> |
---|
1989 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1990 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1991 | </fo:block> |
---|
1992 | </xsl:template> |
---|
1993 | |
---|
1994 | <xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> |
---|
1995 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
1996 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
1997 | </fo:block> |
---|
1998 | </xsl:template> |
---|
1999 | |
---|
2000 | <xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> |
---|
2001 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
2002 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
2003 | </fo:block> |
---|
2004 | </xsl:template> |
---|
2005 | |
---|
2006 | <xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> |
---|
2007 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
2008 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
2009 | </fo:block> |
---|
2010 | </xsl:template> |
---|
2011 | |
---|
2012 | <xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> |
---|
2013 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> |
---|
2014 | <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> |
---|
2015 | </fo:block> |
---|
2016 | </xsl:template> |
---|
2017 | |
---|
2018 | <xsl:template name="section.titlepage.recto"> |
---|
2019 | <xsl:choose> |
---|
2020 | <xsl:when test="sectioninfo/title"> |
---|
2021 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> |
---|
2022 | </xsl:when> |
---|
2023 | <xsl:when test="info/title"> |
---|
2024 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> |
---|
2025 | </xsl:when> |
---|
2026 | <xsl:when test="title"> |
---|
2027 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> |
---|
2028 | </xsl:when> |
---|
2029 | </xsl:choose> |
---|
2030 | |
---|
2031 | <xsl:choose> |
---|
2032 | <xsl:when test="sectioninfo/subtitle"> |
---|
2033 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> |
---|
2034 | </xsl:when> |
---|
2035 | <xsl:when test="info/subtitle"> |
---|
2036 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2037 | </xsl:when> |
---|
2038 | <xsl:when test="subtitle"> |
---|
2039 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2040 | </xsl:when> |
---|
2041 | </xsl:choose> |
---|
2042 | |
---|
2043 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> |
---|
2044 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2045 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> |
---|
2046 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2047 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> |
---|
2048 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> |
---|
2049 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> |
---|
2050 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2051 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> |
---|
2052 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2053 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> |
---|
2054 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2055 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> |
---|
2056 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2057 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> |
---|
2058 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2059 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> |
---|
2060 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2061 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> |
---|
2062 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2063 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> |
---|
2064 | <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2065 | </xsl:template> |
---|
2066 | |
---|
2067 | <xsl:template name="section.titlepage.verso"> |
---|
2068 | </xsl:template> |
---|
2069 | |
---|
2070 | <xsl:template name="section.titlepage.separator"> |
---|
2071 | </xsl:template> |
---|
2072 | |
---|
2073 | <xsl:template name="section.titlepage.before.recto"> |
---|
2074 | </xsl:template> |
---|
2075 | |
---|
2076 | <xsl:template name="section.titlepage.before.verso"> |
---|
2077 | </xsl:template> |
---|
2078 | |
---|
2079 | <xsl:template name="section.titlepage"> |
---|
2080 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2081 | <xsl:variable name="recto.content"> |
---|
2082 | <xsl:call-template name="section.titlepage.before.recto"/> |
---|
2083 | <xsl:call-template name="section.titlepage.recto"/> |
---|
2084 | </xsl:variable> |
---|
2085 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2086 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2087 | </xsl:if> |
---|
2088 | <xsl:variable name="verso.content"> |
---|
2089 | <xsl:call-template name="section.titlepage.before.verso"/> |
---|
2090 | <xsl:call-template name="section.titlepage.verso"/> |
---|
2091 | </xsl:variable> |
---|
2092 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2093 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2094 | </xsl:if> |
---|
2095 | <xsl:call-template name="section.titlepage.separator"/> |
---|
2096 | </fo:block> |
---|
2097 | </xsl:template> |
---|
2098 | |
---|
2099 | <xsl:template match="*" mode="section.titlepage.recto.mode"> |
---|
2100 | <!-- if an element isn't found in this mode, --> |
---|
2101 | <!-- try the generic titlepage.mode --> |
---|
2102 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2103 | </xsl:template> |
---|
2104 | |
---|
2105 | <xsl:template match="*" mode="section.titlepage.verso.mode"> |
---|
2106 | <!-- if an element isn't found in this mode, --> |
---|
2107 | <!-- try the generic titlepage.mode --> |
---|
2108 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2109 | </xsl:template> |
---|
2110 | |
---|
2111 | <xsl:template match="title" mode="section.titlepage.recto.auto.mode"> |
---|
2112 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2113 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2114 | </fo:block> |
---|
2115 | </xsl:template> |
---|
2116 | |
---|
2117 | <xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> |
---|
2118 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2119 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2120 | </fo:block> |
---|
2121 | </xsl:template> |
---|
2122 | |
---|
2123 | <xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> |
---|
2124 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2125 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2126 | </fo:block> |
---|
2127 | </xsl:template> |
---|
2128 | |
---|
2129 | <xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> |
---|
2130 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2131 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2132 | </fo:block> |
---|
2133 | </xsl:template> |
---|
2134 | |
---|
2135 | <xsl:template match="author" mode="section.titlepage.recto.auto.mode"> |
---|
2136 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2137 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2138 | </fo:block> |
---|
2139 | </xsl:template> |
---|
2140 | |
---|
2141 | <xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> |
---|
2142 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2143 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2144 | </fo:block> |
---|
2145 | </xsl:template> |
---|
2146 | |
---|
2147 | <xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> |
---|
2148 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2149 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2150 | </fo:block> |
---|
2151 | </xsl:template> |
---|
2152 | |
---|
2153 | <xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> |
---|
2154 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2155 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2156 | </fo:block> |
---|
2157 | </xsl:template> |
---|
2158 | |
---|
2159 | <xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> |
---|
2160 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2161 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2162 | </fo:block> |
---|
2163 | </xsl:template> |
---|
2164 | |
---|
2165 | <xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> |
---|
2166 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2167 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2168 | </fo:block> |
---|
2169 | </xsl:template> |
---|
2170 | |
---|
2171 | <xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> |
---|
2172 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2173 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2174 | </fo:block> |
---|
2175 | </xsl:template> |
---|
2176 | |
---|
2177 | <xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> |
---|
2178 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2179 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2180 | </fo:block> |
---|
2181 | </xsl:template> |
---|
2182 | |
---|
2183 | <xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> |
---|
2184 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> |
---|
2185 | <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> |
---|
2186 | </fo:block> |
---|
2187 | </xsl:template> |
---|
2188 | |
---|
2189 | <xsl:template name="sect1.titlepage.recto"> |
---|
2190 | <xsl:choose> |
---|
2191 | <xsl:when test="sect1info/title"> |
---|
2192 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> |
---|
2193 | </xsl:when> |
---|
2194 | <xsl:when test="info/title"> |
---|
2195 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> |
---|
2196 | </xsl:when> |
---|
2197 | <xsl:when test="title"> |
---|
2198 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> |
---|
2199 | </xsl:when> |
---|
2200 | </xsl:choose> |
---|
2201 | |
---|
2202 | <xsl:choose> |
---|
2203 | <xsl:when test="sect1info/subtitle"> |
---|
2204 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> |
---|
2205 | </xsl:when> |
---|
2206 | <xsl:when test="info/subtitle"> |
---|
2207 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2208 | </xsl:when> |
---|
2209 | <xsl:when test="subtitle"> |
---|
2210 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2211 | </xsl:when> |
---|
2212 | </xsl:choose> |
---|
2213 | |
---|
2214 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> |
---|
2215 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2216 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> |
---|
2217 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2218 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> |
---|
2219 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> |
---|
2220 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> |
---|
2221 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2222 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> |
---|
2223 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2224 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> |
---|
2225 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2226 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> |
---|
2227 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2228 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> |
---|
2229 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2230 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> |
---|
2231 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2232 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> |
---|
2233 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2234 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> |
---|
2235 | <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2236 | </xsl:template> |
---|
2237 | |
---|
2238 | <xsl:template name="sect1.titlepage.verso"> |
---|
2239 | </xsl:template> |
---|
2240 | |
---|
2241 | <xsl:template name="sect1.titlepage.separator"> |
---|
2242 | </xsl:template> |
---|
2243 | |
---|
2244 | <xsl:template name="sect1.titlepage.before.recto"> |
---|
2245 | </xsl:template> |
---|
2246 | |
---|
2247 | <xsl:template name="sect1.titlepage.before.verso"> |
---|
2248 | </xsl:template> |
---|
2249 | |
---|
2250 | <xsl:template name="sect1.titlepage"> |
---|
2251 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2252 | <xsl:variable name="recto.content"> |
---|
2253 | <xsl:call-template name="sect1.titlepage.before.recto"/> |
---|
2254 | <xsl:call-template name="sect1.titlepage.recto"/> |
---|
2255 | </xsl:variable> |
---|
2256 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2257 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2258 | </xsl:if> |
---|
2259 | <xsl:variable name="verso.content"> |
---|
2260 | <xsl:call-template name="sect1.titlepage.before.verso"/> |
---|
2261 | <xsl:call-template name="sect1.titlepage.verso"/> |
---|
2262 | </xsl:variable> |
---|
2263 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2264 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2265 | </xsl:if> |
---|
2266 | <xsl:call-template name="sect1.titlepage.separator"/> |
---|
2267 | </fo:block> |
---|
2268 | </xsl:template> |
---|
2269 | |
---|
2270 | <xsl:template match="*" mode="sect1.titlepage.recto.mode"> |
---|
2271 | <!-- if an element isn't found in this mode, --> |
---|
2272 | <!-- try the generic titlepage.mode --> |
---|
2273 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2274 | </xsl:template> |
---|
2275 | |
---|
2276 | <xsl:template match="*" mode="sect1.titlepage.verso.mode"> |
---|
2277 | <!-- if an element isn't found in this mode, --> |
---|
2278 | <!-- try the generic titlepage.mode --> |
---|
2279 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2280 | </xsl:template> |
---|
2281 | |
---|
2282 | <xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> |
---|
2283 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2284 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2285 | </fo:block> |
---|
2286 | </xsl:template> |
---|
2287 | |
---|
2288 | <xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> |
---|
2289 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2290 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2291 | </fo:block> |
---|
2292 | </xsl:template> |
---|
2293 | |
---|
2294 | <xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> |
---|
2295 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2296 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2297 | </fo:block> |
---|
2298 | </xsl:template> |
---|
2299 | |
---|
2300 | <xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> |
---|
2301 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2302 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2303 | </fo:block> |
---|
2304 | </xsl:template> |
---|
2305 | |
---|
2306 | <xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> |
---|
2307 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2308 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2309 | </fo:block> |
---|
2310 | </xsl:template> |
---|
2311 | |
---|
2312 | <xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> |
---|
2313 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2314 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2315 | </fo:block> |
---|
2316 | </xsl:template> |
---|
2317 | |
---|
2318 | <xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> |
---|
2319 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2320 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2321 | </fo:block> |
---|
2322 | </xsl:template> |
---|
2323 | |
---|
2324 | <xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> |
---|
2325 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2326 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2327 | </fo:block> |
---|
2328 | </xsl:template> |
---|
2329 | |
---|
2330 | <xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> |
---|
2331 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2332 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2333 | </fo:block> |
---|
2334 | </xsl:template> |
---|
2335 | |
---|
2336 | <xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> |
---|
2337 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2338 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2339 | </fo:block> |
---|
2340 | </xsl:template> |
---|
2341 | |
---|
2342 | <xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> |
---|
2343 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2344 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2345 | </fo:block> |
---|
2346 | </xsl:template> |
---|
2347 | |
---|
2348 | <xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> |
---|
2349 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2350 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2351 | </fo:block> |
---|
2352 | </xsl:template> |
---|
2353 | |
---|
2354 | <xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> |
---|
2355 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> |
---|
2356 | <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> |
---|
2357 | </fo:block> |
---|
2358 | </xsl:template> |
---|
2359 | |
---|
2360 | <xsl:template name="sect2.titlepage.recto"> |
---|
2361 | <xsl:choose> |
---|
2362 | <xsl:when test="sect2info/title"> |
---|
2363 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> |
---|
2364 | </xsl:when> |
---|
2365 | <xsl:when test="info/title"> |
---|
2366 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> |
---|
2367 | </xsl:when> |
---|
2368 | <xsl:when test="title"> |
---|
2369 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> |
---|
2370 | </xsl:when> |
---|
2371 | </xsl:choose> |
---|
2372 | |
---|
2373 | <xsl:choose> |
---|
2374 | <xsl:when test="sect2info/subtitle"> |
---|
2375 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> |
---|
2376 | </xsl:when> |
---|
2377 | <xsl:when test="info/subtitle"> |
---|
2378 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2379 | </xsl:when> |
---|
2380 | <xsl:when test="subtitle"> |
---|
2381 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2382 | </xsl:when> |
---|
2383 | </xsl:choose> |
---|
2384 | |
---|
2385 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> |
---|
2386 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2387 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> |
---|
2388 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2389 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> |
---|
2390 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> |
---|
2391 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> |
---|
2392 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2393 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> |
---|
2394 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2395 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> |
---|
2396 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2397 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> |
---|
2398 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2399 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> |
---|
2400 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2401 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> |
---|
2402 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2403 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> |
---|
2404 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2405 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> |
---|
2406 | <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2407 | </xsl:template> |
---|
2408 | |
---|
2409 | <xsl:template name="sect2.titlepage.verso"> |
---|
2410 | </xsl:template> |
---|
2411 | |
---|
2412 | <xsl:template name="sect2.titlepage.separator"> |
---|
2413 | </xsl:template> |
---|
2414 | |
---|
2415 | <xsl:template name="sect2.titlepage.before.recto"> |
---|
2416 | </xsl:template> |
---|
2417 | |
---|
2418 | <xsl:template name="sect2.titlepage.before.verso"> |
---|
2419 | </xsl:template> |
---|
2420 | |
---|
2421 | <xsl:template name="sect2.titlepage"> |
---|
2422 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2423 | <xsl:variable name="recto.content"> |
---|
2424 | <xsl:call-template name="sect2.titlepage.before.recto"/> |
---|
2425 | <xsl:call-template name="sect2.titlepage.recto"/> |
---|
2426 | </xsl:variable> |
---|
2427 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2428 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2429 | </xsl:if> |
---|
2430 | <xsl:variable name="verso.content"> |
---|
2431 | <xsl:call-template name="sect2.titlepage.before.verso"/> |
---|
2432 | <xsl:call-template name="sect2.titlepage.verso"/> |
---|
2433 | </xsl:variable> |
---|
2434 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2435 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2436 | </xsl:if> |
---|
2437 | <xsl:call-template name="sect2.titlepage.separator"/> |
---|
2438 | </fo:block> |
---|
2439 | </xsl:template> |
---|
2440 | |
---|
2441 | <xsl:template match="*" mode="sect2.titlepage.recto.mode"> |
---|
2442 | <!-- if an element isn't found in this mode, --> |
---|
2443 | <!-- try the generic titlepage.mode --> |
---|
2444 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2445 | </xsl:template> |
---|
2446 | |
---|
2447 | <xsl:template match="*" mode="sect2.titlepage.verso.mode"> |
---|
2448 | <!-- if an element isn't found in this mode, --> |
---|
2449 | <!-- try the generic titlepage.mode --> |
---|
2450 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2451 | </xsl:template> |
---|
2452 | |
---|
2453 | <xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> |
---|
2454 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2455 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2456 | </fo:block> |
---|
2457 | </xsl:template> |
---|
2458 | |
---|
2459 | <xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> |
---|
2460 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2461 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2462 | </fo:block> |
---|
2463 | </xsl:template> |
---|
2464 | |
---|
2465 | <xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> |
---|
2466 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2467 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2468 | </fo:block> |
---|
2469 | </xsl:template> |
---|
2470 | |
---|
2471 | <xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> |
---|
2472 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2473 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2474 | </fo:block> |
---|
2475 | </xsl:template> |
---|
2476 | |
---|
2477 | <xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> |
---|
2478 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2479 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2480 | </fo:block> |
---|
2481 | </xsl:template> |
---|
2482 | |
---|
2483 | <xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> |
---|
2484 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2485 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2486 | </fo:block> |
---|
2487 | </xsl:template> |
---|
2488 | |
---|
2489 | <xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> |
---|
2490 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2491 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2492 | </fo:block> |
---|
2493 | </xsl:template> |
---|
2494 | |
---|
2495 | <xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> |
---|
2496 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2497 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2498 | </fo:block> |
---|
2499 | </xsl:template> |
---|
2500 | |
---|
2501 | <xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> |
---|
2502 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2503 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2504 | </fo:block> |
---|
2505 | </xsl:template> |
---|
2506 | |
---|
2507 | <xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> |
---|
2508 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2509 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2510 | </fo:block> |
---|
2511 | </xsl:template> |
---|
2512 | |
---|
2513 | <xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> |
---|
2514 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2515 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2516 | </fo:block> |
---|
2517 | </xsl:template> |
---|
2518 | |
---|
2519 | <xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> |
---|
2520 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2521 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2522 | </fo:block> |
---|
2523 | </xsl:template> |
---|
2524 | |
---|
2525 | <xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> |
---|
2526 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> |
---|
2527 | <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> |
---|
2528 | </fo:block> |
---|
2529 | </xsl:template> |
---|
2530 | |
---|
2531 | <xsl:template name="sect3.titlepage.recto"> |
---|
2532 | <xsl:choose> |
---|
2533 | <xsl:when test="sect3info/title"> |
---|
2534 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> |
---|
2535 | </xsl:when> |
---|
2536 | <xsl:when test="info/title"> |
---|
2537 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> |
---|
2538 | </xsl:when> |
---|
2539 | <xsl:when test="title"> |
---|
2540 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> |
---|
2541 | </xsl:when> |
---|
2542 | </xsl:choose> |
---|
2543 | |
---|
2544 | <xsl:choose> |
---|
2545 | <xsl:when test="sect3info/subtitle"> |
---|
2546 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> |
---|
2547 | </xsl:when> |
---|
2548 | <xsl:when test="info/subtitle"> |
---|
2549 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2550 | </xsl:when> |
---|
2551 | <xsl:when test="subtitle"> |
---|
2552 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2553 | </xsl:when> |
---|
2554 | </xsl:choose> |
---|
2555 | |
---|
2556 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> |
---|
2557 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2558 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> |
---|
2559 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2560 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> |
---|
2561 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> |
---|
2562 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> |
---|
2563 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2564 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> |
---|
2565 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2566 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> |
---|
2567 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2568 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> |
---|
2569 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2570 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> |
---|
2571 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2572 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> |
---|
2573 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2574 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> |
---|
2575 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2576 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> |
---|
2577 | <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2578 | </xsl:template> |
---|
2579 | |
---|
2580 | <xsl:template name="sect3.titlepage.verso"> |
---|
2581 | </xsl:template> |
---|
2582 | |
---|
2583 | <xsl:template name="sect3.titlepage.separator"> |
---|
2584 | </xsl:template> |
---|
2585 | |
---|
2586 | <xsl:template name="sect3.titlepage.before.recto"> |
---|
2587 | </xsl:template> |
---|
2588 | |
---|
2589 | <xsl:template name="sect3.titlepage.before.verso"> |
---|
2590 | </xsl:template> |
---|
2591 | |
---|
2592 | <xsl:template name="sect3.titlepage"> |
---|
2593 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2594 | <xsl:variable name="recto.content"> |
---|
2595 | <xsl:call-template name="sect3.titlepage.before.recto"/> |
---|
2596 | <xsl:call-template name="sect3.titlepage.recto"/> |
---|
2597 | </xsl:variable> |
---|
2598 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2599 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2600 | </xsl:if> |
---|
2601 | <xsl:variable name="verso.content"> |
---|
2602 | <xsl:call-template name="sect3.titlepage.before.verso"/> |
---|
2603 | <xsl:call-template name="sect3.titlepage.verso"/> |
---|
2604 | </xsl:variable> |
---|
2605 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2606 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2607 | </xsl:if> |
---|
2608 | <xsl:call-template name="sect3.titlepage.separator"/> |
---|
2609 | </fo:block> |
---|
2610 | </xsl:template> |
---|
2611 | |
---|
2612 | <xsl:template match="*" mode="sect3.titlepage.recto.mode"> |
---|
2613 | <!-- if an element isn't found in this mode, --> |
---|
2614 | <!-- try the generic titlepage.mode --> |
---|
2615 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2616 | </xsl:template> |
---|
2617 | |
---|
2618 | <xsl:template match="*" mode="sect3.titlepage.verso.mode"> |
---|
2619 | <!-- if an element isn't found in this mode, --> |
---|
2620 | <!-- try the generic titlepage.mode --> |
---|
2621 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2622 | </xsl:template> |
---|
2623 | |
---|
2624 | <xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> |
---|
2625 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2626 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2627 | </fo:block> |
---|
2628 | </xsl:template> |
---|
2629 | |
---|
2630 | <xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> |
---|
2631 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2632 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2633 | </fo:block> |
---|
2634 | </xsl:template> |
---|
2635 | |
---|
2636 | <xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> |
---|
2637 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2638 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2639 | </fo:block> |
---|
2640 | </xsl:template> |
---|
2641 | |
---|
2642 | <xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> |
---|
2643 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2644 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2645 | </fo:block> |
---|
2646 | </xsl:template> |
---|
2647 | |
---|
2648 | <xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> |
---|
2649 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2650 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2651 | </fo:block> |
---|
2652 | </xsl:template> |
---|
2653 | |
---|
2654 | <xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> |
---|
2655 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2656 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2657 | </fo:block> |
---|
2658 | </xsl:template> |
---|
2659 | |
---|
2660 | <xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> |
---|
2661 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2662 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2663 | </fo:block> |
---|
2664 | </xsl:template> |
---|
2665 | |
---|
2666 | <xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> |
---|
2667 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2668 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2669 | </fo:block> |
---|
2670 | </xsl:template> |
---|
2671 | |
---|
2672 | <xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> |
---|
2673 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2674 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2675 | </fo:block> |
---|
2676 | </xsl:template> |
---|
2677 | |
---|
2678 | <xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> |
---|
2679 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2680 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2681 | </fo:block> |
---|
2682 | </xsl:template> |
---|
2683 | |
---|
2684 | <xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> |
---|
2685 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2686 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2687 | </fo:block> |
---|
2688 | </xsl:template> |
---|
2689 | |
---|
2690 | <xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> |
---|
2691 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2692 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2693 | </fo:block> |
---|
2694 | </xsl:template> |
---|
2695 | |
---|
2696 | <xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> |
---|
2697 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> |
---|
2698 | <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> |
---|
2699 | </fo:block> |
---|
2700 | </xsl:template> |
---|
2701 | |
---|
2702 | <xsl:template name="sect4.titlepage.recto"> |
---|
2703 | <xsl:choose> |
---|
2704 | <xsl:when test="sect4info/title"> |
---|
2705 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> |
---|
2706 | </xsl:when> |
---|
2707 | <xsl:when test="info/title"> |
---|
2708 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> |
---|
2709 | </xsl:when> |
---|
2710 | <xsl:when test="title"> |
---|
2711 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> |
---|
2712 | </xsl:when> |
---|
2713 | </xsl:choose> |
---|
2714 | |
---|
2715 | <xsl:choose> |
---|
2716 | <xsl:when test="sect4info/subtitle"> |
---|
2717 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> |
---|
2718 | </xsl:when> |
---|
2719 | <xsl:when test="info/subtitle"> |
---|
2720 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2721 | </xsl:when> |
---|
2722 | <xsl:when test="subtitle"> |
---|
2723 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2724 | </xsl:when> |
---|
2725 | </xsl:choose> |
---|
2726 | |
---|
2727 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> |
---|
2728 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2729 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> |
---|
2730 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2731 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> |
---|
2732 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> |
---|
2733 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> |
---|
2734 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2735 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> |
---|
2736 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2737 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> |
---|
2738 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2739 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> |
---|
2740 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2741 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> |
---|
2742 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2743 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> |
---|
2744 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2745 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> |
---|
2746 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2747 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> |
---|
2748 | <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2749 | </xsl:template> |
---|
2750 | |
---|
2751 | <xsl:template name="sect4.titlepage.verso"> |
---|
2752 | </xsl:template> |
---|
2753 | |
---|
2754 | <xsl:template name="sect4.titlepage.separator"> |
---|
2755 | </xsl:template> |
---|
2756 | |
---|
2757 | <xsl:template name="sect4.titlepage.before.recto"> |
---|
2758 | </xsl:template> |
---|
2759 | |
---|
2760 | <xsl:template name="sect4.titlepage.before.verso"> |
---|
2761 | </xsl:template> |
---|
2762 | |
---|
2763 | <xsl:template name="sect4.titlepage"> |
---|
2764 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2765 | <xsl:variable name="recto.content"> |
---|
2766 | <xsl:call-template name="sect4.titlepage.before.recto"/> |
---|
2767 | <xsl:call-template name="sect4.titlepage.recto"/> |
---|
2768 | </xsl:variable> |
---|
2769 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2770 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2771 | </xsl:if> |
---|
2772 | <xsl:variable name="verso.content"> |
---|
2773 | <xsl:call-template name="sect4.titlepage.before.verso"/> |
---|
2774 | <xsl:call-template name="sect4.titlepage.verso"/> |
---|
2775 | </xsl:variable> |
---|
2776 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2777 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2778 | </xsl:if> |
---|
2779 | <xsl:call-template name="sect4.titlepage.separator"/> |
---|
2780 | </fo:block> |
---|
2781 | </xsl:template> |
---|
2782 | |
---|
2783 | <xsl:template match="*" mode="sect4.titlepage.recto.mode"> |
---|
2784 | <!-- if an element isn't found in this mode, --> |
---|
2785 | <!-- try the generic titlepage.mode --> |
---|
2786 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2787 | </xsl:template> |
---|
2788 | |
---|
2789 | <xsl:template match="*" mode="sect4.titlepage.verso.mode"> |
---|
2790 | <!-- if an element isn't found in this mode, --> |
---|
2791 | <!-- try the generic titlepage.mode --> |
---|
2792 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2793 | </xsl:template> |
---|
2794 | |
---|
2795 | <xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> |
---|
2796 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2797 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2798 | </fo:block> |
---|
2799 | </xsl:template> |
---|
2800 | |
---|
2801 | <xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> |
---|
2802 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2803 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2804 | </fo:block> |
---|
2805 | </xsl:template> |
---|
2806 | |
---|
2807 | <xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> |
---|
2808 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2809 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2810 | </fo:block> |
---|
2811 | </xsl:template> |
---|
2812 | |
---|
2813 | <xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> |
---|
2814 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2815 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2816 | </fo:block> |
---|
2817 | </xsl:template> |
---|
2818 | |
---|
2819 | <xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> |
---|
2820 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2821 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2822 | </fo:block> |
---|
2823 | </xsl:template> |
---|
2824 | |
---|
2825 | <xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> |
---|
2826 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2827 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2828 | </fo:block> |
---|
2829 | </xsl:template> |
---|
2830 | |
---|
2831 | <xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> |
---|
2832 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2833 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2834 | </fo:block> |
---|
2835 | </xsl:template> |
---|
2836 | |
---|
2837 | <xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> |
---|
2838 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2839 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2840 | </fo:block> |
---|
2841 | </xsl:template> |
---|
2842 | |
---|
2843 | <xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> |
---|
2844 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2845 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2846 | </fo:block> |
---|
2847 | </xsl:template> |
---|
2848 | |
---|
2849 | <xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> |
---|
2850 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2851 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2852 | </fo:block> |
---|
2853 | </xsl:template> |
---|
2854 | |
---|
2855 | <xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> |
---|
2856 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2857 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2858 | </fo:block> |
---|
2859 | </xsl:template> |
---|
2860 | |
---|
2861 | <xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> |
---|
2862 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2863 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2864 | </fo:block> |
---|
2865 | </xsl:template> |
---|
2866 | |
---|
2867 | <xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> |
---|
2868 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> |
---|
2869 | <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> |
---|
2870 | </fo:block> |
---|
2871 | </xsl:template> |
---|
2872 | |
---|
2873 | <xsl:template name="sect5.titlepage.recto"> |
---|
2874 | <xsl:choose> |
---|
2875 | <xsl:when test="sect5info/title"> |
---|
2876 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> |
---|
2877 | </xsl:when> |
---|
2878 | <xsl:when test="info/title"> |
---|
2879 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> |
---|
2880 | </xsl:when> |
---|
2881 | <xsl:when test="title"> |
---|
2882 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> |
---|
2883 | </xsl:when> |
---|
2884 | </xsl:choose> |
---|
2885 | |
---|
2886 | <xsl:choose> |
---|
2887 | <xsl:when test="sect5info/subtitle"> |
---|
2888 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> |
---|
2889 | </xsl:when> |
---|
2890 | <xsl:when test="info/subtitle"> |
---|
2891 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
2892 | </xsl:when> |
---|
2893 | <xsl:when test="subtitle"> |
---|
2894 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> |
---|
2895 | </xsl:when> |
---|
2896 | </xsl:choose> |
---|
2897 | |
---|
2898 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> |
---|
2899 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
2900 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> |
---|
2901 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
2902 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> |
---|
2903 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> |
---|
2904 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> |
---|
2905 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
2906 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> |
---|
2907 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
2908 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> |
---|
2909 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
2910 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> |
---|
2911 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
2912 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> |
---|
2913 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
2914 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> |
---|
2915 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> |
---|
2916 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> |
---|
2917 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
2918 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> |
---|
2919 | <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
2920 | </xsl:template> |
---|
2921 | |
---|
2922 | <xsl:template name="sect5.titlepage.verso"> |
---|
2923 | </xsl:template> |
---|
2924 | |
---|
2925 | <xsl:template name="sect5.titlepage.separator"> |
---|
2926 | </xsl:template> |
---|
2927 | |
---|
2928 | <xsl:template name="sect5.titlepage.before.recto"> |
---|
2929 | </xsl:template> |
---|
2930 | |
---|
2931 | <xsl:template name="sect5.titlepage.before.verso"> |
---|
2932 | </xsl:template> |
---|
2933 | |
---|
2934 | <xsl:template name="sect5.titlepage"> |
---|
2935 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
2936 | <xsl:variable name="recto.content"> |
---|
2937 | <xsl:call-template name="sect5.titlepage.before.recto"/> |
---|
2938 | <xsl:call-template name="sect5.titlepage.recto"/> |
---|
2939 | </xsl:variable> |
---|
2940 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
2941 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
2942 | </xsl:if> |
---|
2943 | <xsl:variable name="verso.content"> |
---|
2944 | <xsl:call-template name="sect5.titlepage.before.verso"/> |
---|
2945 | <xsl:call-template name="sect5.titlepage.verso"/> |
---|
2946 | </xsl:variable> |
---|
2947 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
2948 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
2949 | </xsl:if> |
---|
2950 | <xsl:call-template name="sect5.titlepage.separator"/> |
---|
2951 | </fo:block> |
---|
2952 | </xsl:template> |
---|
2953 | |
---|
2954 | <xsl:template match="*" mode="sect5.titlepage.recto.mode"> |
---|
2955 | <!-- if an element isn't found in this mode, --> |
---|
2956 | <!-- try the generic titlepage.mode --> |
---|
2957 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2958 | </xsl:template> |
---|
2959 | |
---|
2960 | <xsl:template match="*" mode="sect5.titlepage.verso.mode"> |
---|
2961 | <!-- if an element isn't found in this mode, --> |
---|
2962 | <!-- try the generic titlepage.mode --> |
---|
2963 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
2964 | </xsl:template> |
---|
2965 | |
---|
2966 | <xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> |
---|
2967 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
2968 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2969 | </fo:block> |
---|
2970 | </xsl:template> |
---|
2971 | |
---|
2972 | <xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> |
---|
2973 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
2974 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2975 | </fo:block> |
---|
2976 | </xsl:template> |
---|
2977 | |
---|
2978 | <xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> |
---|
2979 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
2980 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2981 | </fo:block> |
---|
2982 | </xsl:template> |
---|
2983 | |
---|
2984 | <xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> |
---|
2985 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
2986 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2987 | </fo:block> |
---|
2988 | </xsl:template> |
---|
2989 | |
---|
2990 | <xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> |
---|
2991 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
2992 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2993 | </fo:block> |
---|
2994 | </xsl:template> |
---|
2995 | |
---|
2996 | <xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> |
---|
2997 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
2998 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
2999 | </fo:block> |
---|
3000 | </xsl:template> |
---|
3001 | |
---|
3002 | <xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> |
---|
3003 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3004 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3005 | </fo:block> |
---|
3006 | </xsl:template> |
---|
3007 | |
---|
3008 | <xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> |
---|
3009 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3010 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3011 | </fo:block> |
---|
3012 | </xsl:template> |
---|
3013 | |
---|
3014 | <xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> |
---|
3015 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3016 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3017 | </fo:block> |
---|
3018 | </xsl:template> |
---|
3019 | |
---|
3020 | <xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> |
---|
3021 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3022 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3023 | </fo:block> |
---|
3024 | </xsl:template> |
---|
3025 | |
---|
3026 | <xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> |
---|
3027 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3028 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3029 | </fo:block> |
---|
3030 | </xsl:template> |
---|
3031 | |
---|
3032 | <xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> |
---|
3033 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3034 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3035 | </fo:block> |
---|
3036 | </xsl:template> |
---|
3037 | |
---|
3038 | <xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> |
---|
3039 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> |
---|
3040 | <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> |
---|
3041 | </fo:block> |
---|
3042 | </xsl:template> |
---|
3043 | |
---|
3044 | <xsl:template name="simplesect.titlepage.recto"> |
---|
3045 | <xsl:choose> |
---|
3046 | <xsl:when test="simplesectinfo/title"> |
---|
3047 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> |
---|
3048 | </xsl:when> |
---|
3049 | <xsl:when test="docinfo/title"> |
---|
3050 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
3051 | </xsl:when> |
---|
3052 | <xsl:when test="info/title"> |
---|
3053 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> |
---|
3054 | </xsl:when> |
---|
3055 | <xsl:when test="title"> |
---|
3056 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> |
---|
3057 | </xsl:when> |
---|
3058 | </xsl:choose> |
---|
3059 | |
---|
3060 | <xsl:choose> |
---|
3061 | <xsl:when test="simplesectinfo/subtitle"> |
---|
3062 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> |
---|
3063 | </xsl:when> |
---|
3064 | <xsl:when test="docinfo/subtitle"> |
---|
3065 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3066 | </xsl:when> |
---|
3067 | <xsl:when test="info/subtitle"> |
---|
3068 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3069 | </xsl:when> |
---|
3070 | <xsl:when test="subtitle"> |
---|
3071 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3072 | </xsl:when> |
---|
3073 | </xsl:choose> |
---|
3074 | |
---|
3075 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> |
---|
3076 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> |
---|
3077 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> |
---|
3078 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> |
---|
3079 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> |
---|
3080 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> |
---|
3081 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> |
---|
3082 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> |
---|
3083 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> |
---|
3084 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> |
---|
3085 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> |
---|
3086 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> |
---|
3087 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> |
---|
3088 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> |
---|
3089 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> |
---|
3090 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> |
---|
3091 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> |
---|
3092 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> |
---|
3093 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> |
---|
3094 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> |
---|
3095 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> |
---|
3096 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> |
---|
3097 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> |
---|
3098 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> |
---|
3099 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> |
---|
3100 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> |
---|
3101 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> |
---|
3102 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> |
---|
3103 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> |
---|
3104 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> |
---|
3105 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> |
---|
3106 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> |
---|
3107 | <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> |
---|
3108 | </xsl:template> |
---|
3109 | |
---|
3110 | <xsl:template name="simplesect.titlepage.verso"> |
---|
3111 | </xsl:template> |
---|
3112 | |
---|
3113 | <xsl:template name="simplesect.titlepage.separator"> |
---|
3114 | </xsl:template> |
---|
3115 | |
---|
3116 | <xsl:template name="simplesect.titlepage.before.recto"> |
---|
3117 | </xsl:template> |
---|
3118 | |
---|
3119 | <xsl:template name="simplesect.titlepage.before.verso"> |
---|
3120 | </xsl:template> |
---|
3121 | |
---|
3122 | <xsl:template name="simplesect.titlepage"> |
---|
3123 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3124 | <xsl:variable name="recto.content"> |
---|
3125 | <xsl:call-template name="simplesect.titlepage.before.recto"/> |
---|
3126 | <xsl:call-template name="simplesect.titlepage.recto"/> |
---|
3127 | </xsl:variable> |
---|
3128 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3129 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3130 | </xsl:if> |
---|
3131 | <xsl:variable name="verso.content"> |
---|
3132 | <xsl:call-template name="simplesect.titlepage.before.verso"/> |
---|
3133 | <xsl:call-template name="simplesect.titlepage.verso"/> |
---|
3134 | </xsl:variable> |
---|
3135 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3136 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3137 | </xsl:if> |
---|
3138 | <xsl:call-template name="simplesect.titlepage.separator"/> |
---|
3139 | </fo:block> |
---|
3140 | </xsl:template> |
---|
3141 | |
---|
3142 | <xsl:template match="*" mode="simplesect.titlepage.recto.mode"> |
---|
3143 | <!-- if an element isn't found in this mode, --> |
---|
3144 | <!-- try the generic titlepage.mode --> |
---|
3145 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3146 | </xsl:template> |
---|
3147 | |
---|
3148 | <xsl:template match="*" mode="simplesect.titlepage.verso.mode"> |
---|
3149 | <!-- if an element isn't found in this mode, --> |
---|
3150 | <!-- try the generic titlepage.mode --> |
---|
3151 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3152 | </xsl:template> |
---|
3153 | |
---|
3154 | <xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3155 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> |
---|
3156 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3157 | </fo:block> |
---|
3158 | </xsl:template> |
---|
3159 | |
---|
3160 | <xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3161 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3162 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3163 | </fo:block> |
---|
3164 | </xsl:template> |
---|
3165 | |
---|
3166 | <xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3167 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3168 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3169 | </fo:block> |
---|
3170 | </xsl:template> |
---|
3171 | |
---|
3172 | <xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3173 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3174 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3175 | </fo:block> |
---|
3176 | </xsl:template> |
---|
3177 | |
---|
3178 | <xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3179 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3180 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3181 | </fo:block> |
---|
3182 | </xsl:template> |
---|
3183 | |
---|
3184 | <xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3185 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3186 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3187 | </fo:block> |
---|
3188 | </xsl:template> |
---|
3189 | |
---|
3190 | <xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3191 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3192 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3193 | </fo:block> |
---|
3194 | </xsl:template> |
---|
3195 | |
---|
3196 | <xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3197 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3198 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3199 | </fo:block> |
---|
3200 | </xsl:template> |
---|
3201 | |
---|
3202 | <xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3203 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3204 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3205 | </fo:block> |
---|
3206 | </xsl:template> |
---|
3207 | |
---|
3208 | <xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3209 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3210 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3211 | </fo:block> |
---|
3212 | </xsl:template> |
---|
3213 | |
---|
3214 | <xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3215 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3216 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3217 | </fo:block> |
---|
3218 | </xsl:template> |
---|
3219 | |
---|
3220 | <xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3221 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3222 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3223 | </fo:block> |
---|
3224 | </xsl:template> |
---|
3225 | |
---|
3226 | <xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> |
---|
3227 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> |
---|
3228 | <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> |
---|
3229 | </fo:block> |
---|
3230 | </xsl:template> |
---|
3231 | |
---|
3232 | <xsl:template name="bibliography.titlepage.recto"> |
---|
3233 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3234 | <xsl:call-template name="component.title"> |
---|
3235 | <xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> |
---|
3236 | </xsl:call-template></fo:block> |
---|
3237 | <xsl:choose> |
---|
3238 | <xsl:when test="bibliographyinfo/subtitle"> |
---|
3239 | <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> |
---|
3240 | </xsl:when> |
---|
3241 | <xsl:when test="docinfo/subtitle"> |
---|
3242 | <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3243 | </xsl:when> |
---|
3244 | <xsl:when test="info/subtitle"> |
---|
3245 | <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3246 | </xsl:when> |
---|
3247 | <xsl:when test="subtitle"> |
---|
3248 | <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3249 | </xsl:when> |
---|
3250 | </xsl:choose> |
---|
3251 | |
---|
3252 | </xsl:template> |
---|
3253 | |
---|
3254 | <xsl:template name="bibliography.titlepage.verso"> |
---|
3255 | </xsl:template> |
---|
3256 | |
---|
3257 | <xsl:template name="bibliography.titlepage.separator"> |
---|
3258 | </xsl:template> |
---|
3259 | |
---|
3260 | <xsl:template name="bibliography.titlepage.before.recto"> |
---|
3261 | </xsl:template> |
---|
3262 | |
---|
3263 | <xsl:template name="bibliography.titlepage.before.verso"> |
---|
3264 | </xsl:template> |
---|
3265 | |
---|
3266 | <xsl:template name="bibliography.titlepage"> |
---|
3267 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3268 | <xsl:variable name="recto.content"> |
---|
3269 | <xsl:call-template name="bibliography.titlepage.before.recto"/> |
---|
3270 | <xsl:call-template name="bibliography.titlepage.recto"/> |
---|
3271 | </xsl:variable> |
---|
3272 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3273 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3274 | </xsl:if> |
---|
3275 | <xsl:variable name="verso.content"> |
---|
3276 | <xsl:call-template name="bibliography.titlepage.before.verso"/> |
---|
3277 | <xsl:call-template name="bibliography.titlepage.verso"/> |
---|
3278 | </xsl:variable> |
---|
3279 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3280 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3281 | </xsl:if> |
---|
3282 | <xsl:call-template name="bibliography.titlepage.separator"/> |
---|
3283 | </fo:block> |
---|
3284 | </xsl:template> |
---|
3285 | |
---|
3286 | <xsl:template match="*" mode="bibliography.titlepage.recto.mode"> |
---|
3287 | <!-- if an element isn't found in this mode, --> |
---|
3288 | <!-- try the generic titlepage.mode --> |
---|
3289 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3290 | </xsl:template> |
---|
3291 | |
---|
3292 | <xsl:template match="*" mode="bibliography.titlepage.verso.mode"> |
---|
3293 | <!-- if an element isn't found in this mode, --> |
---|
3294 | <!-- try the generic titlepage.mode --> |
---|
3295 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3296 | </xsl:template> |
---|
3297 | |
---|
3298 | <xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> |
---|
3299 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3300 | <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> |
---|
3301 | </fo:block> |
---|
3302 | </xsl:template> |
---|
3303 | |
---|
3304 | <xsl:template name="bibliodiv.titlepage.recto"> |
---|
3305 | <xsl:choose> |
---|
3306 | <xsl:when test="bibliodivinfo/title"> |
---|
3307 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title"/> |
---|
3308 | </xsl:when> |
---|
3309 | <xsl:when test="docinfo/title"> |
---|
3310 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
3311 | </xsl:when> |
---|
3312 | <xsl:when test="info/title"> |
---|
3313 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/title"/> |
---|
3314 | </xsl:when> |
---|
3315 | <xsl:when test="title"> |
---|
3316 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title"/> |
---|
3317 | </xsl:when> |
---|
3318 | </xsl:choose> |
---|
3319 | |
---|
3320 | <xsl:choose> |
---|
3321 | <xsl:when test="bibliodivinfo/subtitle"> |
---|
3322 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle"/> |
---|
3323 | </xsl:when> |
---|
3324 | <xsl:when test="docinfo/subtitle"> |
---|
3325 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3326 | </xsl:when> |
---|
3327 | <xsl:when test="info/subtitle"> |
---|
3328 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3329 | </xsl:when> |
---|
3330 | <xsl:when test="subtitle"> |
---|
3331 | <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3332 | </xsl:when> |
---|
3333 | </xsl:choose> |
---|
3334 | |
---|
3335 | </xsl:template> |
---|
3336 | |
---|
3337 | <xsl:template name="bibliodiv.titlepage.verso"> |
---|
3338 | </xsl:template> |
---|
3339 | |
---|
3340 | <xsl:template name="bibliodiv.titlepage.separator"> |
---|
3341 | </xsl:template> |
---|
3342 | |
---|
3343 | <xsl:template name="bibliodiv.titlepage.before.recto"> |
---|
3344 | </xsl:template> |
---|
3345 | |
---|
3346 | <xsl:template name="bibliodiv.titlepage.before.verso"> |
---|
3347 | </xsl:template> |
---|
3348 | |
---|
3349 | <xsl:template name="bibliodiv.titlepage"> |
---|
3350 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3351 | <xsl:variable name="recto.content"> |
---|
3352 | <xsl:call-template name="bibliodiv.titlepage.before.recto"/> |
---|
3353 | <xsl:call-template name="bibliodiv.titlepage.recto"/> |
---|
3354 | </xsl:variable> |
---|
3355 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3356 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3357 | </xsl:if> |
---|
3358 | <xsl:variable name="verso.content"> |
---|
3359 | <xsl:call-template name="bibliodiv.titlepage.before.verso"/> |
---|
3360 | <xsl:call-template name="bibliodiv.titlepage.verso"/> |
---|
3361 | </xsl:variable> |
---|
3362 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3363 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3364 | </xsl:if> |
---|
3365 | <xsl:call-template name="bibliodiv.titlepage.separator"/> |
---|
3366 | </fo:block> |
---|
3367 | </xsl:template> |
---|
3368 | |
---|
3369 | <xsl:template match="*" mode="bibliodiv.titlepage.recto.mode"> |
---|
3370 | <!-- if an element isn't found in this mode, --> |
---|
3371 | <!-- try the generic titlepage.mode --> |
---|
3372 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3373 | </xsl:template> |
---|
3374 | |
---|
3375 | <xsl:template match="*" mode="bibliodiv.titlepage.verso.mode"> |
---|
3376 | <!-- if an element isn't found in this mode, --> |
---|
3377 | <!-- try the generic titlepage.mode --> |
---|
3378 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3379 | </xsl:template> |
---|
3380 | |
---|
3381 | <xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode"> |
---|
3382 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3383 | <xsl:call-template name="component.title"> |
---|
3384 | <xsl:with-param name="node" select="ancestor-or-self::bibliodiv[1]"/> |
---|
3385 | </xsl:call-template> |
---|
3386 | </fo:block> |
---|
3387 | </xsl:template> |
---|
3388 | |
---|
3389 | <xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode"> |
---|
3390 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3391 | <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/> |
---|
3392 | </fo:block> |
---|
3393 | </xsl:template> |
---|
3394 | |
---|
3395 | <xsl:template name="glossary.titlepage.recto"> |
---|
3396 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3397 | <xsl:call-template name="component.title"> |
---|
3398 | <xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> |
---|
3399 | </xsl:call-template></fo:block> |
---|
3400 | <xsl:choose> |
---|
3401 | <xsl:when test="glossaryinfo/subtitle"> |
---|
3402 | <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> |
---|
3403 | </xsl:when> |
---|
3404 | <xsl:when test="docinfo/subtitle"> |
---|
3405 | <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3406 | </xsl:when> |
---|
3407 | <xsl:when test="info/subtitle"> |
---|
3408 | <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3409 | </xsl:when> |
---|
3410 | <xsl:when test="subtitle"> |
---|
3411 | <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3412 | </xsl:when> |
---|
3413 | </xsl:choose> |
---|
3414 | |
---|
3415 | </xsl:template> |
---|
3416 | |
---|
3417 | <xsl:template name="glossary.titlepage.verso"> |
---|
3418 | </xsl:template> |
---|
3419 | |
---|
3420 | <xsl:template name="glossary.titlepage.separator"> |
---|
3421 | </xsl:template> |
---|
3422 | |
---|
3423 | <xsl:template name="glossary.titlepage.before.recto"> |
---|
3424 | </xsl:template> |
---|
3425 | |
---|
3426 | <xsl:template name="glossary.titlepage.before.verso"> |
---|
3427 | </xsl:template> |
---|
3428 | |
---|
3429 | <xsl:template name="glossary.titlepage"> |
---|
3430 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3431 | <xsl:variable name="recto.content"> |
---|
3432 | <xsl:call-template name="glossary.titlepage.before.recto"/> |
---|
3433 | <xsl:call-template name="glossary.titlepage.recto"/> |
---|
3434 | </xsl:variable> |
---|
3435 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3436 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3437 | </xsl:if> |
---|
3438 | <xsl:variable name="verso.content"> |
---|
3439 | <xsl:call-template name="glossary.titlepage.before.verso"/> |
---|
3440 | <xsl:call-template name="glossary.titlepage.verso"/> |
---|
3441 | </xsl:variable> |
---|
3442 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3443 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3444 | </xsl:if> |
---|
3445 | <xsl:call-template name="glossary.titlepage.separator"/> |
---|
3446 | </fo:block> |
---|
3447 | </xsl:template> |
---|
3448 | |
---|
3449 | <xsl:template match="*" mode="glossary.titlepage.recto.mode"> |
---|
3450 | <!-- if an element isn't found in this mode, --> |
---|
3451 | <!-- try the generic titlepage.mode --> |
---|
3452 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3453 | </xsl:template> |
---|
3454 | |
---|
3455 | <xsl:template match="*" mode="glossary.titlepage.verso.mode"> |
---|
3456 | <!-- if an element isn't found in this mode, --> |
---|
3457 | <!-- try the generic titlepage.mode --> |
---|
3458 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3459 | </xsl:template> |
---|
3460 | |
---|
3461 | <xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> |
---|
3462 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3463 | <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> |
---|
3464 | </fo:block> |
---|
3465 | </xsl:template> |
---|
3466 | |
---|
3467 | <xsl:template name="glossdiv.titlepage.recto"> |
---|
3468 | <xsl:choose> |
---|
3469 | <xsl:when test="glossdivinfo/title"> |
---|
3470 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title"/> |
---|
3471 | </xsl:when> |
---|
3472 | <xsl:when test="docinfo/title"> |
---|
3473 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title"/> |
---|
3474 | </xsl:when> |
---|
3475 | <xsl:when test="info/title"> |
---|
3476 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/title"/> |
---|
3477 | </xsl:when> |
---|
3478 | <xsl:when test="title"> |
---|
3479 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title"/> |
---|
3480 | </xsl:when> |
---|
3481 | </xsl:choose> |
---|
3482 | |
---|
3483 | <xsl:choose> |
---|
3484 | <xsl:when test="glossdivinfo/subtitle"> |
---|
3485 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle"/> |
---|
3486 | </xsl:when> |
---|
3487 | <xsl:when test="docinfo/subtitle"> |
---|
3488 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3489 | </xsl:when> |
---|
3490 | <xsl:when test="info/subtitle"> |
---|
3491 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3492 | </xsl:when> |
---|
3493 | <xsl:when test="subtitle"> |
---|
3494 | <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3495 | </xsl:when> |
---|
3496 | </xsl:choose> |
---|
3497 | |
---|
3498 | </xsl:template> |
---|
3499 | |
---|
3500 | <xsl:template name="glossdiv.titlepage.verso"> |
---|
3501 | </xsl:template> |
---|
3502 | |
---|
3503 | <xsl:template name="glossdiv.titlepage.separator"> |
---|
3504 | </xsl:template> |
---|
3505 | |
---|
3506 | <xsl:template name="glossdiv.titlepage.before.recto"> |
---|
3507 | </xsl:template> |
---|
3508 | |
---|
3509 | <xsl:template name="glossdiv.titlepage.before.verso"> |
---|
3510 | </xsl:template> |
---|
3511 | |
---|
3512 | <xsl:template name="glossdiv.titlepage"> |
---|
3513 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3514 | <xsl:variable name="recto.content"> |
---|
3515 | <xsl:call-template name="glossdiv.titlepage.before.recto"/> |
---|
3516 | <xsl:call-template name="glossdiv.titlepage.recto"/> |
---|
3517 | </xsl:variable> |
---|
3518 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3519 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3520 | </xsl:if> |
---|
3521 | <xsl:variable name="verso.content"> |
---|
3522 | <xsl:call-template name="glossdiv.titlepage.before.verso"/> |
---|
3523 | <xsl:call-template name="glossdiv.titlepage.verso"/> |
---|
3524 | </xsl:variable> |
---|
3525 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3526 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3527 | </xsl:if> |
---|
3528 | <xsl:call-template name="glossdiv.titlepage.separator"/> |
---|
3529 | </fo:block> |
---|
3530 | </xsl:template> |
---|
3531 | |
---|
3532 | <xsl:template match="*" mode="glossdiv.titlepage.recto.mode"> |
---|
3533 | <!-- if an element isn't found in this mode, --> |
---|
3534 | <!-- try the generic titlepage.mode --> |
---|
3535 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3536 | </xsl:template> |
---|
3537 | |
---|
3538 | <xsl:template match="*" mode="glossdiv.titlepage.verso.mode"> |
---|
3539 | <!-- if an element isn't found in this mode, --> |
---|
3540 | <!-- try the generic titlepage.mode --> |
---|
3541 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3542 | </xsl:template> |
---|
3543 | |
---|
3544 | <xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode"> |
---|
3545 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3546 | <xsl:call-template name="component.title"> |
---|
3547 | <xsl:with-param name="node" select="ancestor-or-self::glossdiv[1]"/> |
---|
3548 | </xsl:call-template> |
---|
3549 | </fo:block> |
---|
3550 | </xsl:template> |
---|
3551 | |
---|
3552 | <xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode"> |
---|
3553 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3554 | <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/> |
---|
3555 | </fo:block> |
---|
3556 | </xsl:template> |
---|
3557 | |
---|
3558 | <xsl:template name="index.titlepage.recto"> |
---|
3559 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3560 | <xsl:call-template name="component.title"> |
---|
3561 | <xsl:with-param name="node" select="ancestor-or-self::index[1]"/> |
---|
3562 | <xsl:with-param name="pagewide" select="1"/> |
---|
3563 | </xsl:call-template></fo:block> |
---|
3564 | <xsl:choose> |
---|
3565 | <xsl:when test="indexinfo/subtitle"> |
---|
3566 | <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> |
---|
3567 | </xsl:when> |
---|
3568 | <xsl:when test="docinfo/subtitle"> |
---|
3569 | <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3570 | </xsl:when> |
---|
3571 | <xsl:when test="info/subtitle"> |
---|
3572 | <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3573 | </xsl:when> |
---|
3574 | <xsl:when test="subtitle"> |
---|
3575 | <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3576 | </xsl:when> |
---|
3577 | </xsl:choose> |
---|
3578 | |
---|
3579 | </xsl:template> |
---|
3580 | |
---|
3581 | <xsl:template name="index.titlepage.verso"> |
---|
3582 | </xsl:template> |
---|
3583 | |
---|
3584 | <xsl:template name="index.titlepage.separator"> |
---|
3585 | </xsl:template> |
---|
3586 | |
---|
3587 | <xsl:template name="index.titlepage.before.recto"> |
---|
3588 | </xsl:template> |
---|
3589 | |
---|
3590 | <xsl:template name="index.titlepage.before.verso"> |
---|
3591 | </xsl:template> |
---|
3592 | |
---|
3593 | <xsl:template name="index.titlepage"> |
---|
3594 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3595 | <xsl:variable name="recto.content"> |
---|
3596 | <xsl:call-template name="index.titlepage.before.recto"/> |
---|
3597 | <xsl:call-template name="index.titlepage.recto"/> |
---|
3598 | </xsl:variable> |
---|
3599 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3600 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3601 | </xsl:if> |
---|
3602 | <xsl:variable name="verso.content"> |
---|
3603 | <xsl:call-template name="index.titlepage.before.verso"/> |
---|
3604 | <xsl:call-template name="index.titlepage.verso"/> |
---|
3605 | </xsl:variable> |
---|
3606 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3607 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3608 | </xsl:if> |
---|
3609 | <xsl:call-template name="index.titlepage.separator"/> |
---|
3610 | </fo:block> |
---|
3611 | </xsl:template> |
---|
3612 | |
---|
3613 | <xsl:template match="*" mode="index.titlepage.recto.mode"> |
---|
3614 | <!-- if an element isn't found in this mode, --> |
---|
3615 | <!-- try the generic titlepage.mode --> |
---|
3616 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3617 | </xsl:template> |
---|
3618 | |
---|
3619 | <xsl:template match="*" mode="index.titlepage.verso.mode"> |
---|
3620 | <!-- if an element isn't found in this mode, --> |
---|
3621 | <!-- try the generic titlepage.mode --> |
---|
3622 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3623 | </xsl:template> |
---|
3624 | |
---|
3625 | <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> |
---|
3626 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3627 | <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> |
---|
3628 | </fo:block> |
---|
3629 | </xsl:template> |
---|
3630 | |
---|
3631 | <xsl:template name="indexdiv.titlepage.recto"> |
---|
3632 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style"> |
---|
3633 | <xsl:call-template name="indexdiv.title"> |
---|
3634 | <xsl:with-param name="title" select="title"/> |
---|
3635 | </xsl:call-template></fo:block> |
---|
3636 | <xsl:choose> |
---|
3637 | <xsl:when test="indexdivinfo/subtitle"> |
---|
3638 | <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/subtitle"/> |
---|
3639 | </xsl:when> |
---|
3640 | <xsl:when test="docinfo/subtitle"> |
---|
3641 | <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3642 | </xsl:when> |
---|
3643 | <xsl:when test="info/subtitle"> |
---|
3644 | <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3645 | </xsl:when> |
---|
3646 | <xsl:when test="subtitle"> |
---|
3647 | <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3648 | </xsl:when> |
---|
3649 | </xsl:choose> |
---|
3650 | |
---|
3651 | </xsl:template> |
---|
3652 | |
---|
3653 | <xsl:template name="indexdiv.titlepage.verso"> |
---|
3654 | </xsl:template> |
---|
3655 | |
---|
3656 | <xsl:template name="indexdiv.titlepage.separator"> |
---|
3657 | </xsl:template> |
---|
3658 | |
---|
3659 | <xsl:template name="indexdiv.titlepage.before.recto"> |
---|
3660 | </xsl:template> |
---|
3661 | |
---|
3662 | <xsl:template name="indexdiv.titlepage.before.verso"> |
---|
3663 | </xsl:template> |
---|
3664 | |
---|
3665 | <xsl:template name="indexdiv.titlepage"> |
---|
3666 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3667 | <xsl:variable name="recto.content"> |
---|
3668 | <xsl:call-template name="indexdiv.titlepage.before.recto"/> |
---|
3669 | <xsl:call-template name="indexdiv.titlepage.recto"/> |
---|
3670 | </xsl:variable> |
---|
3671 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3672 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3673 | </xsl:if> |
---|
3674 | <xsl:variable name="verso.content"> |
---|
3675 | <xsl:call-template name="indexdiv.titlepage.before.verso"/> |
---|
3676 | <xsl:call-template name="indexdiv.titlepage.verso"/> |
---|
3677 | </xsl:variable> |
---|
3678 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3679 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3680 | </xsl:if> |
---|
3681 | <xsl:call-template name="indexdiv.titlepage.separator"/> |
---|
3682 | </fo:block> |
---|
3683 | </xsl:template> |
---|
3684 | |
---|
3685 | <xsl:template match="*" mode="indexdiv.titlepage.recto.mode"> |
---|
3686 | <!-- if an element isn't found in this mode, --> |
---|
3687 | <!-- try the generic titlepage.mode --> |
---|
3688 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3689 | </xsl:template> |
---|
3690 | |
---|
3691 | <xsl:template match="*" mode="indexdiv.titlepage.verso.mode"> |
---|
3692 | <!-- if an element isn't found in this mode, --> |
---|
3693 | <!-- try the generic titlepage.mode --> |
---|
3694 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3695 | </xsl:template> |
---|
3696 | |
---|
3697 | <xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode"> |
---|
3698 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3699 | <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/> |
---|
3700 | </fo:block> |
---|
3701 | </xsl:template> |
---|
3702 | |
---|
3703 | <xsl:template name="setindex.titlepage.recto"> |
---|
3704 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3705 | <xsl:call-template name="component.title"> |
---|
3706 | <xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> |
---|
3707 | <xsl:with-param name="pagewide" select="1"/> |
---|
3708 | </xsl:call-template></fo:block> |
---|
3709 | <xsl:choose> |
---|
3710 | <xsl:when test="setindexinfo/subtitle"> |
---|
3711 | <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> |
---|
3712 | </xsl:when> |
---|
3713 | <xsl:when test="docinfo/subtitle"> |
---|
3714 | <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3715 | </xsl:when> |
---|
3716 | <xsl:when test="info/subtitle"> |
---|
3717 | <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3718 | </xsl:when> |
---|
3719 | <xsl:when test="subtitle"> |
---|
3720 | <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3721 | </xsl:when> |
---|
3722 | </xsl:choose> |
---|
3723 | |
---|
3724 | </xsl:template> |
---|
3725 | |
---|
3726 | <xsl:template name="setindex.titlepage.verso"> |
---|
3727 | </xsl:template> |
---|
3728 | |
---|
3729 | <xsl:template name="setindex.titlepage.separator"> |
---|
3730 | </xsl:template> |
---|
3731 | |
---|
3732 | <xsl:template name="setindex.titlepage.before.recto"> |
---|
3733 | </xsl:template> |
---|
3734 | |
---|
3735 | <xsl:template name="setindex.titlepage.before.verso"> |
---|
3736 | </xsl:template> |
---|
3737 | |
---|
3738 | <xsl:template name="setindex.titlepage"> |
---|
3739 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3740 | <xsl:variable name="recto.content"> |
---|
3741 | <xsl:call-template name="setindex.titlepage.before.recto"/> |
---|
3742 | <xsl:call-template name="setindex.titlepage.recto"/> |
---|
3743 | </xsl:variable> |
---|
3744 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3745 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3746 | </xsl:if> |
---|
3747 | <xsl:variable name="verso.content"> |
---|
3748 | <xsl:call-template name="setindex.titlepage.before.verso"/> |
---|
3749 | <xsl:call-template name="setindex.titlepage.verso"/> |
---|
3750 | </xsl:variable> |
---|
3751 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3752 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3753 | </xsl:if> |
---|
3754 | <xsl:call-template name="setindex.titlepage.separator"/> |
---|
3755 | </fo:block> |
---|
3756 | </xsl:template> |
---|
3757 | |
---|
3758 | <xsl:template match="*" mode="setindex.titlepage.recto.mode"> |
---|
3759 | <!-- if an element isn't found in this mode, --> |
---|
3760 | <!-- try the generic titlepage.mode --> |
---|
3761 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3762 | </xsl:template> |
---|
3763 | |
---|
3764 | <xsl:template match="*" mode="setindex.titlepage.verso.mode"> |
---|
3765 | <!-- if an element isn't found in this mode, --> |
---|
3766 | <!-- try the generic titlepage.mode --> |
---|
3767 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3768 | </xsl:template> |
---|
3769 | |
---|
3770 | <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> |
---|
3771 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3772 | <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> |
---|
3773 | </fo:block> |
---|
3774 | </xsl:template> |
---|
3775 | |
---|
3776 | <xsl:template name="colophon.titlepage.recto"> |
---|
3777 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> |
---|
3778 | <xsl:call-template name="component.title"> |
---|
3779 | <xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/> |
---|
3780 | </xsl:call-template></fo:block> |
---|
3781 | <xsl:choose> |
---|
3782 | <xsl:when test="colophoninfo/subtitle"> |
---|
3783 | <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/> |
---|
3784 | </xsl:when> |
---|
3785 | <xsl:when test="docinfo/subtitle"> |
---|
3786 | <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/> |
---|
3787 | </xsl:when> |
---|
3788 | <xsl:when test="info/subtitle"> |
---|
3789 | <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/subtitle"/> |
---|
3790 | </xsl:when> |
---|
3791 | <xsl:when test="subtitle"> |
---|
3792 | <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/> |
---|
3793 | </xsl:when> |
---|
3794 | </xsl:choose> |
---|
3795 | |
---|
3796 | </xsl:template> |
---|
3797 | |
---|
3798 | <xsl:template name="colophon.titlepage.verso"> |
---|
3799 | </xsl:template> |
---|
3800 | |
---|
3801 | <xsl:template name="colophon.titlepage.separator"> |
---|
3802 | </xsl:template> |
---|
3803 | |
---|
3804 | <xsl:template name="colophon.titlepage.before.recto"> |
---|
3805 | </xsl:template> |
---|
3806 | |
---|
3807 | <xsl:template name="colophon.titlepage.before.verso"> |
---|
3808 | </xsl:template> |
---|
3809 | |
---|
3810 | <xsl:template name="colophon.titlepage"> |
---|
3811 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3812 | <xsl:variable name="recto.content"> |
---|
3813 | <xsl:call-template name="colophon.titlepage.before.recto"/> |
---|
3814 | <xsl:call-template name="colophon.titlepage.recto"/> |
---|
3815 | </xsl:variable> |
---|
3816 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3817 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3818 | </xsl:if> |
---|
3819 | <xsl:variable name="verso.content"> |
---|
3820 | <xsl:call-template name="colophon.titlepage.before.verso"/> |
---|
3821 | <xsl:call-template name="colophon.titlepage.verso"/> |
---|
3822 | </xsl:variable> |
---|
3823 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3824 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3825 | </xsl:if> |
---|
3826 | <xsl:call-template name="colophon.titlepage.separator"/> |
---|
3827 | </fo:block> |
---|
3828 | </xsl:template> |
---|
3829 | |
---|
3830 | <xsl:template match="*" mode="colophon.titlepage.recto.mode"> |
---|
3831 | <!-- if an element isn't found in this mode, --> |
---|
3832 | <!-- try the generic titlepage.mode --> |
---|
3833 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3834 | </xsl:template> |
---|
3835 | |
---|
3836 | <xsl:template match="*" mode="colophon.titlepage.verso.mode"> |
---|
3837 | <!-- if an element isn't found in this mode, --> |
---|
3838 | <!-- try the generic titlepage.mode --> |
---|
3839 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3840 | </xsl:template> |
---|
3841 | |
---|
3842 | <xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode"> |
---|
3843 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}"> |
---|
3844 | <xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/> |
---|
3845 | </fo:block> |
---|
3846 | </xsl:template> |
---|
3847 | |
---|
3848 | <xsl:template name="table.of.contents.titlepage.recto"> |
---|
3849 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
3850 | <xsl:call-template name="gentext"> |
---|
3851 | <xsl:with-param name="key" select="'TableofContents'"/> |
---|
3852 | </xsl:call-template></fo:block> |
---|
3853 | </xsl:template> |
---|
3854 | |
---|
3855 | <xsl:template name="table.of.contents.titlepage.verso"> |
---|
3856 | </xsl:template> |
---|
3857 | |
---|
3858 | <xsl:template name="table.of.contents.titlepage.separator"> |
---|
3859 | </xsl:template> |
---|
3860 | |
---|
3861 | <xsl:template name="table.of.contents.titlepage.before.recto"> |
---|
3862 | </xsl:template> |
---|
3863 | |
---|
3864 | <xsl:template name="table.of.contents.titlepage.before.verso"> |
---|
3865 | </xsl:template> |
---|
3866 | |
---|
3867 | <xsl:template name="table.of.contents.titlepage"> |
---|
3868 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3869 | <xsl:variable name="recto.content"> |
---|
3870 | <xsl:call-template name="table.of.contents.titlepage.before.recto"/> |
---|
3871 | <xsl:call-template name="table.of.contents.titlepage.recto"/> |
---|
3872 | </xsl:variable> |
---|
3873 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3874 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3875 | </xsl:if> |
---|
3876 | <xsl:variable name="verso.content"> |
---|
3877 | <xsl:call-template name="table.of.contents.titlepage.before.verso"/> |
---|
3878 | <xsl:call-template name="table.of.contents.titlepage.verso"/> |
---|
3879 | </xsl:variable> |
---|
3880 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3881 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3882 | </xsl:if> |
---|
3883 | <xsl:call-template name="table.of.contents.titlepage.separator"/> |
---|
3884 | </fo:block> |
---|
3885 | </xsl:template> |
---|
3886 | |
---|
3887 | <xsl:template match="*" mode="table.of.contents.titlepage.recto.mode"> |
---|
3888 | <!-- if an element isn't found in this mode, --> |
---|
3889 | <!-- try the generic titlepage.mode --> |
---|
3890 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3891 | </xsl:template> |
---|
3892 | |
---|
3893 | <xsl:template match="*" mode="table.of.contents.titlepage.verso.mode"> |
---|
3894 | <!-- if an element isn't found in this mode, --> |
---|
3895 | <!-- try the generic titlepage.mode --> |
---|
3896 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3897 | </xsl:template> |
---|
3898 | |
---|
3899 | <xsl:template name="list.of.tables.titlepage.recto"> |
---|
3900 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
3901 | <xsl:call-template name="gentext"> |
---|
3902 | <xsl:with-param name="key" select="'ListofTables'"/> |
---|
3903 | </xsl:call-template></fo:block> |
---|
3904 | </xsl:template> |
---|
3905 | |
---|
3906 | <xsl:template name="list.of.tables.titlepage.verso"> |
---|
3907 | </xsl:template> |
---|
3908 | |
---|
3909 | <xsl:template name="list.of.tables.titlepage.separator"> |
---|
3910 | </xsl:template> |
---|
3911 | |
---|
3912 | <xsl:template name="list.of.tables.titlepage.before.recto"> |
---|
3913 | </xsl:template> |
---|
3914 | |
---|
3915 | <xsl:template name="list.of.tables.titlepage.before.verso"> |
---|
3916 | </xsl:template> |
---|
3917 | |
---|
3918 | <xsl:template name="list.of.tables.titlepage"> |
---|
3919 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3920 | <xsl:variable name="recto.content"> |
---|
3921 | <xsl:call-template name="list.of.tables.titlepage.before.recto"/> |
---|
3922 | <xsl:call-template name="list.of.tables.titlepage.recto"/> |
---|
3923 | </xsl:variable> |
---|
3924 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3925 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3926 | </xsl:if> |
---|
3927 | <xsl:variable name="verso.content"> |
---|
3928 | <xsl:call-template name="list.of.tables.titlepage.before.verso"/> |
---|
3929 | <xsl:call-template name="list.of.tables.titlepage.verso"/> |
---|
3930 | </xsl:variable> |
---|
3931 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3932 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3933 | </xsl:if> |
---|
3934 | <xsl:call-template name="list.of.tables.titlepage.separator"/> |
---|
3935 | </fo:block> |
---|
3936 | </xsl:template> |
---|
3937 | |
---|
3938 | <xsl:template match="*" mode="list.of.tables.titlepage.recto.mode"> |
---|
3939 | <!-- if an element isn't found in this mode, --> |
---|
3940 | <!-- try the generic titlepage.mode --> |
---|
3941 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3942 | </xsl:template> |
---|
3943 | |
---|
3944 | <xsl:template match="*" mode="list.of.tables.titlepage.verso.mode"> |
---|
3945 | <!-- if an element isn't found in this mode, --> |
---|
3946 | <!-- try the generic titlepage.mode --> |
---|
3947 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3948 | </xsl:template> |
---|
3949 | |
---|
3950 | <xsl:template name="list.of.figures.titlepage.recto"> |
---|
3951 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
3952 | <xsl:call-template name="gentext"> |
---|
3953 | <xsl:with-param name="key" select="'ListofFigures'"/> |
---|
3954 | </xsl:call-template></fo:block> |
---|
3955 | </xsl:template> |
---|
3956 | |
---|
3957 | <xsl:template name="list.of.figures.titlepage.verso"> |
---|
3958 | </xsl:template> |
---|
3959 | |
---|
3960 | <xsl:template name="list.of.figures.titlepage.separator"> |
---|
3961 | </xsl:template> |
---|
3962 | |
---|
3963 | <xsl:template name="list.of.figures.titlepage.before.recto"> |
---|
3964 | </xsl:template> |
---|
3965 | |
---|
3966 | <xsl:template name="list.of.figures.titlepage.before.verso"> |
---|
3967 | </xsl:template> |
---|
3968 | |
---|
3969 | <xsl:template name="list.of.figures.titlepage"> |
---|
3970 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
3971 | <xsl:variable name="recto.content"> |
---|
3972 | <xsl:call-template name="list.of.figures.titlepage.before.recto"/> |
---|
3973 | <xsl:call-template name="list.of.figures.titlepage.recto"/> |
---|
3974 | </xsl:variable> |
---|
3975 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
3976 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
3977 | </xsl:if> |
---|
3978 | <xsl:variable name="verso.content"> |
---|
3979 | <xsl:call-template name="list.of.figures.titlepage.before.verso"/> |
---|
3980 | <xsl:call-template name="list.of.figures.titlepage.verso"/> |
---|
3981 | </xsl:variable> |
---|
3982 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
3983 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
3984 | </xsl:if> |
---|
3985 | <xsl:call-template name="list.of.figures.titlepage.separator"/> |
---|
3986 | </fo:block> |
---|
3987 | </xsl:template> |
---|
3988 | |
---|
3989 | <xsl:template match="*" mode="list.of.figures.titlepage.recto.mode"> |
---|
3990 | <!-- if an element isn't found in this mode, --> |
---|
3991 | <!-- try the generic titlepage.mode --> |
---|
3992 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3993 | </xsl:template> |
---|
3994 | |
---|
3995 | <xsl:template match="*" mode="list.of.figures.titlepage.verso.mode"> |
---|
3996 | <!-- if an element isn't found in this mode, --> |
---|
3997 | <!-- try the generic titlepage.mode --> |
---|
3998 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
3999 | </xsl:template> |
---|
4000 | |
---|
4001 | <xsl:template name="list.of.examples.titlepage.recto"> |
---|
4002 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
4003 | <xsl:call-template name="gentext"> |
---|
4004 | <xsl:with-param name="key" select="'ListofExamples'"/> |
---|
4005 | </xsl:call-template></fo:block> |
---|
4006 | </xsl:template> |
---|
4007 | |
---|
4008 | <xsl:template name="list.of.examples.titlepage.verso"> |
---|
4009 | </xsl:template> |
---|
4010 | |
---|
4011 | <xsl:template name="list.of.examples.titlepage.separator"> |
---|
4012 | </xsl:template> |
---|
4013 | |
---|
4014 | <xsl:template name="list.of.examples.titlepage.before.recto"> |
---|
4015 | </xsl:template> |
---|
4016 | |
---|
4017 | <xsl:template name="list.of.examples.titlepage.before.verso"> |
---|
4018 | </xsl:template> |
---|
4019 | |
---|
4020 | <xsl:template name="list.of.examples.titlepage"> |
---|
4021 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
4022 | <xsl:variable name="recto.content"> |
---|
4023 | <xsl:call-template name="list.of.examples.titlepage.before.recto"/> |
---|
4024 | <xsl:call-template name="list.of.examples.titlepage.recto"/> |
---|
4025 | </xsl:variable> |
---|
4026 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
4027 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
4028 | </xsl:if> |
---|
4029 | <xsl:variable name="verso.content"> |
---|
4030 | <xsl:call-template name="list.of.examples.titlepage.before.verso"/> |
---|
4031 | <xsl:call-template name="list.of.examples.titlepage.verso"/> |
---|
4032 | </xsl:variable> |
---|
4033 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
4034 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
4035 | </xsl:if> |
---|
4036 | <xsl:call-template name="list.of.examples.titlepage.separator"/> |
---|
4037 | </fo:block> |
---|
4038 | </xsl:template> |
---|
4039 | |
---|
4040 | <xsl:template match="*" mode="list.of.examples.titlepage.recto.mode"> |
---|
4041 | <!-- if an element isn't found in this mode, --> |
---|
4042 | <!-- try the generic titlepage.mode --> |
---|
4043 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4044 | </xsl:template> |
---|
4045 | |
---|
4046 | <xsl:template match="*" mode="list.of.examples.titlepage.verso.mode"> |
---|
4047 | <!-- if an element isn't found in this mode, --> |
---|
4048 | <!-- try the generic titlepage.mode --> |
---|
4049 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4050 | </xsl:template> |
---|
4051 | |
---|
4052 | <xsl:template name="list.of.equations.titlepage.recto"> |
---|
4053 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
4054 | <xsl:call-template name="gentext"> |
---|
4055 | <xsl:with-param name="key" select="'ListofEquations'"/> |
---|
4056 | </xsl:call-template></fo:block> |
---|
4057 | </xsl:template> |
---|
4058 | |
---|
4059 | <xsl:template name="list.of.equations.titlepage.verso"> |
---|
4060 | </xsl:template> |
---|
4061 | |
---|
4062 | <xsl:template name="list.of.equations.titlepage.separator"> |
---|
4063 | </xsl:template> |
---|
4064 | |
---|
4065 | <xsl:template name="list.of.equations.titlepage.before.recto"> |
---|
4066 | </xsl:template> |
---|
4067 | |
---|
4068 | <xsl:template name="list.of.equations.titlepage.before.verso"> |
---|
4069 | </xsl:template> |
---|
4070 | |
---|
4071 | <xsl:template name="list.of.equations.titlepage"> |
---|
4072 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
4073 | <xsl:variable name="recto.content"> |
---|
4074 | <xsl:call-template name="list.of.equations.titlepage.before.recto"/> |
---|
4075 | <xsl:call-template name="list.of.equations.titlepage.recto"/> |
---|
4076 | </xsl:variable> |
---|
4077 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
4078 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
4079 | </xsl:if> |
---|
4080 | <xsl:variable name="verso.content"> |
---|
4081 | <xsl:call-template name="list.of.equations.titlepage.before.verso"/> |
---|
4082 | <xsl:call-template name="list.of.equations.titlepage.verso"/> |
---|
4083 | </xsl:variable> |
---|
4084 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
4085 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
4086 | </xsl:if> |
---|
4087 | <xsl:call-template name="list.of.equations.titlepage.separator"/> |
---|
4088 | </fo:block> |
---|
4089 | </xsl:template> |
---|
4090 | |
---|
4091 | <xsl:template match="*" mode="list.of.equations.titlepage.recto.mode"> |
---|
4092 | <!-- if an element isn't found in this mode, --> |
---|
4093 | <!-- try the generic titlepage.mode --> |
---|
4094 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4095 | </xsl:template> |
---|
4096 | |
---|
4097 | <xsl:template match="*" mode="list.of.equations.titlepage.verso.mode"> |
---|
4098 | <!-- if an element isn't found in this mode, --> |
---|
4099 | <!-- try the generic titlepage.mode --> |
---|
4100 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4101 | </xsl:template> |
---|
4102 | |
---|
4103 | <xsl:template name="list.of.procedures.titlepage.recto"> |
---|
4104 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
4105 | <xsl:call-template name="gentext"> |
---|
4106 | <xsl:with-param name="key" select="'ListofProcedures'"/> |
---|
4107 | </xsl:call-template></fo:block> |
---|
4108 | </xsl:template> |
---|
4109 | |
---|
4110 | <xsl:template name="list.of.procedures.titlepage.verso"> |
---|
4111 | </xsl:template> |
---|
4112 | |
---|
4113 | <xsl:template name="list.of.procedures.titlepage.separator"> |
---|
4114 | </xsl:template> |
---|
4115 | |
---|
4116 | <xsl:template name="list.of.procedures.titlepage.before.recto"> |
---|
4117 | </xsl:template> |
---|
4118 | |
---|
4119 | <xsl:template name="list.of.procedures.titlepage.before.verso"> |
---|
4120 | </xsl:template> |
---|
4121 | |
---|
4122 | <xsl:template name="list.of.procedures.titlepage"> |
---|
4123 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
4124 | <xsl:variable name="recto.content"> |
---|
4125 | <xsl:call-template name="list.of.procedures.titlepage.before.recto"/> |
---|
4126 | <xsl:call-template name="list.of.procedures.titlepage.recto"/> |
---|
4127 | </xsl:variable> |
---|
4128 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
4129 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
4130 | </xsl:if> |
---|
4131 | <xsl:variable name="verso.content"> |
---|
4132 | <xsl:call-template name="list.of.procedures.titlepage.before.verso"/> |
---|
4133 | <xsl:call-template name="list.of.procedures.titlepage.verso"/> |
---|
4134 | </xsl:variable> |
---|
4135 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
4136 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
4137 | </xsl:if> |
---|
4138 | <xsl:call-template name="list.of.procedures.titlepage.separator"/> |
---|
4139 | </fo:block> |
---|
4140 | </xsl:template> |
---|
4141 | |
---|
4142 | <xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode"> |
---|
4143 | <!-- if an element isn't found in this mode, --> |
---|
4144 | <!-- try the generic titlepage.mode --> |
---|
4145 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4146 | </xsl:template> |
---|
4147 | |
---|
4148 | <xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode"> |
---|
4149 | <!-- if an element isn't found in this mode, --> |
---|
4150 | <!-- try the generic titlepage.mode --> |
---|
4151 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4152 | </xsl:template> |
---|
4153 | |
---|
4154 | <xsl:template name="list.of.unknowns.titlepage.recto"> |
---|
4155 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> |
---|
4156 | <xsl:call-template name="gentext"> |
---|
4157 | <xsl:with-param name="key" select="'ListofUnknown'"/> |
---|
4158 | </xsl:call-template></fo:block> |
---|
4159 | </xsl:template> |
---|
4160 | |
---|
4161 | <xsl:template name="list.of.unknowns.titlepage.verso"> |
---|
4162 | </xsl:template> |
---|
4163 | |
---|
4164 | <xsl:template name="list.of.unknowns.titlepage.separator"> |
---|
4165 | </xsl:template> |
---|
4166 | |
---|
4167 | <xsl:template name="list.of.unknowns.titlepage.before.recto"> |
---|
4168 | </xsl:template> |
---|
4169 | |
---|
4170 | <xsl:template name="list.of.unknowns.titlepage.before.verso"> |
---|
4171 | </xsl:template> |
---|
4172 | |
---|
4173 | <xsl:template name="list.of.unknowns.titlepage"> |
---|
4174 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
---|
4175 | <xsl:variable name="recto.content"> |
---|
4176 | <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/> |
---|
4177 | <xsl:call-template name="list.of.unknowns.titlepage.recto"/> |
---|
4178 | </xsl:variable> |
---|
4179 | <xsl:if test="normalize-space($recto.content) != ''"> |
---|
4180 | <fo:block><xsl:copy-of select="$recto.content"/></fo:block> |
---|
4181 | </xsl:if> |
---|
4182 | <xsl:variable name="verso.content"> |
---|
4183 | <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/> |
---|
4184 | <xsl:call-template name="list.of.unknowns.titlepage.verso"/> |
---|
4185 | </xsl:variable> |
---|
4186 | <xsl:if test="normalize-space($verso.content) != ''"> |
---|
4187 | <fo:block><xsl:copy-of select="$verso.content"/></fo:block> |
---|
4188 | </xsl:if> |
---|
4189 | <xsl:call-template name="list.of.unknowns.titlepage.separator"/> |
---|
4190 | </fo:block> |
---|
4191 | </xsl:template> |
---|
4192 | |
---|
4193 | <xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode"> |
---|
4194 | <!-- if an element isn't found in this mode, --> |
---|
4195 | <!-- try the generic titlepage.mode --> |
---|
4196 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4197 | </xsl:template> |
---|
4198 | |
---|
4199 | <xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode"> |
---|
4200 | <!-- if an element isn't found in this mode, --> |
---|
4201 | <!-- try the generic titlepage.mode --> |
---|
4202 | <xsl:apply-templates select="." mode="titlepage.mode"/> |
---|
4203 | </xsl:template> |
---|
4204 | |
---|
4205 | </xsl:stylesheet> |
---|