Author: randy
Date: 2007-01-30 13:25:59 -0700 (Tue, 30 Jan 2007)
New Revision: 6491
Modified:
trunk/BOOK/stylesheets/patcheslist.xsl
trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
Log:
Removed more extraneous spaces
Modified: trunk/BOOK/stylesheets/patcheslist.xsl
===================================================================
--- trunk/BOOK/stylesheets/patcheslist.xsl 2007-01-30 20:24:11 UTC (rev
6490)
+++ trunk/BOOK/stylesheets/patcheslist.xsl 2007-01-30 20:25:59 UTC (rev
6491)
@@ -9,10 +9,10 @@
$Date$
-->
-<!--
+<!--
This stylesheet creates a script to copy the patches referenced
in the BLFS book from the patches repository to the blfs
- download area. It is very specific to the installation on
+ download area. It is very specific to the installation on
the home server.
-->
@@ -44,8 +44,8 @@
<xsl:apply-templates/>
<!-- Ensure correct ownership -->
<xsl:text>
chgrp lfswww *.patch &&
</xsl:text>
- <xsl:text>if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then
- mail -s "Missing BLFS patches" [email protected] < copyerrs
+ <xsl:text>if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then
+ mail -s "Missing BLFS patches" [email protected] < copyerrs
fi</xsl:text>
<xsl:text>
exit
</xsl:text>
</xsl:template>
@@ -54,7 +54,7 @@
<xsl:template match="//ulink">
<!-- Match only local patches links and skip duplicated URLs splitted
for PDF output-->
- <xsl:if test="contains(@url, '.patch') and contains(@url, '&patch-root;')
+ <xsl:if test="contains(@url, '.patch') and contains(@url, '&patch-root;')
and not(ancestor-or-self::*/@condition = 'pdf')">
<xsl:variable name="patch.name" select="substring-after(@url,
'&patch-root;')"/>
<xsl:text>copy
/srv/www/www.linuxfromscratch.org/patches/downloads</xsl:text>
@@ -77,7 +77,7 @@
</xsl:when>
<!-- General rule -->
<xsl:otherwise>
- <xsl:variable name="cut"
+ <xsl:variable name="cut"
select="translate(substring-after($patch.name, '-'),
'0123456789', '0000000000')"/>
<xsl:variable name="patch.name2">
<xsl:value-of select="substring-before($patch.name, '-')"/>
Modified: trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/xhtml/lfs-index.xsl 2007-01-30 20:24:11 UTC (rev
6490)
+++ trunk/BOOK/stylesheets/xhtml/lfs-index.xsl 2007-01-30 20:25:59 UTC (rev
6491)
@@ -155,11 +155,11 @@
</xsl:for-each>
<xsl:if test="$refs/secondary">
<ul>
- <xsl:apply-templates select="$refs[secondary and
count(.|key('secondary',
+ <xsl:apply-templates select="$refs[secondary and
count(.|key('secondary',
concat($key, " ",
normalize-space(concat(secondary/@sortas,
secondary[not(@sortas)]))))[&scope;][1]) = 1]"
mode="index-secondary">
<xsl:with-param name="scope" select="$scope"/>
- <xsl:sort
select="translate(normalize-space(concat(secondary/@sortas,
+ <xsl:sort
select="translate(normalize-space(concat(secondary/@sortas,
secondary[not(@sortas)])), &lowercase;,
&uppercase;)"/>
</xsl:apply-templates>
</ul>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page