- Timestamp:
- 12/10/2013 11:37:38 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 112db9d
- Parents:
- f2a5108
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/titlepage.templates.xsl
rf2a5108 rb1a51ac1 69 69 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> 70 70 <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"/> 71 74 </xsl:template> 72 75 … … 207 210 <xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> 208 211 <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"> 209 218 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 210 219 </fo:block> … … 258 267 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> 259 268 <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"/> 260 271 </xsl:template> 261 272 … … 395 406 396 407 <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"> 397 414 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> 398 415 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> … … 431 448 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> 432 449 <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"/> 433 452 </xsl:template> 434 453 … … 555 574 </xsl:template> 556 575 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 557 582 <xsl:template match="title" mode="book.titlepage.verso.auto.mode"> 558 583 <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}"> … … 648 673 </xsl:choose> 649 674 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"/> 650 678 </xsl:template> 651 679 … … 720 748 <xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> 721 749 <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"> 722 756 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 723 757 </fo:block> … … 788 822 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> 789 823 <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"/> 790 827 </xsl:template> 791 828 … … 923 960 924 961 <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"> 925 968 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> 926 969 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> … … 992 1035 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> 993 1036 <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"/> 994 1040 </xsl:template> 995 1041 … … 1134 1180 </xsl:template> 1135 1181 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 1136 1188 <xsl:template name="refsynopsisdiv.titlepage.recto"> 1137 1189 <xsl:choose> … … 1150 1202 </xsl:choose> 1151 1203 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"/> 1152 1207 </xsl:template> 1153 1208 … … 1218 1273 </xsl:template> 1219 1274 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 1220 1281 <xsl:template name="refsection.titlepage.recto"> 1221 1282 <xsl:choose> … … 1234 1295 </xsl:choose> 1235 1296 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"/> 1236 1300 </xsl:template> 1237 1301 … … 1302 1366 </xsl:template> 1303 1367 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 1304 1374 <xsl:template name="refsect1.titlepage.recto"> 1305 1375 <xsl:choose> … … 1318 1388 </xsl:choose> 1319 1389 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"/> 1320 1393 </xsl:template> 1321 1394 … … 1386 1459 </xsl:template> 1387 1460 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 1388 1467 <xsl:template name="refsect2.titlepage.recto"> 1389 1468 <xsl:choose> … … 1402 1481 </xsl:choose> 1403 1482 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"/> 1404 1486 </xsl:template> 1405 1487 … … 1470 1552 </xsl:template> 1471 1553 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 1472 1560 <xsl:template name="refsect3.titlepage.recto"> 1473 1561 <xsl:choose> … … 1486 1574 </xsl:choose> 1487 1575 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"/> 1488 1579 </xsl:template> 1489 1580 … … 1550 1641 <xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode"> 1551 1642 <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"> 1552 1649 <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/> 1553 1650 </fo:block> … … 1574 1671 </xsl:choose> 1575 1672 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"/> 1576 1676 </xsl:template> 1577 1677 … … 1639 1739 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}"> 1640 1740 <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 > 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 > 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"/> 1641 1844 </fo:block> 1642 1845 </xsl:template> … … 1695 1898 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> 1696 1899 <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"/> 1697 1903 </xsl:template> 1698 1904 … … 1824 2030 1825 2031 <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"> 1826 2038 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> 1827 2039 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> … … 1893 2105 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> 1894 2106 <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"/> 1895 2110 </xsl:template> 1896 2111 … … 2030 2245 2031 2246 <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"> 2032 2253 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> 2033 2254 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> … … 2099 2320 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> 2100 2321 <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"/> 2101 2325 </xsl:template> 2102 2326 … … 2236 2460 2237 2461 <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"> 2238 2468 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> 2239 2469 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> … … 2288 2518 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> 2289 2519 <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"/> 2290 2522 </xsl:template> 2291 2523 … … 2423 2655 2424 2656 <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"> 2425 2663 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> 2426 2664 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> … … 2475 2713 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> 2476 2714 <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"/> 2477 2717 </xsl:template> 2478 2718 … … 2610 2850 2611 2851 <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"> 2612 2858 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> 2613 2859 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> … … 2662 2908 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> 2663 2909 <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"/> 2664 2912 </xsl:template> 2665 2913 … … 2797 3045 2798 3046 <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"> 2799 3053 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> 2800 3054 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> … … 2849 3103 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> 2850 3104 <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"/> 2851 3107 </xsl:template> 2852 3108 … … 2984 3240 2985 3241 <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"> 2986 3248 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> 2987 3249 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> … … 3036 3298 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> 3037 3299 <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"/> 3038 3302 </xsl:template> 3039 3303 … … 3171 3435 3172 3436 <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"> 3173 3443 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> 3174 3444 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> … … 3223 3493 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> 3224 3494 <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"/> 3225 3497 </xsl:template> 3226 3498 … … 3358 3630 3359 3631 <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"> 3360 3638 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> 3361 3639 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> … … 3427 3705 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> 3428 3706 <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"/> 3429 3710 </xsl:template> 3430 3711 … … 3564 3845 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 3565 3846 <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 > 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 > 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"/> 3566 3952 </fo:block> 3567 3953 </xsl:template> … … 3587 3973 </xsl:choose> 3588 3974 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"/> 3589 3978 </xsl:template> 3590 3979 … … 3655 4044 </xsl:template> 3656 4045 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 3657 4052 <xsl:template name="bibliodiv.titlepage.recto"> 3658 4053 <xsl:choose> … … 3686 4081 </xsl:choose> 3687 4082 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"/> 3688 4086 </xsl:template> 3689 4087 … … 3758 4156 <xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode"> 3759 4157 <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"> 3760 4164 <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/> 3761 4165 </fo:block> … … 3782 4186 </xsl:choose> 3783 4187 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"/> 3784 4191 </xsl:template> 3785 4192 … … 3850 4257 </xsl:template> 3851 4258 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 3852 4265 <xsl:template name="glossdiv.titlepage.recto"> 3853 4266 <xsl:choose> … … 3881 4294 </xsl:choose> 3882 4295 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"/> 3883 4299 </xsl:template> 3884 4300 … … 3953 4369 <xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode"> 3954 4370 <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"> 3955 4377 <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/> 3956 4378 </fo:block> … … 3978 4400 </xsl:choose> 3979 4401 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"/> 3980 4405 </xsl:template> 3981 4406 … … 4042 4467 <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> 4043 4468 <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"> 4044 4475 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> 4045 4476 </fo:block> … … 4066 4497 </xsl:choose> 4067 4498 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"/> 4068 4502 </xsl:template> 4069 4503 … … 4130 4564 <xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode"> 4131 4565 <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"> 4132 4572 <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/> 4133 4573 </fo:block> … … 4155 4595 </xsl:choose> 4156 4596 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"/> 4157 4600 </xsl:template> 4158 4601 … … 4219 4662 <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> 4220 4663 <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"> 4221 4670 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> 4222 4671 </fo:block> … … 4243 4692 </xsl:choose> 4244 4693 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"/> 4245 4697 </xsl:template> 4246 4698 … … 4311 4763 </xsl:template> 4312 4764 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 4313 4771 <xsl:template name="sidebar.titlepage.recto"> 4314 4772 <xsl:choose> … … 4342 4800 </xsl:choose> 4343 4801 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"/> 4344 4805 </xsl:template> 4345 4806 … … 4412 4873 <xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> 4413 4874 <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"> 4414 4881 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> 4415 4882 </fo:block> … … 4480 4947 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/> 4481 4948 <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"/> 4482 4952 </xsl:template> 4483 4953 … … 4622 5092 </xsl:template> 4623 5093 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 4624 5100 <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}"> 4626 5102 <xsl:call-template name="gentext"> 4627 5103 <xsl:with-param name="key" select="'TableofContents'"/> … … 4690 5166 4691 5167 <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}"> 4693 5169 <xsl:call-template name="gentext"> 4694 5170 <xsl:with-param name="key" select="'ListofTables'"/> … … 4757 5233 4758 5234 <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}"> 4760 5236 <xsl:call-template name="gentext"> 4761 5237 <xsl:with-param name="key" select="'ListofFigures'"/> … … 4824 5300 4825 5301 <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}"> 4827 5303 <xsl:call-template name="gentext"> 4828 5304 <xsl:with-param name="key" select="'ListofExamples'"/> … … 4891 5367 4892 5368 <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}"> 4894 5370 <xsl:call-template name="gentext"> 4895 5371 <xsl:with-param name="key" select="'ListofEquations'"/> … … 4958 5434 4959 5435 <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}"> 4961 5437 <xsl:call-template name="gentext"> 4962 5438 <xsl:with-param name="key" select="'ListofProcedures'"/> … … 5025 5501 5026 5502 <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}"> 5028 5504 <xsl:call-template name="gentext"> 5029 5505 <xsl:with-param name="key" select="'ListofUnknown'"/> … … 5091 5567 </xsl:template> 5092 5568 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 5093 5971 </xsl:stylesheet> 5094 5972
Note:
See TracChangeset
for help on using the changeset viewer.