Changeset 2e3a473


Ignore:
Timestamp:
08/31/2004 06:52:37 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
3890f5a
Parents:
c0be107
Message:

Making a proper English punctuation for xref elemments (PDF output). See chapter05/gettext.xml for a tagging example.

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

Location:
stylesheets
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-pdf.xsl

    rc0be107 r2e3a473  
    1414  <xsl:include href="pdf/lfs-sections.xsl"/>
    1515  <xsl:include href="pdf/lfs-mixed.xsl"/>
     16  <xsl:include href="pdf/lfs-xref.xsl"/>
    1617
    1718    <!-- Paper size required by the publisher -->
  • stylesheets/pdf/lfs-mixed.xsl

    rc0be107 r2e3a473  
    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 
    209192</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.