]> git.stg.codes - stg.git/blob - doc/xslt/html/titlepage.templates.xml
Added functional test framework.
[stg.git] / doc / xslt / html / titlepage.templates.xml
1 <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
2              xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
3              xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5 <!-- ==================================================================== -->
6
7 <t:titlepage t:element="article" t:wrapper="div" class="titlepage">
8   <t:titlepage-content t:side="recto">
9     <title/>
10     <subtitle/>
11     <corpauthor/>
12     <authorgroup/>
13     <author/>
14     <othercredit/>
15     <releaseinfo/>
16     <copyright/>
17     <legalnotice/>
18     <pubdate/>
19     <revision/>
20     <revhistory/>
21     <abstract/>
22   </t:titlepage-content>
23
24   <t:titlepage-content t:side="verso">
25   </t:titlepage-content>
26
27   <t:titlepage-separator>
28     <hr/>
29   </t:titlepage-separator>
30
31   <t:titlepage-before t:side="recto">
32   </t:titlepage-before>
33
34   <t:titlepage-before t:side="verso">
35   </t:titlepage-before>
36 </t:titlepage>
37
38 <!-- ==================================================================== -->
39
40 <t:titlepage t:element="set" t:wrapper="div" class="titlepage">
41   <t:titlepage-content t:side="recto">
42     <title/>
43     <subtitle/>
44     <corpauthor/>
45     <authorgroup/>
46     <author/>
47     <othercredit/>
48     <releaseinfo/>
49     <copyright/>
50     <legalnotice/>
51     <pubdate/>
52     <revision/>
53     <revhistory/>
54     <abstract/>
55   </t:titlepage-content>
56
57   <t:titlepage-content t:side="verso">
58   </t:titlepage-content>
59
60   <t:titlepage-separator>
61     <hr/>
62   </t:titlepage-separator>
63
64   <t:titlepage-before t:side="recto">
65   </t:titlepage-before>
66
67   <t:titlepage-before t:side="verso">
68   </t:titlepage-before>
69 </t:titlepage>
70
71 <!-- ==================================================================== -->
72
73 <t:titlepage t:element="book" t:wrapper="div" class="titlepage">
74   <t:titlepage-content t:side="recto">
75     <title/>
76     <subtitle/>
77     <corpauthor/>
78     <authorgroup/>
79     <author/>
80     <othercredit/>
81     <releaseinfo/>
82     <copyright/>
83     <legalnotice/>
84     <pubdate/>
85     <revision/>
86     <revhistory/>
87     <abstract/>
88   </t:titlepage-content>
89
90   <t:titlepage-content t:side="verso">
91   </t:titlepage-content>
92
93   <t:titlepage-separator>
94     <hr/>
95   </t:titlepage-separator>
96
97   <t:titlepage-before t:side="recto">
98   </t:titlepage-before>
99
100   <t:titlepage-before t:side="verso">
101   </t:titlepage-before>
102 </t:titlepage>
103
104 <!-- ==================================================================== -->
105
106 <t:titlepage t:element="part" t:wrapper="div" class="titlepage">
107   <t:titlepage-content t:side="recto">
108     <title
109            t:force="1"
110            t:named-template="division.title"
111            param:node="ancestor-or-self::part[1]"/>
112     <subtitle/>
113     <corpauthor/>
114     <authorgroup/>
115     <author/>
116     <othercredit/>
117     <releaseinfo/>
118     <copyright/>
119     <legalnotice/>
120     <pubdate/>
121     <revision/>
122     <revhistory/>
123     <abstract/>
124   </t:titlepage-content>
125
126   <t:titlepage-content t:side="verso">
127   </t:titlepage-content>
128
129   <t:titlepage-separator>
130   </t:titlepage-separator>
131
132   <t:titlepage-before t:side="recto">
133   </t:titlepage-before>
134
135   <t:titlepage-before t:side="verso">
136   </t:titlepage-before>
137 </t:titlepage>
138
139 <t:titlepage t:element="partintro" t:wrapper="div">
140   <t:titlepage-content t:side="recto">
141     <title/>
142     <subtitle/>
143     <corpauthor/>
144     <authorgroup/>
145     <author/>
146     <othercredit/>
147     <releaseinfo/>
148     <copyright/>
149     <legalnotice/>
150     <pubdate/>
151     <revision/>
152     <revhistory/>
153     <abstract/>
154   </t:titlepage-content>
155
156   <t:titlepage-content t:side="verso">
157   </t:titlepage-content>
158
159   <t:titlepage-separator>
160   </t:titlepage-separator>
161
162   <t:titlepage-before t:side="recto">
163   </t:titlepage-before>
164
165   <t:titlepage-before t:side="verso">
166   </t:titlepage-before>
167 </t:titlepage>
168
169 <!-- ==================================================================== -->
170
171 <t:titlepage t:element="reference" t:wrapper="div" class="titlepage">
172   <t:titlepage-content t:side="recto">
173     <title/>
174     <subtitle/>
175     <corpauthor/>
176     <authorgroup/>
177     <author/>
178     <othercredit/>
179     <releaseinfo/>
180     <copyright/>
181     <legalnotice/>
182     <pubdate/>
183     <revision/>
184     <revhistory/>
185     <abstract/>
186   </t:titlepage-content>
187
188   <t:titlepage-content t:side="verso">
189   </t:titlepage-content>
190
191   <t:titlepage-separator>
192     <hr/>
193   </t:titlepage-separator>
194
195   <t:titlepage-before t:side="recto">
196   </t:titlepage-before>
197
198   <t:titlepage-before t:side="verso">
199   </t:titlepage-before>
200 </t:titlepage>
201
202 <!-- ==================================================================== -->
203
204 <t:titlepage t:element="refentry" t:wrapper="div" class="titlepage">
205   <t:titlepage-content t:side="recto">
206 <!-- uncomment this if you want refentry titlepages
207     <title t:force="1"
208            t:named-template="refentry.title"
209            param:node="ancestor-or-self::refentry[1]"/>
210 -->
211   </t:titlepage-content>
212
213   <t:titlepage-content t:side="verso">
214   </t:titlepage-content>
215
216   <t:titlepage-separator/>
217
218   <t:titlepage-before t:side="recto">
219   </t:titlepage-before>
220
221   <t:titlepage-before t:side="verso">
222   </t:titlepage-before>
223 </t:titlepage>
224
225 <!-- ==================================================================== -->
226
227   <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage">
228     <t:titlepage-content t:side="recto">
229     <title
230            t:force="1"
231            t:named-template="component.title"
232            param:node="ancestor-or-self::dedication[1]"/>
233     <subtitle/>
234     </t:titlepage-content>
235
236   <t:titlepage-content t:side="verso">
237   </t:titlepage-content>
238
239   <t:titlepage-separator>
240   </t:titlepage-separator>
241
242   <t:titlepage-before t:side="recto">
243   </t:titlepage-before>
244
245   <t:titlepage-before t:side="verso">
246   </t:titlepage-before>
247 </t:titlepage>
248
249 <!-- ==================================================================== -->
250
251 <t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage">
252     <t:titlepage-content t:side="recto">
253     <title
254            t:force="1"
255            t:named-template="component.title"
256            param:node="ancestor-or-self::acknowledgements[1]"/>
257     <subtitle/>
258     </t:titlepage-content>
259
260   <t:titlepage-content t:side="verso">
261   </t:titlepage-content>
262
263   <t:titlepage-separator>
264   </t:titlepage-separator>
265
266   <t:titlepage-before t:side="recto">
267   </t:titlepage-before>
268
269   <t:titlepage-before t:side="verso">
270   </t:titlepage-before>
271 </t:titlepage>
272
273 <!-- ==================================================================== -->
274
275 <t:titlepage t:element="preface" t:wrapper="div" class="titlepage">
276   <t:titlepage-content t:side="recto">
277     <title/>
278     <subtitle/>
279     <corpauthor/>
280     <authorgroup/>
281     <author/>
282     <othercredit/>
283     <releaseinfo/>
284     <copyright/>
285     <legalnotice/>
286     <pubdate/>
287     <revision/>
288     <revhistory/>
289     <abstract/>
290   </t:titlepage-content>
291
292   <t:titlepage-content t:side="verso">
293   </t:titlepage-content>
294
295   <t:titlepage-separator>
296   </t:titlepage-separator>
297
298   <t:titlepage-before t:side="recto">
299   </t:titlepage-before>
300
301   <t:titlepage-before t:side="verso">
302   </t:titlepage-before>
303 </t:titlepage>
304
305 <!-- ==================================================================== -->
306
307 <t:titlepage t:element="chapter" t:wrapper="div" class="titlepage">
308   <t:titlepage-content t:side="recto">
309     <title/>
310     <subtitle/>
311     <corpauthor/>
312     <authorgroup/>
313     <author/>
314     <othercredit/>
315     <releaseinfo/>
316     <copyright/>
317     <legalnotice/>
318     <pubdate/>
319     <revision/>
320     <revhistory/>
321     <abstract/>
322   </t:titlepage-content>
323
324   <t:titlepage-content t:side="verso">
325   </t:titlepage-content>
326
327   <t:titlepage-separator>
328   </t:titlepage-separator>
329
330   <t:titlepage-before t:side="recto">
331   </t:titlepage-before>
332
333   <t:titlepage-before t:side="verso">
334   </t:titlepage-before>
335 </t:titlepage>
336
337 <!-- ==================================================================== -->
338
339 <t:titlepage t:element="appendix" t:wrapper="div" class="titlepage">
340   <t:titlepage-content t:side="recto">
341     <title/>
342     <subtitle/>
343     <corpauthor/>
344     <authorgroup/>
345     <author/>
346     <othercredit/>
347     <releaseinfo/>
348     <copyright/>
349     <legalnotice/>
350     <pubdate/>
351     <revision/>
352     <revhistory/>
353     <abstract/>
354   </t:titlepage-content>
355
356   <t:titlepage-content t:side="verso">
357   </t:titlepage-content>
358
359   <t:titlepage-separator>
360   </t:titlepage-separator>
361
362   <t:titlepage-before t:side="recto">
363   </t:titlepage-before>
364
365   <t:titlepage-before t:side="verso">
366   </t:titlepage-before>
367 </t:titlepage>
368
369 <!-- ==================================================================== -->
370
371 <t:titlepage t:element="section" t:wrapper="div" class="titlepage">
372   <t:titlepage-content t:side="recto">
373     <title/>
374     <subtitle/>
375     <corpauthor/>
376     <authorgroup/>
377     <author/>
378     <othercredit/>
379     <releaseinfo/>
380     <copyright/>
381     <legalnotice/>
382     <pubdate/>
383     <revision/>
384     <revhistory/>
385     <abstract/>
386   </t:titlepage-content>
387
388   <t:titlepage-content t:side="verso">
389   </t:titlepage-content>
390
391   <t:titlepage-separator>
392     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
393   </t:titlepage-separator>
394
395   <t:titlepage-before t:side="recto">
396   </t:titlepage-before>
397
398   <t:titlepage-before t:side="verso">
399   </t:titlepage-before>
400 </t:titlepage>
401
402 <t:titlepage t:element="sect1" t:wrapper="div" class="titlepage">
403   <t:titlepage-content t:side="recto">
404     <title/>
405     <subtitle/>
406     <corpauthor/>
407     <authorgroup/>
408     <author/>
409     <othercredit/>
410     <releaseinfo/>
411     <copyright/>
412     <legalnotice/>
413     <pubdate/>
414     <revision/>
415     <revhistory/>
416     <abstract/>
417   </t:titlepage-content>
418
419   <t:titlepage-content t:side="verso">
420   </t:titlepage-content>
421
422   <t:titlepage-separator>
423     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
424   </t:titlepage-separator>
425
426   <t:titlepage-before t:side="recto">
427   </t:titlepage-before>
428
429   <t:titlepage-before t:side="verso">
430   </t:titlepage-before>
431 </t:titlepage>
432
433 <t:titlepage t:element="sect2" t:wrapper="div" class="titlepage">
434   <t:titlepage-content t:side="recto">
435     <title/>
436     <subtitle/>
437     <corpauthor/>
438     <authorgroup/>
439     <author/>
440     <othercredit/>
441     <releaseinfo/>
442     <copyright/>
443     <legalnotice/>
444     <pubdate/>
445     <revision/>
446     <revhistory/>
447     <abstract/>
448   </t:titlepage-content>
449
450   <t:titlepage-content t:side="verso">
451   </t:titlepage-content>
452
453   <t:titlepage-separator>
454     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
455   </t:titlepage-separator>
456
457   <t:titlepage-before t:side="recto">
458   </t:titlepage-before>
459
460   <t:titlepage-before t:side="verso">
461   </t:titlepage-before>
462 </t:titlepage>
463
464 <t:titlepage t:element="sect3" t:wrapper="div" class="titlepage">
465   <t:titlepage-content t:side="recto">
466     <title/>
467     <subtitle/>
468     <corpauthor/>
469     <authorgroup/>
470     <author/>
471     <othercredit/>
472     <releaseinfo/>
473     <copyright/>
474     <legalnotice/>
475     <pubdate/>
476     <revision/>
477     <revhistory/>
478     <abstract/>
479   </t:titlepage-content>
480
481   <t:titlepage-content t:side="verso">
482   </t:titlepage-content>
483
484   <t:titlepage-separator>
485     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
486   </t:titlepage-separator>
487
488   <t:titlepage-before t:side="recto">
489   </t:titlepage-before>
490
491   <t:titlepage-before t:side="verso">
492   </t:titlepage-before>
493 </t:titlepage>
494
495 <t:titlepage t:element="sect4" t:wrapper="div" class="titlepage">
496   <t:titlepage-content t:side="recto">
497     <title/>
498     <subtitle/>
499     <corpauthor/>
500     <authorgroup/>
501     <author/>
502     <othercredit/>
503     <releaseinfo/>
504     <copyright/>
505     <legalnotice/>
506     <pubdate/>
507     <revision/>
508     <revhistory/>
509     <abstract/>
510   </t:titlepage-content>
511
512   <t:titlepage-content t:side="verso">
513   </t:titlepage-content>
514
515   <t:titlepage-separator>
516     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
517   </t:titlepage-separator>
518
519   <t:titlepage-before t:side="recto">
520   </t:titlepage-before>
521
522   <t:titlepage-before t:side="verso">
523   </t:titlepage-before>
524 </t:titlepage>
525
526 <t:titlepage t:element="sect5" t:wrapper="div" class="titlepage">
527   <t:titlepage-content t:side="recto">
528     <title/>
529     <subtitle/>
530     <corpauthor/>
531     <authorgroup/>
532     <author/>
533     <othercredit/>
534     <releaseinfo/>
535     <copyright/>
536     <legalnotice/>
537     <pubdate/>
538     <revision/>
539     <revhistory/>
540     <abstract/>
541   </t:titlepage-content>
542
543   <t:titlepage-content t:side="verso">
544   </t:titlepage-content>
545
546   <t:titlepage-separator>
547     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
548   </t:titlepage-separator>
549
550   <t:titlepage-before t:side="recto">
551   </t:titlepage-before>
552
553   <t:titlepage-before t:side="verso">
554   </t:titlepage-before>
555 </t:titlepage>
556
557 <t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage">
558   <t:titlepage-content t:side="recto">
559     <title/>
560     <subtitle/>
561     <corpauthor/>
562     <authorgroup/>
563     <author/>
564     <othercredit/>
565     <releaseinfo/>
566     <copyright/>
567     <legalnotice/>
568     <pubdate/>
569     <revision/>
570     <revhistory/>
571     <abstract/>
572   </t:titlepage-content>
573
574   <t:titlepage-content t:side="verso">
575   </t:titlepage-content>
576
577   <t:titlepage-separator>
578     <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
579   </t:titlepage-separator>
580
581   <t:titlepage-before t:side="recto">
582   </t:titlepage-before>
583
584   <t:titlepage-before t:side="verso">
585   </t:titlepage-before>
586 </t:titlepage>
587
588 <!-- ==================================================================== -->
589
590 <t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage">
591   <t:titlepage-content t:side="recto">
592     <title
593            t:force="1"
594            t:named-template="component.title"
595            param:node="ancestor-or-self::bibliography[1]"/>
596     <subtitle/>
597   </t:titlepage-content>
598
599   <t:titlepage-content t:side="verso">
600   </t:titlepage-content>
601
602   <t:titlepage-separator>
603   </t:titlepage-separator>
604
605   <t:titlepage-before t:side="recto">
606   </t:titlepage-before>
607
608   <t:titlepage-before t:side="verso">
609   </t:titlepage-before>
610 </t:titlepage>
611
612 <!-- ==================================================================== -->
613
614 <t:titlepage t:element="glossary" t:wrapper="div" class="titlepage">
615   <t:titlepage-content t:side="recto">
616     <title
617            t:force="1"
618            t:named-template="component.title"
619            param:node="ancestor-or-self::glossary[1]"/>
620     <subtitle/>
621   </t:titlepage-content>
622
623   <t:titlepage-content t:side="verso">
624   </t:titlepage-content>
625
626   <t:titlepage-separator>
627   </t:titlepage-separator>
628
629   <t:titlepage-before t:side="recto">
630   </t:titlepage-before>
631
632   <t:titlepage-before t:side="verso">
633   </t:titlepage-before>
634 </t:titlepage>
635
636 <!-- ==================================================================== -->
637
638 <t:titlepage t:element="index" t:wrapper="div" class="titlepage">
639   <t:titlepage-content t:side="recto">
640     <title
641            t:force="1"
642            t:named-template="component.title"
643            param:node="ancestor-or-self::index[1]"/>
644     <subtitle/>
645   </t:titlepage-content>
646
647   <t:titlepage-content t:side="verso">
648   </t:titlepage-content>
649
650   <t:titlepage-separator>
651   </t:titlepage-separator>
652
653   <t:titlepage-before t:side="recto">
654   </t:titlepage-before>
655
656   <t:titlepage-before t:side="verso">
657   </t:titlepage-before>
658 </t:titlepage>
659
660 <!-- ==================================================================== -->
661
662 <t:titlepage t:element="setindex" t:wrapper="div" class="titlepage">
663   <t:titlepage-content t:side="recto">
664     <title
665            t:force="1"
666            t:named-template="component.title"
667            param:node="ancestor-or-self::setindex[1]"/>
668     <subtitle/>
669   </t:titlepage-content>
670
671   <t:titlepage-content t:side="verso">
672   </t:titlepage-content>
673
674   <t:titlepage-separator>
675   </t:titlepage-separator>
676
677   <t:titlepage-before t:side="recto">
678   </t:titlepage-before>
679
680   <t:titlepage-before t:side="verso">
681   </t:titlepage-before>
682 </t:titlepage>
683
684 <!-- ==================================================================== -->
685 <t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage">
686   <t:titlepage-content t:side="recto">
687     <title
688            t:named-template="formal.object.heading"
689            param:object="ancestor-or-self::sidebar[1]"/>
690     <subtitle/>
691   </t:titlepage-content>
692
693   <t:titlepage-content t:side="verso">
694   </t:titlepage-content>
695
696   <t:titlepage-separator>
697   </t:titlepage-separator>
698
699   <t:titlepage-before t:side="recto">
700   </t:titlepage-before>
701
702   <t:titlepage-before t:side="verso">
703   </t:titlepage-before>
704 </t:titlepage>
705
706 <!-- ==================================================================== -->
707
708 </t:templates>