Changeset 81b2052


Ignore:
Timestamp:
08/30/2004 11:07:54 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
daf0eb3
Parents:
ca25939b
Message:

Added the harcoded period for PDF output, and added a comment to the related templates.

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

Location:
stylesheets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/pdf/lfs-mixed.xsl

    rca25939b r81b2052  
    190190  </xsl:template>
    191191
     192    <!-- Harcoded a period for proper punctuation in xrefs. -->
     193  <xsl:template match="*" mode="insert.title.markup">
     194    <xsl:param name="purpose"/>
     195    <xsl:param name="xrefstyle"/>
     196    <xsl:param name="title"/>
     197    <xsl:param name="role"/>
     198    <xsl:choose>
     199      <xsl:when test="$purpose = 'xref' and titleabbrev">
     200        <xsl:apply-templates select="." mode="titleabbrev.markup"/>
     201      </xsl:when>
     202      <xsl:otherwise>
     203        <xsl:copy-of select="$title"/>
     204        <xsl:text>.</xsl:text>
     205      </xsl:otherwise>
     206    </xsl:choose>
     207  </xsl:template>
     208
    192209</xsl:stylesheet>
  • stylesheets/xhtml/lfs-titles.xsl

    rca25939b r81b2052  
    8686  </xsl:template>
    8787
     88    <!-- Harcoded a period for proper punctuation in xrefs. -->
    8889  <xsl:template match="*" mode="insert.title.markup">
    8990    <xsl:param name="purpose"/>
Note: See TracChangeset for help on using the changeset viewer.