2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
6 <!-- ********************************************************************
7 $Id: titlepage.xsl 8346 2009-03-16 07:09:41Z bobstayton $
8 ********************************************************************
10 This file is part of the XSL DocBook Stylesheet distribution.
11 See ../README or http://docbook.sf.net/release/xsl/current/ for
12 copyright and other information.
14 ******************************************************************** -->
16 <!-- ==================================================================== -->
18 <xsl:attribute-set name="book.titlepage.recto.style">
19 <xsl:attribute name="font-family">
20 <xsl:value-of select="$title.fontset"/>
22 <xsl:attribute name="font-weight">bold</xsl:attribute>
23 <xsl:attribute name="font-size">12pt</xsl:attribute>
24 <xsl:attribute name="text-align">center</xsl:attribute>
27 <xsl:attribute-set name="book.titlepage.verso.style">
28 <xsl:attribute name="font-size">10pt</xsl:attribute>
31 <xsl:attribute-set name="article.titlepage.recto.style"/>
32 <xsl:attribute-set name="article.titlepage.verso.style"/>
34 <xsl:attribute-set name="set.titlepage.recto.style"/>
35 <xsl:attribute-set name="set.titlepage.verso.style"/>
37 <xsl:attribute-set name="part.titlepage.recto.style">
38 <xsl:attribute name="text-align">center</xsl:attribute>
41 <xsl:attribute-set name="part.titlepage.verso.style"/>
43 <xsl:attribute-set name="partintro.titlepage.recto.style"/>
44 <xsl:attribute-set name="partintro.titlepage.verso.style"/>
46 <xsl:attribute-set name="reference.titlepage.recto.style"/>
47 <xsl:attribute-set name="reference.titlepage.verso.style"/>
49 <xsl:attribute-set name="dedication.titlepage.recto.style"/>
50 <xsl:attribute-set name="dedication.titlepage.verso.style"/>
52 <xsl:attribute-set name="acknowledgements.titlepage.recto.style"/>
53 <xsl:attribute-set name="acknowledgements.titlepage.verso.style"/>
55 <xsl:attribute-set name="preface.titlepage.recto.style"/>
56 <xsl:attribute-set name="preface.titlepage.verso.style"/>
58 <xsl:attribute-set name="chapter.titlepage.recto.style"/>
59 <xsl:attribute-set name="chapter.titlepage.verso.style"/>
61 <xsl:attribute-set name="appendix.titlepage.recto.style"/>
62 <xsl:attribute-set name="appendix.titlepage.verso.style"/>
64 <xsl:attribute-set name="bibliography.titlepage.recto.style"/>
65 <xsl:attribute-set name="bibliography.titlepage.verso.style"/>
67 <xsl:attribute-set name="bibliodiv.titlepage.recto.style"/>
68 <xsl:attribute-set name="bibliodiv.titlepage.verso.style"/>
70 <xsl:attribute-set name="glossary.titlepage.recto.style"/>
71 <xsl:attribute-set name="glossary.titlepage.verso.style"/>
73 <xsl:attribute-set name="glossdiv.titlepage.recto.style"/>
74 <xsl:attribute-set name="glossdiv.titlepage.verso.style"/>
76 <xsl:attribute-set name="index.titlepage.recto.style"/>
77 <xsl:attribute-set name="index.titlepage.verso.style"/>
79 <xsl:attribute-set name="setindex.titlepage.recto.style"/>
80 <xsl:attribute-set name="setindex.titlepage.verso.style"/>
82 <xsl:attribute-set name="indexdiv.titlepage.recto.style"/>
83 <xsl:attribute-set name="indexdiv.titlepage.verso.style"/>
85 <xsl:attribute-set name="colophon.titlepage.recto.style"/>
86 <xsl:attribute-set name="colophon.titlepage.verso.style"/>
88 <xsl:attribute-set name="sidebar.titlepage.recto.style"/>
89 <xsl:attribute-set name="sidebar.titlepage.verso.style"/>
91 <xsl:attribute-set name="qandaset.titlepage.recto.style"/>
92 <xsl:attribute-set name="qandaset.titlepage.verso.style"/>
94 <xsl:attribute-set name="section.titlepage.recto.style">
95 <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
98 <xsl:attribute-set name="section.titlepage.verso.style">
99 <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
100 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
103 <xsl:attribute-set name="sect1.titlepage.recto.style"
104 use-attribute-sets="section.titlepage.recto.style"/>
105 <xsl:attribute-set name="sect1.titlepage.verso.style"
106 use-attribute-sets="section.titlepage.verso.style"/>
108 <xsl:attribute-set name="sect2.titlepage.recto.style"
109 use-attribute-sets="section.titlepage.recto.style"/>
110 <xsl:attribute-set name="sect2.titlepage.verso.style"
111 use-attribute-sets="section.titlepage.verso.style"/>
113 <xsl:attribute-set name="sect3.titlepage.recto.style"
114 use-attribute-sets="section.titlepage.recto.style"/>
115 <xsl:attribute-set name="sect3.titlepage.verso.style"
116 use-attribute-sets="section.titlepage.verso.style"/>
118 <xsl:attribute-set name="sect4.titlepage.recto.style"
119 use-attribute-sets="section.titlepage.recto.style"/>
120 <xsl:attribute-set name="sect4.titlepage.verso.style"
121 use-attribute-sets="section.titlepage.verso.style"/>
123 <xsl:attribute-set name="sect5.titlepage.recto.style"
124 use-attribute-sets="section.titlepage.recto.style"/>
125 <xsl:attribute-set name="sect5.titlepage.verso.style"
126 use-attribute-sets="section.titlepage.verso.style"/>
128 <xsl:attribute-set name="simplesect.titlepage.recto.style"
129 use-attribute-sets="section.titlepage.recto.style"/>
130 <xsl:attribute-set name="simplesect.titlepage.verso.style"
131 use-attribute-sets="section.titlepage.verso.style"/>
133 <xsl:attribute-set name="refnamediv.titlepage.recto.style"
134 use-attribute-sets="section.titlepage.recto.style"/>
135 <xsl:attribute-set name="refnamediv.titlepage.verso.style"
136 use-attribute-sets="section.titlepage.verso.style"/>
138 <xsl:attribute-set name="refsynopsisdiv.titlepage.recto.style"
139 use-attribute-sets="section.titlepage.recto.style"/>
140 <xsl:attribute-set name="refsynopsisdiv.titlepage.verso.style"
141 use-attribute-sets="section.titlepage.verso.style"/>
143 <xsl:attribute-set name="refsection.titlepage.recto.style"
144 use-attribute-sets="section.titlepage.recto.style"/>
145 <xsl:attribute-set name="refsection.titlepage.verso.style"
146 use-attribute-sets="section.titlepage.verso.style"/>
148 <xsl:attribute-set name="refsect1.titlepage.recto.style"
149 use-attribute-sets="section.titlepage.recto.style"/>
150 <xsl:attribute-set name="refsect1.titlepage.verso.style"
151 use-attribute-sets="section.titlepage.verso.style"/>
153 <xsl:attribute-set name="refsect2.titlepage.recto.style"
154 use-attribute-sets="section.titlepage.recto.style"/>
155 <xsl:attribute-set name="refsect2.titlepage.verso.style"
156 use-attribute-sets="section.titlepage.verso.style"/>
158 <xsl:attribute-set name="refsect3.titlepage.recto.style"
159 use-attribute-sets="section.titlepage.recto.style"/>
160 <xsl:attribute-set name="refsect3.titlepage.verso.style"
161 use-attribute-sets="section.titlepage.verso.style"/>
163 <xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
164 <xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
166 <xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
167 <xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
169 <xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
170 <xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
172 <xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
173 <xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
175 <xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
176 <xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
178 <xsl:attribute-set name="list.of.procedures.titlepage.recto.style"/>
179 <xsl:attribute-set name="list.of.procedures.contents.titlepage.verso.style"/>
181 <xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
182 <xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
184 <!-- ==================================================================== -->
186 <xsl:template match="*" mode="titlepage.mode">
187 <!-- if an element isn't found in this mode, try the default mode -->
188 <xsl:apply-templates select="."/>
191 <xsl:template match="abbrev" mode="titlepage.mode">
192 <xsl:apply-templates mode="titlepage.mode"/>
195 <xsl:template match="abstract" mode="titlepage.mode">
196 <fo:block xsl:use-attribute-sets="abstract.properties">
197 <fo:block xsl:use-attribute-sets="abstract.title.properties">
199 <xsl:when test="title|info/title">
200 <xsl:apply-templates select="title|info/title"/>
203 <xsl:call-template name="gentext">
204 <xsl:with-param name="key" select="'Abstract'"/>
209 <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/>
213 <xsl:template match="abstract/title" mode="titlepage.mode"/>
215 <xsl:template match="abstract/title" mode="titlepage.abstract.title.mode">
216 <xsl:apply-templates mode="titlepage.mode"/>
219 <xsl:template match="address" mode="titlepage.mode">
220 <!-- use the normal address handling code -->
221 <xsl:apply-templates select="."/>
224 <xsl:template match="affiliation" mode="titlepage.mode">
226 <xsl:apply-templates mode="titlepage.mode"/>
230 <xsl:template match="artpagenums" mode="titlepage.mode">
231 <xsl:apply-templates mode="titlepage.mode"/>
234 <xsl:template match="author" mode="titlepage.mode">
236 <xsl:call-template name="anchor"/>
237 <xsl:call-template name="person.name"/>
238 <xsl:if test="affiliation/orgname">
239 <xsl:text>, </xsl:text>
240 <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/>
242 <xsl:if test="email|affiliation/address/email">
243 <xsl:text> </xsl:text>
244 <xsl:apply-templates select="(email|affiliation/address/email)[1]"/>
249 <xsl:template match="authorblurb" mode="titlepage.mode">
250 <xsl:apply-templates mode="titlepage.mode"/>
253 <xsl:template match="authorgroup" mode="titlepage.mode">
255 <xsl:call-template name="anchor"/>
256 <xsl:apply-templates mode="titlepage.mode"/>
260 <xsl:template match="authorinitials" mode="titlepage.mode">
261 <xsl:apply-templates mode="titlepage.mode"/>
264 <xsl:template match="bibliomisc" mode="titlepage.mode">
265 <xsl:apply-templates mode="titlepage.mode"/>
268 <xsl:template match="bibliomset" mode="titlepage.mode">
269 <xsl:apply-templates mode="titlepage.mode"/>
272 <xsl:template match="collab" mode="titlepage.mode">
273 <xsl:apply-templates mode="titlepage.mode"/>
276 <xsl:template match="confgroup" mode="titlepage.mode">
278 <xsl:apply-templates mode="titlepage.mode"/>
282 <xsl:template match="confdates" mode="titlepage.mode">
284 <xsl:apply-templates mode="titlepage.mode"/>
288 <xsl:template match="conftitle" mode="titlepage.mode">
290 <xsl:apply-templates mode="titlepage.mode"/>
294 <xsl:template match="confnum" mode="titlepage.mode">
298 <xsl:template match="contractnum" mode="titlepage.mode">
299 <xsl:apply-templates mode="titlepage.mode"/>
302 <xsl:template match="contractsponsor" mode="titlepage.mode">
303 <xsl:apply-templates mode="titlepage.mode"/>
306 <xsl:template match="contrib" mode="titlepage.mode">
307 <xsl:apply-templates mode="titlepage.mode"/>
310 <xsl:template match="copyright" mode="titlepage.mode">
311 <xsl:call-template name="gentext">
312 <xsl:with-param name="key" select="'Copyright'"/>
314 <xsl:call-template name="gentext.space"/>
315 <xsl:call-template name="dingbat">
316 <xsl:with-param name="dingbat">copyright</xsl:with-param>
318 <xsl:call-template name="gentext.space"/>
319 <xsl:call-template name="copyright.years">
320 <xsl:with-param name="years" select="year"/>
321 <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
322 <xsl:with-param name="single.year.ranges"
323 select="$make.single.year.ranges"/>
325 <xsl:call-template name="gentext.space"/>
326 <xsl:apply-templates select="holder" mode="titlepage.mode"/>
329 <xsl:template match="year" mode="titlepage.mode">
330 <xsl:apply-templates/>
333 <xsl:template match="holder" mode="titlepage.mode">
334 <xsl:apply-templates/>
335 <xsl:if test="position() < last()">
336 <xsl:text>, </xsl:text>
340 <xsl:template match="corpauthor" mode="titlepage.mode">
341 <xsl:apply-templates mode="titlepage.mode"/>
344 <xsl:template match="corpcredit" mode="titlepage.mode">
345 <xsl:apply-templates mode="titlepage.mode"/>
348 <xsl:template match="corpname" mode="titlepage.mode">
349 <xsl:apply-templates mode="titlepage.mode"/>
352 <xsl:template match="date" mode="titlepage.mode">
353 <xsl:apply-templates mode="titlepage.mode"/>
356 <xsl:template match="edition" mode="titlepage.mode">
357 <xsl:apply-templates mode="titlepage.mode"/>
358 <xsl:call-template name="gentext.space"/>
359 <xsl:call-template name="gentext">
360 <xsl:with-param name="key" select="'Edition'"/>
364 <xsl:template match="editor" mode="titlepage.mode">
365 <!-- The first editor is dealt with in the following template,
366 which in turn displays all editors of the same mode. -->
369 <xsl:template match="editor[1]" priority="2" mode="titlepage.mode">
370 <xsl:call-template name="gentext.edited.by"/>
371 <xsl:call-template name="gentext.space"/>
372 <xsl:call-template name="person.name.list">
373 <xsl:with-param name="person.list" select="../editor"/>
377 <xsl:template match="firstname" mode="titlepage.mode">
378 <xsl:apply-templates mode="titlepage.mode"/>
381 <xsl:template match="graphic" mode="titlepage.mode">
382 <!-- use the normal graphic handling code -->
383 <xsl:apply-templates select="."/>
386 <xsl:template match="honorific" mode="titlepage.mode">
387 <xsl:apply-templates mode="titlepage.mode"/>
390 <xsl:template match="isbn" mode="titlepage.mode">
391 <xsl:apply-templates mode="titlepage.mode"/>
394 <xsl:template match="issn" mode="titlepage.mode">
395 <xsl:apply-templates mode="titlepage.mode"/>
398 <xsl:template match="biblioid" mode="titlepage.mode">
399 <xsl:apply-templates mode="titlepage.mode"/>
402 <xsl:template match="itermset" mode="titlepage.mode">
406 <xsl:template match="invpartnumber" mode="titlepage.mode">
407 <xsl:apply-templates mode="titlepage.mode"/>
410 <xsl:template match="issuenum" mode="titlepage.mode">
411 <xsl:apply-templates mode="titlepage.mode"/>
414 <xsl:template match="jobtitle" mode="titlepage.mode">
416 <xsl:apply-templates mode="titlepage.mode"/>
420 <xsl:template match="keywordset" mode="titlepage.mode">
423 <xsl:template match="legalnotice" mode="titlepage.mode">
425 <xsl:variable name="id">
426 <xsl:call-template name="object.id"/>
429 <fo:block id="{$id}">
430 <xsl:if test="title"> <!-- FIXME: add param for using default title? -->
431 <xsl:call-template name="formal.object.heading"/>
433 <xsl:apply-templates mode="titlepage.mode"/>
437 <xsl:template match="legalnotice/title" mode="titlepage.mode">
440 <xsl:template match="lineage" mode="titlepage.mode">
441 <xsl:apply-templates mode="titlepage.mode"/>
444 <xsl:template match="modespec" mode="titlepage.mode">
448 <xsl:template match="orgdiv" mode="titlepage.mode">
449 <xsl:if test="preceding-sibling::*[1][self::orgname]">
450 <xsl:text> </xsl:text>
452 <xsl:apply-templates mode="titlepage.mode"/>
455 <xsl:template match="orgname" mode="titlepage.mode">
456 <xsl:apply-templates mode="titlepage.mode"/>
459 <xsl:template match="othercredit" mode="titlepage.mode">
460 <xsl:variable name="contrib" select="string(contrib)"/>
462 <xsl:when test="contrib">
463 <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
465 <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
466 <xsl:text>: </xsl:text>
467 <xsl:call-template name="person.name"/>
468 <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
469 <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
474 <fo:block><xsl:call-template name="person.name"/></fo:block>
475 <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
480 <xsl:template match="othercredit" mode="titlepage.othercredits">
481 <xsl:text>, </xsl:text>
482 <xsl:call-template name="person.name"/>
485 <xsl:template match="othername" mode="titlepage.mode">
486 <xsl:apply-templates mode="titlepage.mode"/>
489 <xsl:template match="pagenums" mode="titlepage.mode">
490 <xsl:apply-templates mode="titlepage.mode"/>
493 <xsl:template match="printhistory" mode="titlepage.mode">
494 <xsl:apply-templates mode="titlepage.mode"/>
497 <xsl:template match="productname" mode="titlepage.mode">
498 <xsl:apply-templates mode="titlepage.mode"/>
501 <xsl:template match="productnumber" mode="titlepage.mode">
502 <xsl:apply-templates mode="titlepage.mode"/>
505 <xsl:template match="pubdate" mode="titlepage.mode">
506 <xsl:apply-templates mode="titlepage.mode"/>
509 <xsl:template match="publisher" mode="titlepage.mode">
511 <xsl:apply-templates mode="titlepage.mode"/>
515 <xsl:template match="publishername" mode="titlepage.mode">
516 <xsl:apply-templates mode="titlepage.mode"/>
519 <xsl:template match="pubsnumber" mode="titlepage.mode">
520 <xsl:apply-templates mode="titlepage.mode"/>
523 <xsl:template match="releaseinfo" mode="titlepage.mode">
524 <xsl:apply-templates mode="titlepage.mode"/>
527 <xsl:template match="revhistory" mode="titlepage.mode">
529 <xsl:variable name="explicit.table.width">
530 <xsl:call-template name="pi.dbfo_table-width"/>
533 <xsl:variable name="table.width">
535 <xsl:when test="$explicit.table.width != ''">
536 <xsl:value-of select="$explicit.table.width"/>
538 <xsl:when test="$default.table.width = ''">
539 <xsl:text>100%</xsl:text>
542 <xsl:value-of select="$default.table.width"/>
547 <fo:table table-layout="fixed" width="{$table.width}" xsl:use-attribute-sets="revhistory.table.properties">
548 <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
549 <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
550 <fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
551 <fo:table-body start-indent="0pt" end-indent="0pt">
553 <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
554 <fo:block xsl:use-attribute-sets="revhistory.title.properties">
556 <xsl:when test="title|info/title">
557 <xsl:apply-templates select="title|info/title" mode="titlepage.mode"/>
560 <xsl:call-template name="gentext">
561 <xsl:with-param name="key" select="'RevHistory'"/>
568 <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/>
575 <xsl:template match="revhistory/revision" mode="titlepage.mode">
576 <xsl:variable name="revnumber" select="revnumber"/>
577 <xsl:variable name="revdate" select="date"/>
578 <xsl:variable name="revauthor" select="authorinitials|author"/>
579 <xsl:variable name="revremark" select="revremark|revdescription"/>
581 <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
583 <xsl:if test="$revnumber">
584 <xsl:call-template name="gentext">
585 <xsl:with-param name="key" select="'Revision'"/>
587 <xsl:call-template name="gentext.space"/>
588 <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
592 <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
594 <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
597 <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
599 <xsl:for-each select="$revauthor">
600 <xsl:apply-templates select="." mode="titlepage.mode"/>
601 <xsl:if test="position() != last()">
602 <xsl:text>, </xsl:text>
608 <xsl:if test="$revremark">
610 <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
612 <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
619 <xsl:template match="revision/revnumber" mode="titlepage.mode">
620 <xsl:apply-templates mode="titlepage.mode"/>
623 <xsl:template match="revision/date" mode="titlepage.mode">
624 <xsl:apply-templates mode="titlepage.mode"/>
627 <xsl:template match="revision/authorinitials" mode="titlepage.mode">
628 <xsl:apply-templates mode="titlepage.mode"/>
631 <xsl:template match="revision/author" mode="titlepage.mode">
632 <xsl:apply-templates mode="titlepage.mode"/>
635 <xsl:template match="revision/revremark" mode="titlepage.mode">
636 <xsl:apply-templates mode="titlepage.mode"/>
639 <xsl:template match="revision/revdescription" mode="titlepage.mode">
640 <xsl:apply-templates mode="titlepage.mode"/>
643 <xsl:template match="seriesvolnums" mode="titlepage.mode">
644 <xsl:apply-templates mode="titlepage.mode"/>
647 <xsl:template match="shortaffil" mode="titlepage.mode">
648 <xsl:apply-templates mode="titlepage.mode"/>
651 <xsl:template match="subjectset" mode="titlepage.mode">
655 <xsl:template match="subtitle" mode="titlepage.mode">
656 <xsl:apply-templates mode="titlepage.mode"/>
659 <xsl:template match="surname" mode="titlepage.mode">
660 <xsl:apply-templates mode="titlepage.mode"/>
663 <xsl:template match="title" mode="titlepage.mode">
664 <xsl:apply-templates mode="titlepage.mode"/>
667 <xsl:template match="titleabbrev" mode="titlepage.mode">
668 <xsl:apply-templates mode="titlepage.mode"/>
671 <xsl:template match="volumenum" mode="titlepage.mode">
672 <xsl:apply-templates mode="titlepage.mode"/>
675 <!-- ==================================================================== -->
676 <!-- Book templates -->
678 <!-- Note: these templates cannot use *.titlepage.recto.mode or
679 *.titlepage.verso.mode. If they do then subsequent use of a custom
680 titlepage.templates.xml file will not work correctly. -->
684 <xsl:template match="bookinfo/authorgroup|book/info/authorgroup"
685 mode="titlepage.mode" priority="2">
687 <xsl:call-template name="anchor"/>
688 <xsl:apply-templates mode="titlepage.mode"/>
694 <xsl:template name="book.verso.title">
696 <xsl:apply-templates mode="titlepage.mode"/>
698 <xsl:if test="following-sibling::subtitle
699 |following-sibling::info/subtitle
700 |following-sibling::bookinfo/subtitle">
701 <xsl:text>: </xsl:text>
703 <xsl:apply-templates select="(following-sibling::subtitle
704 |following-sibling::info/subtitle
705 |following-sibling::bookinfo/subtitle)[1]"
706 mode="book.verso.subtitle.mode"/>
711 <xsl:template match="subtitle" mode="book.verso.subtitle.mode">
712 <xsl:apply-templates mode="titlepage.mode"/>
713 <xsl:if test="following-sibling::subtitle">
714 <xsl:text>: </xsl:text>
715 <xsl:apply-templates select="following-sibling::subtitle[1]"
716 mode="book.verso.subtitle.mode"/>
720 <xsl:template name="verso.authorgroup">
722 <xsl:call-template name="gentext">
723 <xsl:with-param name="key" select="'by'"/>
725 <xsl:text> </xsl:text>
726 <xsl:call-template name="person.name.list">
727 <xsl:with-param name="person.list" select="author|corpauthor|editor"/>
730 <xsl:apply-templates select="othercredit" mode="titlepage.mode"/>
733 <xsl:template match="bookinfo/author|book/info/author"
734 mode="titlepage.mode" priority="2">
736 <xsl:call-template name="person.name"/>
740 <xsl:template match="bookinfo/corpauthor|book/info/corpauthor"
741 mode="titlepage.mode" priority="2">
743 <xsl:apply-templates/>
747 <xsl:template match="bookinfo/pubdate|book/info/pubdate"
748 mode="titlepage.mode" priority="2">
750 <xsl:call-template name="gentext">
751 <xsl:with-param name="key" select="'pubdate'"/>
753 <xsl:text> </xsl:text>
754 <xsl:apply-templates mode="titlepage.mode"/>
758 <!-- ==================================================================== -->