Ignore:
Timestamp:
12/19/2004 09:17:48 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
faf3398
Parents:
6d3af72
Message:

Updated the stylesheets and Makefile.
Removed contrib/, index-pdf.xml and goTidy.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-titles.xsl

    r6d3af72 rf7bd105  
    88    <div class="titlepage">
    99      <h1 class="{name(.)}">
     10        <xsl:apply-templates select="." mode="label.markup"/>
     11        <xsl:text>. </xsl:text>
    1012        <xsl:value-of select="title"/>
    1113      </h1>
     
    1618    <div class="titlepage">
    1719      <h1 class="{name(.)}">
     20        <xsl:apply-templates select="." mode="label.markup"/>
     21        <xsl:text>. </xsl:text>
    1822        <xsl:value-of select="title"/>
    1923      </h1>
     
    2428    <div class="titlepage">
    2529      <h1 class="{name(.)}">
     30        <xsl:value-of select="title"/>
     31      </h1>
     32    </div>
     33  </xsl:template>
     34
     35  <xsl:template name="appendix.titlepage">
     36    <div class="titlepage">
     37      <h1 class="{name(.)}">
     38        <xsl:apply-templates select="." mode="label.markup"/>
     39        <xsl:text>. </xsl:text>
    2640        <xsl:value-of select="title"/>
    2741      </h1>
     
    3852          </xsl:if>
    3953          <h2 class="{name(.)}">
     54            <xsl:apply-templates select="." mode="label.markup"/>
     55            <xsl:text>. </xsl:text>
    4056            <xsl:value-of select="title"/>
    4157          </h2>
     
    4561        <div class="titlepage">
    4662          <h1 class="{name(.)}">
     63            <xsl:apply-templates select="." mode="label.markup"/>
     64            <xsl:text>. </xsl:text>
    4765            <xsl:value-of select="title"/>
    4866          </h1>
     
    6179          </xsl:if>
    6280          <h2 class="{name(.)}">
     81            <xsl:apply-templates select="." mode="label.markup"/>
     82            <xsl:text>. </xsl:text>
    6383            <xsl:value-of select="title"/>
    6484          </h2>
     
    7696  </xsl:template>
    7797
     98    <!-- Added the role param for proper punctuation in xref calls. -->
     99  <xsl:template match="*" mode="insert.title.markup">
     100    <xsl:param name="purpose"/>
     101    <xsl:param name="xrefstyle"/>
     102    <xsl:param name="title"/>
     103    <xsl:param name="role"/>
     104    <xsl:choose>
     105      <xsl:when test="$purpose = 'xref' and titleabbrev">
     106        <xsl:apply-templates select="." mode="titleabbrev.markup"/>
     107      </xsl:when>
     108      <xsl:otherwise>
     109        <xsl:copy-of select="$title"/>
     110        <xsl:value-of select="$role"/>
     111      </xsl:otherwise>
     112    </xsl:choose>
     113  </xsl:template>
     114
    78115</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.