diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-12-19 21:17:48 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-12-19 21:17:48 +0000 |
commit | f7bd105db3cf74fb6d2bfed726cf5d187cb1109f (patch) | |
tree | 0077803fc32f39b293b3860f6ffa765eefcec94f /stylesheets/pdf/lfs-index.xsl | |
parent | 6d3af72bf2b333798eba7b88075fccab9441519f (diff) |
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
Diffstat (limited to 'stylesheets/pdf/lfs-index.xsl')
-rw-r--r-- | stylesheets/pdf/lfs-index.xsl | 50 |
1 files changed, 31 insertions, 19 deletions
diff --git a/stylesheets/pdf/lfs-index.xsl b/stylesheets/pdf/lfs-index.xsl index a43be774c..6f15ce53e 100644 --- a/stylesheets/pdf/lfs-index.xsl +++ b/stylesheets/pdf/lfs-index.xsl @@ -13,7 +13,9 @@ <!--Title--> <xsl:template match="index" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:text>Index</xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Index</xsl:with-param> + </xsl:call-template> </xsl:template> <!-- Divisions--> @@ -30,24 +32,34 @@ <xsl:with-param name="titlecontent"> <xsl:choose> <xsl:when test="$divtitle = 'A'"> - <xsl:text>Packages</xsl:text> - </xsl:when> - <xsl:when test="$divtitle = 'B'"> - <xsl:text>Programs</xsl:text> - </xsl:when> - <xsl:when test="$divtitle = 'C'"> - <xsl:text>Libraries</xsl:text> - </xsl:when> - <xsl:when test="$divtitle = 'D'"> - <xsl:text>Scripts</xsl:text> - </xsl:when> - <xsl:when test="$divtitle = 'E'"> - <xsl:text>Others</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$divtitle"/> - </xsl:otherwise> - </xsl:choose> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Packages</xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:when test="$divtitle = 'B'"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Programs</xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:when test="$divtitle = 'C'"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Libraries</xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:when test="$divtitle = 'D'"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Scripts</xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:when test="$divtitle = 'E'"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Others</xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$divtitle"/> + </xsl:otherwise> + </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:if> |