- Timestamp:
- 10/08/2013 08:03:29 PM (11 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 58675ce
- Parents:
- 09a35dd
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/titlepage.xsl
r09a35dd r15c7d39 5 5 6 6 <!-- ******************************************************************** 7 $Id $7 $Id: titlepage.xsl 9286 2012-04-19 10:10:58Z bobstayton $ 8 8 ******************************************************************** 9 9 … … 50 50 <xsl:attribute-set name="dedication.titlepage.verso.style"/> 51 51 52 <xsl:attribute-set name="acknowledgements.titlepage.recto.style"/> 53 <xsl:attribute-set name="acknowledgements.titlepage.verso.style"/> 54 52 55 <xsl:attribute-set name="preface.titlepage.recto.style"/> 53 56 <xsl:attribute-set name="preface.titlepage.verso.style"/> … … 128 131 use-attribute-sets="section.titlepage.verso.style"/> 129 132 133 <xsl:attribute-set name="topic.titlepage.recto.style"/> 134 <xsl:attribute-set name="topic.titlepage.verso.style"/> 135 130 136 <xsl:attribute-set name="refnamediv.titlepage.recto.style" 131 137 use-attribute-sets="section.titlepage.recto.style"/> … … 178 184 <xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> 179 185 <xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> 186 187 <xsl:attribute-set name="component.list.of.tables.titlepage.recto.style"/> 188 <xsl:attribute-set name="component.list.of.tables.contents.titlepage.verso.style"/> 189 190 <xsl:attribute-set name="component.list.of.figures.titlepage.recto.style"/> 191 <xsl:attribute-set name="component.list.of.figures.contents.titlepage.verso.style"/> 192 193 <xsl:attribute-set name="component.list.of.equations.titlepage.recto.style"/> 194 <xsl:attribute-set name="component.list.of.equations.contents.titlepage.verso.style"/> 195 196 <xsl:attribute-set name="component.list.of.examples.titlepage.recto.style"/> 197 <xsl:attribute-set name="component.list.of.examples.contents.titlepage.verso.style"/> 198 199 <xsl:attribute-set name="component.list.of.procedures.titlepage.recto.style"/> 200 <xsl:attribute-set name="component.list.of.procedures.contents.titlepage.verso.style"/> 201 202 <xsl:attribute-set name="component.list.of.unknowns.titlepage.recto.style"/> 203 <xsl:attribute-set name="component.list.of.unknowns.contents.titlepage.verso.style"/> 180 204 181 205 <!-- ==================================================================== --> … … 191 215 192 216 <xsl:template match="abstract" mode="titlepage.mode"> 193 <fo:block> 194 <xsl:call-template name="formal.object.heading"> 195 <xsl:with-param name="title"> 196 <xsl:apply-templates select="." mode="title.markup"/> 197 </xsl:with-param> 198 </xsl:call-template> 199 <xsl:apply-templates mode="titlepage.mode"/> 217 <fo:block xsl:use-attribute-sets="abstract.properties"> 218 <fo:block xsl:use-attribute-sets="abstract.title.properties"> 219 <xsl:choose> 220 <xsl:when test="title|info/title"> 221 <xsl:apply-templates select="title|info/title"/> 222 </xsl:when> 223 <xsl:otherwise> 224 <xsl:call-template name="gentext"> 225 <xsl:with-param name="key" select="'Abstract'"/> 226 </xsl:call-template> 227 </xsl:otherwise> 228 </xsl:choose> 229 </fo:block> 230 <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/> 200 231 </fo:block> 201 232 </xsl:template> … … 225 256 <fo:block> 226 257 <xsl:call-template name="anchor"/> 227 <xsl:call-template name="person.name"/> 228 <xsl:if test="affiliation/orgname"> 229 <xsl:text>, </xsl:text> 230 <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/> 231 </xsl:if> 232 <xsl:if test="email|affiliation/address/email"> 233 <xsl:text> </xsl:text> 234 <xsl:apply-templates select="(email|affiliation/address/email)[1]"/> 235 </xsl:if> 258 <xsl:choose> 259 <xsl:when test="orgname"> 260 <xsl:apply-templates/> 261 </xsl:when> 262 <xsl:otherwise> 263 <xsl:call-template name="person.name"/> 264 <xsl:if test="affiliation/orgname"> 265 <xsl:text>, </xsl:text> 266 <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/> 267 </xsl:if> 268 <xsl:if test="email|affiliation/address/email"> 269 <xsl:text> </xsl:text> 270 <xsl:apply-templates select="(email|affiliation/address/email)[1]"/> 271 </xsl:if> 272 </xsl:otherwise> 273 </xsl:choose> 236 274 </fo:block> 237 275 </xsl:template> … … 261 299 262 300 <xsl:template match="collab" mode="titlepage.mode"> 301 <xsl:apply-templates mode="titlepage.mode"/> 302 </xsl:template> 303 304 <xsl:template match="collabname" mode="titlepage.mode"> 263 305 <xsl:apply-templates mode="titlepage.mode"/> 264 306 </xsl:template> … … 323 365 <xsl:template match="holder" mode="titlepage.mode"> 324 366 <xsl:apply-templates/> 367 <xsl:if test="position() < last()"> 368 <xsl:text>, </xsl:text> 369 </xsl:if> 325 370 </xsl:template> 326 371 … … 388 433 389 434 <xsl:template match="itermset" mode="titlepage.mode"> 390 < !-- discard -->435 <xsl:apply-templates select="indexterm"/> 391 436 </xsl:template> 392 437 … … 532 577 </xsl:variable> 533 578 534 579 <fo:table table-layout="fixed" width="{$table.width}" xsl:use-attribute-sets="revhistory.table.properties"> 535 580 <fo:table-column column-number="1" column-width="proportional-column-width(1)"/> 536 581 <fo:table-column column-number="2" column-width="proportional-column-width(1)"/> … … 540 585 <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties"> 541 586 <fo:block xsl:use-attribute-sets="revhistory.title.properties"> 542 <xsl:call-template name="gentext"> 543 <xsl:with-param name="key" select="'RevHistory'"/> 544 </xsl:call-template> 545 </fo:block> 587 <xsl:choose> 588 <xsl:when test="title|info/title"> 589 <xsl:apply-templates select="title|info/title" mode="titlepage.mode"/> 590 </xsl:when> 591 <xsl:otherwise> 592 <xsl:call-template name="gentext"> 593 <xsl:with-param name="key" select="'RevHistory'"/> 594 </xsl:call-template> 595 </xsl:otherwise> 596 </xsl:choose> 597 </fo:block> 546 598 </fo:table-cell> 547 599 </fo:table-row> 548 <xsl:apply-templates mode="titlepage.mode"/>600 <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/> 549 601 </fo:table-body> 550 602 </fo:table> 551 </xsl:template> 603 604 </xsl:template> 605 552 606 553 607 <xsl:template match="revhistory/revision" mode="titlepage.mode"> … … 660 714 <!-- book recto --> 661 715 662 <xsl:template match="bookinfo/authorgroup| info/authorgroup"716 <xsl:template match="bookinfo/authorgroup|book/info/authorgroup" 663 717 mode="titlepage.mode" priority="2"> 664 718 <fo:block> … … 709 763 </xsl:template> 710 764 711 <xsl:template match="bookinfo/author| info/author"765 <xsl:template match="bookinfo/author|book/info/author" 712 766 mode="titlepage.mode" priority="2"> 713 767 <fo:block> … … 716 770 </xsl:template> 717 771 718 <xsl:template match="bookinfo/corpauthor| info/corpauthor"772 <xsl:template match="bookinfo/corpauthor|book/info/corpauthor" 719 773 mode="titlepage.mode" priority="2"> 720 774 <fo:block> … … 723 777 </xsl:template> 724 778 725 <xsl:template match="bookinfo/pubdate| info/pubdate"779 <xsl:template match="bookinfo/pubdate|book/info/pubdate" 726 780 mode="titlepage.mode" priority="2"> 727 781 <fo:block> 728 782 <xsl:call-template name="gentext"> 729 <xsl:with-param name="key" select="'pub lished'"/>783 <xsl:with-param name="key" select="'pubdate'"/> 730 784 </xsl:call-template> 731 785 <xsl:text> </xsl:text>
Note:
See TracChangeset
for help on using the changeset viewer.