Ignore:
Timestamp:
12/10/2013 11:37:38 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/titlepage.templates.xsl

    rf2a5108 rb1a51ac1  
    6969  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
    7070  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
     71  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/itermset"/>
     72  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/itermset"/>
     73  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/itermset"/>
    7174</xsl:template>
    7275
     
    207210<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
    208211<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}">
     212<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
     213</fo:block>
     214</xsl:template>
     215
     216<xsl:template match="itermset" mode="article.titlepage.recto.auto.mode">
     217<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style">
    209218<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
    210219</fo:block>
     
    258267  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
    259268  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
     269  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/itermset"/>
     270  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/itermset"/>
    260271</xsl:template>
    261272
     
    395406
    396407<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
     408<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
     409<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
     410</fo:block>
     411</xsl:template>
     412
     413<xsl:template match="itermset" mode="set.titlepage.recto.auto.mode">
    397414<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
    398415<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
     
    431448  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
    432449  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
     450  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/itermset"/>
     451  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/itermset"/>
    433452</xsl:template>
    434453
     
    555574</xsl:template>
    556575
     576<xsl:template match="itermset" mode="book.titlepage.recto.auto.mode">
     577<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style">
     578<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
     579</fo:block>
     580</xsl:template>
     581
    557582<xsl:template match="title" mode="book.titlepage.verso.auto.mode">
    558583<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}">
     
    648673  </xsl:choose>
    649674
     675  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/itermset"/>
     676  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     677  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/itermset"/>
    650678</xsl:template>
    651679
     
    720748<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
    721749<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}">
     750<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
     751</fo:block>
     752</xsl:template>
     753
     754<xsl:template match="itermset" mode="part.titlepage.recto.auto.mode">
     755<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style">
    722756<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
    723757</fo:block>
     
    788822  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    789823  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
     824  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/itermset"/>
     825  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     826  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/itermset"/>
    790827</xsl:template>
    791828
     
    923960
    924961<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
     962<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
     963<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
     964</fo:block>
     965</xsl:template>
     966
     967<xsl:template match="itermset" mode="partintro.titlepage.recto.auto.mode">
    925968<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
    926969<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
     
    9921035  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    9931036  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
     1037  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/itermset"/>
     1038  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1039  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/itermset"/>
    9941040</xsl:template>
    9951041
     
    11341180</xsl:template>
    11351181
     1182<xsl:template match="itermset" mode="reference.titlepage.recto.auto.mode">
     1183<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
     1184<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
     1185</fo:block>
     1186</xsl:template>
     1187
    11361188<xsl:template name="refsynopsisdiv.titlepage.recto">
    11371189  <xsl:choose>
     
    11501202  </xsl:choose>
    11511203
     1204  <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/itermset"/>
     1205  <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1206  <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/itermset"/>
    11521207</xsl:template>
    11531208
     
    12181273</xsl:template>
    12191274
     1275<xsl:template match="itermset" mode="refsynopsisdiv.titlepage.recto.auto.mode">
     1276<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style">
     1277<xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
     1278</fo:block>
     1279</xsl:template>
     1280
    12201281<xsl:template name="refsection.titlepage.recto">
    12211282  <xsl:choose>
     
    12341295  </xsl:choose>
    12351296
     1297  <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/itermset"/>
     1298  <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1299  <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/itermset"/>
    12361300</xsl:template>
    12371301
     
    13021366</xsl:template>
    13031367
     1368<xsl:template match="itermset" mode="refsection.titlepage.recto.auto.mode">
     1369<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style">
     1370<xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
     1371</fo:block>
     1372</xsl:template>
     1373
    13041374<xsl:template name="refsect1.titlepage.recto">
    13051375  <xsl:choose>
     
    13181388  </xsl:choose>
    13191389
     1390  <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/itermset"/>
     1391  <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1392  <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/itermset"/>
    13201393</xsl:template>
    13211394
     
    13861459</xsl:template>
    13871460
     1461<xsl:template match="itermset" mode="refsect1.titlepage.recto.auto.mode">
     1462<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style">
     1463<xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
     1464</fo:block>
     1465</xsl:template>
     1466
    13881467<xsl:template name="refsect2.titlepage.recto">
    13891468  <xsl:choose>
     
    14021481  </xsl:choose>
    14031482
     1483  <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/itermset"/>
     1484  <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1485  <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/itermset"/>
    14041486</xsl:template>
    14051487
     
    14701552</xsl:template>
    14711553
     1554<xsl:template match="itermset" mode="refsect2.titlepage.recto.auto.mode">
     1555<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style">
     1556<xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
     1557</fo:block>
     1558</xsl:template>
     1559
    14721560<xsl:template name="refsect3.titlepage.recto">
    14731561  <xsl:choose>
     
    14861574  </xsl:choose>
    14871575
     1576  <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/itermset"/>
     1577  <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1578  <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/itermset"/>
    14881579</xsl:template>
    14891580
     
    15501641<xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode">
    15511642<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
     1643<xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
     1644</fo:block>
     1645</xsl:template>
     1646
     1647<xsl:template match="itermset" mode="refsect3.titlepage.recto.auto.mode">
     1648<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style">
    15521649<xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
    15531650</fo:block>
     
    15741671  </xsl:choose>
    15751672
     1673  <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/itermset"/>
     1674  <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1675  <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/itermset"/>
    15761676</xsl:template>
    15771677
     
    16391739<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
    16401740<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
     1741</fo:block>
     1742</xsl:template>
     1743
     1744<xsl:template match="itermset" mode="dedication.titlepage.recto.auto.mode">
     1745<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style">
     1746<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
     1747</fo:block>
     1748</xsl:template>
     1749
     1750<xsl:template name="acknowledgements.titlepage.recto">
     1751  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
     1752<xsl:call-template name="component.title">
     1753<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/>
     1754</xsl:call-template></fo:block>
     1755  <xsl:choose>
     1756    <xsl:when test="acknowledgementsinfo/subtitle">
     1757      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/>
     1758    </xsl:when>
     1759    <xsl:when test="docinfo/subtitle">
     1760      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
     1761    </xsl:when>
     1762    <xsl:when test="info/subtitle">
     1763      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/>
     1764    </xsl:when>
     1765    <xsl:when test="subtitle">
     1766      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/>
     1767    </xsl:when>
     1768  </xsl:choose>
     1769
     1770  <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/itermset"/>
     1771  <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1772  <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/itermset"/>
     1773</xsl:template>
     1774
     1775<xsl:template name="acknowledgements.titlepage.verso">
     1776</xsl:template>
     1777
     1778<xsl:template name="acknowledgements.titlepage.separator">
     1779</xsl:template>
     1780
     1781<xsl:template name="acknowledgements.titlepage.before.recto">
     1782</xsl:template>
     1783
     1784<xsl:template name="acknowledgements.titlepage.before.verso">
     1785</xsl:template>
     1786
     1787<xsl:template name="acknowledgements.titlepage">
     1788  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     1789    <xsl:variable name="recto.content">
     1790      <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
     1791      <xsl:call-template name="acknowledgements.titlepage.recto"/>
     1792    </xsl:variable>
     1793    <xsl:variable name="recto.elements.count">
     1794      <xsl:choose>
     1795        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1796        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1797          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1798        <xsl:otherwise>1</xsl:otherwise>
     1799      </xsl:choose>
     1800    </xsl:variable>
     1801    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     1802      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     1803    </xsl:if>
     1804    <xsl:variable name="verso.content">
     1805      <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
     1806      <xsl:call-template name="acknowledgements.titlepage.verso"/>
     1807    </xsl:variable>
     1808    <xsl:variable name="verso.elements.count">
     1809      <xsl:choose>
     1810        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1811        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1812          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1813        <xsl:otherwise>1</xsl:otherwise>
     1814      </xsl:choose>
     1815    </xsl:variable>
     1816    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     1817      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     1818    </xsl:if>
     1819    <xsl:call-template name="acknowledgements.titlepage.separator"/>
     1820  </fo:block>
     1821</xsl:template>
     1822
     1823<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
     1824  <!-- if an element isn't found in this mode, -->
     1825  <!-- try the generic titlepage.mode -->
     1826  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1827</xsl:template>
     1828
     1829<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
     1830  <!-- if an element isn't found in this mode, -->
     1831  <!-- try the generic titlepage.mode -->
     1832  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1833</xsl:template>
     1834
     1835<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
     1836<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}">
     1837<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
     1838</fo:block>
     1839</xsl:template>
     1840
     1841<xsl:template match="itermset" mode="acknowledgements.titlepage.recto.auto.mode">
     1842<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
     1843<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
    16411844</fo:block>
    16421845</xsl:template>
     
    16951898  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    16961899  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
     1900  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/itermset"/>
     1901  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     1902  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/itermset"/>
    16971903</xsl:template>
    16981904
     
    18242030
    18252031<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
     2032<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
     2033<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
     2034</fo:block>
     2035</xsl:template>
     2036
     2037<xsl:template match="itermset" mode="preface.titlepage.recto.auto.mode">
    18262038<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
    18272039<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
     
    18932105  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    18942106  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
     2107  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/itermset"/>
     2108  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     2109  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/itermset"/>
    18952110</xsl:template>
    18962111
     
    20302245
    20312246<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
     2247<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
     2248<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
     2249</fo:block>
     2250</xsl:template>
     2251
     2252<xsl:template match="itermset" mode="chapter.titlepage.recto.auto.mode">
    20322253<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
    20332254<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
     
    20992320  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    21002321  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
     2322  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/itermset"/>
     2323  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     2324  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/itermset"/>
    21012325</xsl:template>
    21022326
     
    22362460
    22372461<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
     2462<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
     2463<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
     2464</fo:block>
     2465</xsl:template>
     2466
     2467<xsl:template match="itermset" mode="appendix.titlepage.recto.auto.mode">
    22382468<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
    22392469<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
     
    22882518  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
    22892519  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
     2520  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/itermset"/>
     2521  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/itermset"/>
    22902522</xsl:template>
    22912523
     
    24232655
    24242656<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
     2657<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
     2658<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
     2659</fo:block>
     2660</xsl:template>
     2661
     2662<xsl:template match="itermset" mode="section.titlepage.recto.auto.mode">
    24252663<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
    24262664<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
     
    24752713  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
    24762714  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
     2715  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/itermset"/>
     2716  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/itermset"/>
    24772717</xsl:template>
    24782718
     
    26102850
    26112851<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
     2852<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
     2853<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
     2854</fo:block>
     2855</xsl:template>
     2856
     2857<xsl:template match="itermset" mode="sect1.titlepage.recto.auto.mode">
    26122858<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
    26132859<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
     
    26622908  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
    26632909  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
     2910  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/itermset"/>
     2911  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/itermset"/>
    26642912</xsl:template>
    26652913
     
    27973045
    27983046<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
     3047<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
     3048<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
     3049</fo:block>
     3050</xsl:template>
     3051
     3052<xsl:template match="itermset" mode="sect2.titlepage.recto.auto.mode">
    27993053<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
    28003054<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
     
    28493103  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
    28503104  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
     3105  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/itermset"/>
     3106  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/itermset"/>
    28513107</xsl:template>
    28523108
     
    29843240
    29853241<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
     3242<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
     3243<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
     3244</fo:block>
     3245</xsl:template>
     3246
     3247<xsl:template match="itermset" mode="sect3.titlepage.recto.auto.mode">
    29863248<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
    29873249<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
     
    30363298  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
    30373299  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
     3300  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/itermset"/>
     3301  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/itermset"/>
    30383302</xsl:template>
    30393303
     
    31713435
    31723436<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
     3437<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
     3438<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
     3439</fo:block>
     3440</xsl:template>
     3441
     3442<xsl:template match="itermset" mode="sect4.titlepage.recto.auto.mode">
    31733443<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
    31743444<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
     
    32233493  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
    32243494  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
     3495  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/itermset"/>
     3496  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/itermset"/>
    32253497</xsl:template>
    32263498
     
    33583630
    33593631<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
     3632<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
     3633<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
     3634</fo:block>
     3635</xsl:template>
     3636
     3637<xsl:template match="itermset" mode="sect5.titlepage.recto.auto.mode">
    33603638<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
    33613639<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
     
    34273705  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    34283706  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
     3707  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/itermset"/>
     3708  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     3709  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/itermset"/>
    34293710</xsl:template>
    34303711
     
    35643845<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
    35653846<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
     3847</fo:block>
     3848</xsl:template>
     3849
     3850<xsl:template match="itermset" mode="simplesect.titlepage.recto.auto.mode">
     3851<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
     3852<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
     3853</fo:block>
     3854</xsl:template>
     3855
     3856<xsl:template name="topic.titlepage.recto">
     3857  <xsl:choose>
     3858    <xsl:when test="topicinfo/title">
     3859      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/>
     3860    </xsl:when>
     3861    <xsl:when test="info/title">
     3862      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/>
     3863    </xsl:when>
     3864    <xsl:when test="title">
     3865      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/>
     3866    </xsl:when>
     3867  </xsl:choose>
     3868
     3869  <xsl:choose>
     3870    <xsl:when test="topicinfo/subtitle">
     3871      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/>
     3872    </xsl:when>
     3873    <xsl:when test="info/subtitle">
     3874      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/>
     3875    </xsl:when>
     3876    <xsl:when test="subtitle">
     3877      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/>
     3878    </xsl:when>
     3879  </xsl:choose>
     3880
     3881</xsl:template>
     3882
     3883<xsl:template name="topic.titlepage.verso">
     3884</xsl:template>
     3885
     3886<xsl:template name="topic.titlepage.separator">
     3887</xsl:template>
     3888
     3889<xsl:template name="topic.titlepage.before.recto">
     3890</xsl:template>
     3891
     3892<xsl:template name="topic.titlepage.before.verso">
     3893</xsl:template>
     3894
     3895<xsl:template name="topic.titlepage">
     3896  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     3897    <xsl:variable name="recto.content">
     3898      <xsl:call-template name="topic.titlepage.before.recto"/>
     3899      <xsl:call-template name="topic.titlepage.recto"/>
     3900    </xsl:variable>
     3901    <xsl:variable name="recto.elements.count">
     3902      <xsl:choose>
     3903        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     3904        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     3905          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     3906        <xsl:otherwise>1</xsl:otherwise>
     3907      </xsl:choose>
     3908    </xsl:variable>
     3909    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     3910      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     3911    </xsl:if>
     3912    <xsl:variable name="verso.content">
     3913      <xsl:call-template name="topic.titlepage.before.verso"/>
     3914      <xsl:call-template name="topic.titlepage.verso"/>
     3915    </xsl:variable>
     3916    <xsl:variable name="verso.elements.count">
     3917      <xsl:choose>
     3918        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     3919        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     3920          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     3921        <xsl:otherwise>1</xsl:otherwise>
     3922      </xsl:choose>
     3923    </xsl:variable>
     3924    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     3925      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     3926    </xsl:if>
     3927    <xsl:call-template name="topic.titlepage.separator"/>
     3928  </fo:block>
     3929</xsl:template>
     3930
     3931<xsl:template match="*" mode="topic.titlepage.recto.mode">
     3932  <!-- if an element isn't found in this mode, -->
     3933  <!-- try the generic titlepage.mode -->
     3934  <xsl:apply-templates select="." mode="titlepage.mode"/>
     3935</xsl:template>
     3936
     3937<xsl:template match="*" mode="topic.titlepage.verso.mode">
     3938  <!-- if an element isn't found in this mode, -->
     3939  <!-- try the generic titlepage.mode -->
     3940  <xsl:apply-templates select="." mode="titlepage.mode"/>
     3941</xsl:template>
     3942
     3943<xsl:template match="title" mode="topic.titlepage.recto.auto.mode">
     3944<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="topic.titlepage.recto.style" font-weight="bold" font-size="17.28pt" space-before="1em" space-after="1em" font-family="{$title.fontset}">
     3945<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     3946</fo:block>
     3947</xsl:template>
     3948
     3949<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode">
     3950<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="topic.titlepage.recto.style" font-family="{$title.fontset}">
     3951<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
    35663952</fo:block>
    35673953</xsl:template>
     
    35873973  </xsl:choose>
    35883974
     3975  <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/itermset"/>
     3976  <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     3977  <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/itermset"/>
    35893978</xsl:template>
    35903979
     
    36554044</xsl:template>
    36564045
     4046<xsl:template match="itermset" mode="bibliography.titlepage.recto.auto.mode">
     4047<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style">
     4048<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
     4049</fo:block>
     4050</xsl:template>
     4051
    36574052<xsl:template name="bibliodiv.titlepage.recto">
    36584053  <xsl:choose>
     
    36864081  </xsl:choose>
    36874082
     4083  <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/itermset"/>
     4084  <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4085  <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/itermset"/>
    36884086</xsl:template>
    36894087
     
    37584156<xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode">
    37594157<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}">
     4158<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
     4159</fo:block>
     4160</xsl:template>
     4161
     4162<xsl:template match="itermset" mode="bibliodiv.titlepage.recto.auto.mode">
     4163<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style">
    37604164<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
    37614165</fo:block>
     
    37824186  </xsl:choose>
    37834187
     4188  <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/itermset"/>
     4189  <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4190  <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/itermset"/>
    37844191</xsl:template>
    37854192
     
    38504257</xsl:template>
    38514258
     4259<xsl:template match="itermset" mode="glossary.titlepage.recto.auto.mode">
     4260<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style">
     4261<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
     4262</fo:block>
     4263</xsl:template>
     4264
    38524265<xsl:template name="glossdiv.titlepage.recto">
    38534266  <xsl:choose>
     
    38814294  </xsl:choose>
    38824295
     4296  <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/itermset"/>
     4297  <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4298  <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/itermset"/>
    38834299</xsl:template>
    38844300
     
    39534369<xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode">
    39544370<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}">
     4371<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
     4372</fo:block>
     4373</xsl:template>
     4374
     4375<xsl:template match="itermset" mode="glossdiv.titlepage.recto.auto.mode">
     4376<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style">
    39554377<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
    39564378</fo:block>
     
    39784400  </xsl:choose>
    39794401
     4402  <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/itermset"/>
     4403  <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4404  <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/itermset"/>
    39804405</xsl:template>
    39814406
     
    40424467<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
    40434468<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
     4469<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
     4470</fo:block>
     4471</xsl:template>
     4472
     4473<xsl:template match="itermset" mode="index.titlepage.recto.auto.mode">
     4474<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style">
    40444475<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
    40454476</fo:block>
     
    40664497  </xsl:choose>
    40674498
     4499  <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/itermset"/>
     4500  <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4501  <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/itermset"/>
    40684502</xsl:template>
    40694503
     
    41304564<xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode">
    41314565<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
     4566<xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
     4567</fo:block>
     4568</xsl:template>
     4569
     4570<xsl:template match="itermset" mode="indexdiv.titlepage.recto.auto.mode">
     4571<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
    41324572<xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
    41334573</fo:block>
     
    41554595  </xsl:choose>
    41564596
     4597  <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/itermset"/>
     4598  <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4599  <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/itermset"/>
    41574600</xsl:template>
    41584601
     
    42194662<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
    42204663<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
     4664<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
     4665</fo:block>
     4666</xsl:template>
     4667
     4668<xsl:template match="itermset" mode="setindex.titlepage.recto.auto.mode">
     4669<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style">
    42214670<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
    42224671</fo:block>
     
    42434692  </xsl:choose>
    42444693
     4694  <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/itermset"/>
     4695  <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4696  <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/itermset"/>
    42454697</xsl:template>
    42464698
     
    43114763</xsl:template>
    43124764
     4765<xsl:template match="itermset" mode="colophon.titlepage.recto.auto.mode">
     4766<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style">
     4767<xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
     4768</fo:block>
     4769</xsl:template>
     4770
    43134771<xsl:template name="sidebar.titlepage.recto">
    43144772  <xsl:choose>
     
    43424800  </xsl:choose>
    43434801
     4802  <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/itermset"/>
     4803  <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/itermset"/>
     4804  <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/itermset"/>
    43444805</xsl:template>
    43454806
     
    44124873<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
    44134874<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
     4875<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
     4876</fo:block>
     4877</xsl:template>
     4878
     4879<xsl:template match="itermset" mode="sidebar.titlepage.recto.auto.mode">
     4880<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style">
    44144881<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
    44154882</fo:block>
     
    44804947  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/>
    44814948  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/abstract"/>
     4949  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/itermset"/>
     4950  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/itermset"/>
     4951  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/itermset"/>
    44824952</xsl:template>
    44834953
     
    46225092</xsl:template>
    46235093
     5094<xsl:template match="itermset" mode="qandaset.titlepage.recto.auto.mode">
     5095<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style">
     5096<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
     5097</fo:block>
     5098</xsl:template>
     5099
    46245100<xsl:template name="table.of.contents.titlepage.recto">
    4625   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5101  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    46265102<xsl:call-template name="gentext">
    46275103<xsl:with-param name="key" select="'TableofContents'"/>
     
    46905166
    46915167<xsl:template name="list.of.tables.titlepage.recto">
    4692   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5168  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    46935169<xsl:call-template name="gentext">
    46945170<xsl:with-param name="key" select="'ListofTables'"/>
     
    47575233
    47585234<xsl:template name="list.of.figures.titlepage.recto">
    4759   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5235  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    47605236<xsl:call-template name="gentext">
    47615237<xsl:with-param name="key" select="'ListofFigures'"/>
     
    48245300
    48255301<xsl:template name="list.of.examples.titlepage.recto">
    4826   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5302  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    48275303<xsl:call-template name="gentext">
    48285304<xsl:with-param name="key" select="'ListofExamples'"/>
     
    48915367
    48925368<xsl:template name="list.of.equations.titlepage.recto">
    4893   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5369  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    48945370<xsl:call-template name="gentext">
    48955371<xsl:with-param name="key" select="'ListofEquations'"/>
     
    49585434
    49595435<xsl:template name="list.of.procedures.titlepage.recto">
    4960   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5436  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    49615437<xsl:call-template name="gentext">
    49625438<xsl:with-param name="key" select="'ListofProcedures'"/>
     
    50255501
    50265502<xsl:template name="list.of.unknowns.titlepage.recto">
    5027   <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}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
     5503  <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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
    50285504<xsl:call-template name="gentext">
    50295505<xsl:with-param name="key" select="'ListofUnknown'"/>
     
    50915567</xsl:template>
    50925568
     5569<xsl:template name="component.list.of.tables.titlepage.recto">
     5570  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5571<xsl:call-template name="gentext">
     5572<xsl:with-param name="key" select="'ListofTables'"/>
     5573</xsl:call-template></fo:block>
     5574</xsl:template>
     5575
     5576<xsl:template name="component.list.of.tables.titlepage.verso">
     5577</xsl:template>
     5578
     5579<xsl:template name="component.list.of.tables.titlepage.separator">
     5580</xsl:template>
     5581
     5582<xsl:template name="component.list.of.tables.titlepage.before.recto">
     5583</xsl:template>
     5584
     5585<xsl:template name="component.list.of.tables.titlepage.before.verso">
     5586</xsl:template>
     5587
     5588<xsl:template name="component.list.of.tables.titlepage">
     5589  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5590    <xsl:variable name="recto.content">
     5591      <xsl:call-template name="component.list.of.tables.titlepage.before.recto"/>
     5592      <xsl:call-template name="component.list.of.tables.titlepage.recto"/>
     5593    </xsl:variable>
     5594    <xsl:variable name="recto.elements.count">
     5595      <xsl:choose>
     5596        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5597        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5598          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5599        <xsl:otherwise>1</xsl:otherwise>
     5600      </xsl:choose>
     5601    </xsl:variable>
     5602    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5603      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5604    </xsl:if>
     5605    <xsl:variable name="verso.content">
     5606      <xsl:call-template name="component.list.of.tables.titlepage.before.verso"/>
     5607      <xsl:call-template name="component.list.of.tables.titlepage.verso"/>
     5608    </xsl:variable>
     5609    <xsl:variable name="verso.elements.count">
     5610      <xsl:choose>
     5611        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5612        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5613          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5614        <xsl:otherwise>1</xsl:otherwise>
     5615      </xsl:choose>
     5616    </xsl:variable>
     5617    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5618      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5619    </xsl:if>
     5620    <xsl:call-template name="component.list.of.tables.titlepage.separator"/>
     5621  </fo:block>
     5622</xsl:template>
     5623
     5624<xsl:template match="*" mode="component.list.of.tables.titlepage.recto.mode">
     5625  <!-- if an element isn't found in this mode, -->
     5626  <!-- try the generic titlepage.mode -->
     5627  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5628</xsl:template>
     5629
     5630<xsl:template match="*" mode="component.list.of.tables.titlepage.verso.mode">
     5631  <!-- if an element isn't found in this mode, -->
     5632  <!-- try the generic titlepage.mode -->
     5633  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5634</xsl:template>
     5635
     5636<xsl:template name="component.list.of.figures.titlepage.recto">
     5637  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5638<xsl:call-template name="gentext">
     5639<xsl:with-param name="key" select="'ListofFigures'"/>
     5640</xsl:call-template></fo:block>
     5641</xsl:template>
     5642
     5643<xsl:template name="component.list.of.figures.titlepage.verso">
     5644</xsl:template>
     5645
     5646<xsl:template name="component.list.of.figures.titlepage.separator">
     5647</xsl:template>
     5648
     5649<xsl:template name="component.list.of.figures.titlepage.before.recto">
     5650</xsl:template>
     5651
     5652<xsl:template name="component.list.of.figures.titlepage.before.verso">
     5653</xsl:template>
     5654
     5655<xsl:template name="component.list.of.figures.titlepage">
     5656  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5657    <xsl:variable name="recto.content">
     5658      <xsl:call-template name="component.list.of.figures.titlepage.before.recto"/>
     5659      <xsl:call-template name="component.list.of.figures.titlepage.recto"/>
     5660    </xsl:variable>
     5661    <xsl:variable name="recto.elements.count">
     5662      <xsl:choose>
     5663        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5664        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5665          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5666        <xsl:otherwise>1</xsl:otherwise>
     5667      </xsl:choose>
     5668    </xsl:variable>
     5669    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5670      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5671    </xsl:if>
     5672    <xsl:variable name="verso.content">
     5673      <xsl:call-template name="component.list.of.figures.titlepage.before.verso"/>
     5674      <xsl:call-template name="component.list.of.figures.titlepage.verso"/>
     5675    </xsl:variable>
     5676    <xsl:variable name="verso.elements.count">
     5677      <xsl:choose>
     5678        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5679        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5680          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5681        <xsl:otherwise>1</xsl:otherwise>
     5682      </xsl:choose>
     5683    </xsl:variable>
     5684    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5685      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5686    </xsl:if>
     5687    <xsl:call-template name="component.list.of.figures.titlepage.separator"/>
     5688  </fo:block>
     5689</xsl:template>
     5690
     5691<xsl:template match="*" mode="component.list.of.figures.titlepage.recto.mode">
     5692  <!-- if an element isn't found in this mode, -->
     5693  <!-- try the generic titlepage.mode -->
     5694  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5695</xsl:template>
     5696
     5697<xsl:template match="*" mode="component.list.of.figures.titlepage.verso.mode">
     5698  <!-- if an element isn't found in this mode, -->
     5699  <!-- try the generic titlepage.mode -->
     5700  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5701</xsl:template>
     5702
     5703<xsl:template name="component.list.of.examples.titlepage.recto">
     5704  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5705<xsl:call-template name="gentext">
     5706<xsl:with-param name="key" select="'ListofExamples'"/>
     5707</xsl:call-template></fo:block>
     5708</xsl:template>
     5709
     5710<xsl:template name="component.list.of.examples.titlepage.verso">
     5711</xsl:template>
     5712
     5713<xsl:template name="component.list.of.examples.titlepage.separator">
     5714</xsl:template>
     5715
     5716<xsl:template name="component.list.of.examples.titlepage.before.recto">
     5717</xsl:template>
     5718
     5719<xsl:template name="component.list.of.examples.titlepage.before.verso">
     5720</xsl:template>
     5721
     5722<xsl:template name="component.list.of.examples.titlepage">
     5723  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5724    <xsl:variable name="recto.content">
     5725      <xsl:call-template name="component.list.of.examples.titlepage.before.recto"/>
     5726      <xsl:call-template name="component.list.of.examples.titlepage.recto"/>
     5727    </xsl:variable>
     5728    <xsl:variable name="recto.elements.count">
     5729      <xsl:choose>
     5730        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5731        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5732          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5733        <xsl:otherwise>1</xsl:otherwise>
     5734      </xsl:choose>
     5735    </xsl:variable>
     5736    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5737      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5738    </xsl:if>
     5739    <xsl:variable name="verso.content">
     5740      <xsl:call-template name="component.list.of.examples.titlepage.before.verso"/>
     5741      <xsl:call-template name="component.list.of.examples.titlepage.verso"/>
     5742    </xsl:variable>
     5743    <xsl:variable name="verso.elements.count">
     5744      <xsl:choose>
     5745        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5746        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5747          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5748        <xsl:otherwise>1</xsl:otherwise>
     5749      </xsl:choose>
     5750    </xsl:variable>
     5751    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5752      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5753    </xsl:if>
     5754    <xsl:call-template name="component.list.of.examples.titlepage.separator"/>
     5755  </fo:block>
     5756</xsl:template>
     5757
     5758<xsl:template match="*" mode="component.list.of.examples.titlepage.recto.mode">
     5759  <!-- if an element isn't found in this mode, -->
     5760  <!-- try the generic titlepage.mode -->
     5761  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5762</xsl:template>
     5763
     5764<xsl:template match="*" mode="component.list.of.examples.titlepage.verso.mode">
     5765  <!-- if an element isn't found in this mode, -->
     5766  <!-- try the generic titlepage.mode -->
     5767  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5768</xsl:template>
     5769
     5770<xsl:template name="component.list.of.equations.titlepage.recto">
     5771  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5772<xsl:call-template name="gentext">
     5773<xsl:with-param name="key" select="'ListofEquations'"/>
     5774</xsl:call-template></fo:block>
     5775</xsl:template>
     5776
     5777<xsl:template name="component.list.of.equations.titlepage.verso">
     5778</xsl:template>
     5779
     5780<xsl:template name="component.list.of.equations.titlepage.separator">
     5781</xsl:template>
     5782
     5783<xsl:template name="component.list.of.equations.titlepage.before.recto">
     5784</xsl:template>
     5785
     5786<xsl:template name="component.list.of.equations.titlepage.before.verso">
     5787</xsl:template>
     5788
     5789<xsl:template name="component.list.of.equations.titlepage">
     5790  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5791    <xsl:variable name="recto.content">
     5792      <xsl:call-template name="component.list.of.equations.titlepage.before.recto"/>
     5793      <xsl:call-template name="component.list.of.equations.titlepage.recto"/>
     5794    </xsl:variable>
     5795    <xsl:variable name="recto.elements.count">
     5796      <xsl:choose>
     5797        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5798        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5799          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5800        <xsl:otherwise>1</xsl:otherwise>
     5801      </xsl:choose>
     5802    </xsl:variable>
     5803    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5804      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5805    </xsl:if>
     5806    <xsl:variable name="verso.content">
     5807      <xsl:call-template name="component.list.of.equations.titlepage.before.verso"/>
     5808      <xsl:call-template name="component.list.of.equations.titlepage.verso"/>
     5809    </xsl:variable>
     5810    <xsl:variable name="verso.elements.count">
     5811      <xsl:choose>
     5812        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5813        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5814          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5815        <xsl:otherwise>1</xsl:otherwise>
     5816      </xsl:choose>
     5817    </xsl:variable>
     5818    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5819      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5820    </xsl:if>
     5821    <xsl:call-template name="component.list.of.equations.titlepage.separator"/>
     5822  </fo:block>
     5823</xsl:template>
     5824
     5825<xsl:template match="*" mode="component.list.of.equations.titlepage.recto.mode">
     5826  <!-- if an element isn't found in this mode, -->
     5827  <!-- try the generic titlepage.mode -->
     5828  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5829</xsl:template>
     5830
     5831<xsl:template match="*" mode="component.list.of.equations.titlepage.verso.mode">
     5832  <!-- if an element isn't found in this mode, -->
     5833  <!-- try the generic titlepage.mode -->
     5834  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5835</xsl:template>
     5836
     5837<xsl:template name="component.list.of.procedures.titlepage.recto">
     5838  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5839<xsl:call-template name="gentext">
     5840<xsl:with-param name="key" select="'ListofProcedures'"/>
     5841</xsl:call-template></fo:block>
     5842</xsl:template>
     5843
     5844<xsl:template name="component.list.of.procedures.titlepage.verso">
     5845</xsl:template>
     5846
     5847<xsl:template name="component.list.of.procedures.titlepage.separator">
     5848</xsl:template>
     5849
     5850<xsl:template name="component.list.of.procedures.titlepage.before.recto">
     5851</xsl:template>
     5852
     5853<xsl:template name="component.list.of.procedures.titlepage.before.verso">
     5854</xsl:template>
     5855
     5856<xsl:template name="component.list.of.procedures.titlepage">
     5857  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5858    <xsl:variable name="recto.content">
     5859      <xsl:call-template name="component.list.of.procedures.titlepage.before.recto"/>
     5860      <xsl:call-template name="component.list.of.procedures.titlepage.recto"/>
     5861    </xsl:variable>
     5862    <xsl:variable name="recto.elements.count">
     5863      <xsl:choose>
     5864        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5865        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5866          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5867        <xsl:otherwise>1</xsl:otherwise>
     5868      </xsl:choose>
     5869    </xsl:variable>
     5870    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5871      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5872    </xsl:if>
     5873    <xsl:variable name="verso.content">
     5874      <xsl:call-template name="component.list.of.procedures.titlepage.before.verso"/>
     5875      <xsl:call-template name="component.list.of.procedures.titlepage.verso"/>
     5876    </xsl:variable>
     5877    <xsl:variable name="verso.elements.count">
     5878      <xsl:choose>
     5879        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5880        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5881          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5882        <xsl:otherwise>1</xsl:otherwise>
     5883      </xsl:choose>
     5884    </xsl:variable>
     5885    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5886      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5887    </xsl:if>
     5888    <xsl:call-template name="component.list.of.procedures.titlepage.separator"/>
     5889  </fo:block>
     5890</xsl:template>
     5891
     5892<xsl:template match="*" mode="component.list.of.procedures.titlepage.recto.mode">
     5893  <!-- if an element isn't found in this mode, -->
     5894  <!-- try the generic titlepage.mode -->
     5895  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5896</xsl:template>
     5897
     5898<xsl:template match="*" mode="component.list.of.procedures.titlepage.verso.mode">
     5899  <!-- if an element isn't found in this mode, -->
     5900  <!-- try the generic titlepage.mode -->
     5901  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5902</xsl:template>
     5903
     5904<xsl:template name="component.list.of.unknowns.titlepage.recto">
     5905  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
     5906<xsl:call-template name="gentext">
     5907<xsl:with-param name="key" select="'ListofUnknown'"/>
     5908</xsl:call-template></fo:block>
     5909</xsl:template>
     5910
     5911<xsl:template name="component.list.of.unknowns.titlepage.verso">
     5912</xsl:template>
     5913
     5914<xsl:template name="component.list.of.unknowns.titlepage.separator">
     5915</xsl:template>
     5916
     5917<xsl:template name="component.list.of.unknowns.titlepage.before.recto">
     5918</xsl:template>
     5919
     5920<xsl:template name="component.list.of.unknowns.titlepage.before.verso">
     5921</xsl:template>
     5922
     5923<xsl:template name="component.list.of.unknowns.titlepage">
     5924  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
     5925    <xsl:variable name="recto.content">
     5926      <xsl:call-template name="component.list.of.unknowns.titlepage.before.recto"/>
     5927      <xsl:call-template name="component.list.of.unknowns.titlepage.recto"/>
     5928    </xsl:variable>
     5929    <xsl:variable name="recto.elements.count">
     5930      <xsl:choose>
     5931        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5932        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5933          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     5934        <xsl:otherwise>1</xsl:otherwise>
     5935      </xsl:choose>
     5936    </xsl:variable>
     5937    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     5938      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
     5939    </xsl:if>
     5940    <xsl:variable name="verso.content">
     5941      <xsl:call-template name="component.list.of.unknowns.titlepage.before.verso"/>
     5942      <xsl:call-template name="component.list.of.unknowns.titlepage.verso"/>
     5943    </xsl:variable>
     5944    <xsl:variable name="verso.elements.count">
     5945      <xsl:choose>
     5946        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5947        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     5948          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     5949        <xsl:otherwise>1</xsl:otherwise>
     5950      </xsl:choose>
     5951    </xsl:variable>
     5952    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     5953      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
     5954    </xsl:if>
     5955    <xsl:call-template name="component.list.of.unknowns.titlepage.separator"/>
     5956  </fo:block>
     5957</xsl:template>
     5958
     5959<xsl:template match="*" mode="component.list.of.unknowns.titlepage.recto.mode">
     5960  <!-- if an element isn't found in this mode, -->
     5961  <!-- try the generic titlepage.mode -->
     5962  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5963</xsl:template>
     5964
     5965<xsl:template match="*" mode="component.list.of.unknowns.titlepage.verso.mode">
     5966  <!-- if an element isn't found in this mode, -->
     5967  <!-- try the generic titlepage.mode -->
     5968  <xsl:apply-templates select="." mode="titlepage.mode"/>
     5969</xsl:template>
     5970
    50935971</xsl:stylesheet>
    50945972
Note: See TracChangeset for help on using the changeset viewer.