r4856 - trunk/BOOK/stylesheets

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Jul 31 03:26:52 PDT 2005


Author: manuel
Date: 2005-07-31 04:26:50 -0600 (Sun, 31 Jul 2005)
New Revision: 4856

Modified:
   trunk/BOOK/stylesheets/blfs-chunked.xsl
Log:
Fixed footnote creation when the first sect1 child isn't a chunk.

Modified: trunk/BOOK/stylesheets/blfs-chunked.xsl
===================================================================
--- trunk/BOOK/stylesheets/blfs-chunked.xsl	2005-07-31 08:21:07 UTC (rev 4855)
+++ trunk/BOOK/stylesheets/blfs-chunked.xsl	2005-07-31 10:26:50 UTC (rev 4856)
@@ -30,13 +30,13 @@
     </xsl:if>
 
     <!-- Add this to the footnotes -->
-    <xsl:apply-templates select='prefaceinfo|chapterinfo|sect1info' mode='attribution'/>
+    <xsl:apply-templates select='prefaceinfo|chapterinfo|sect1info|./sect1[1]/sect1info' mode='attribution'/>
   </xsl:template>
 
   <xsl:template match='prefaceinfo|chapterinfo|sect1info' mode='attribution'>
-    <p class='updated'> Last updated <!-- by 
+    <p class='updated'> Last updated <!-- by
       <xsl:apply-templates select="othername" mode='attribution'/> -->
-      on 
+      on
       <xsl:apply-templates select="date" mode='attribution'/>
     </p>
   </xsl:template>




More information about the blfs-book mailing list