r4171 - in trunk/BOOK: . stylesheets

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Sep 15 12:37:07 PDT 2004


Author: manuel
Date: 2004-09-15 13:37:05 -0600 (Wed, 15 Sep 2004)
New Revision: 4171

Modified:
   trunk/BOOK/Makefile
   trunk/BOOK/stylesheets/lfs-chunked2.xsl
Log:
In XHTML output, readded the XML declaration
and changed the media type from text/html to application/xhtml+xml.
Done here to test possibles mirrors issues.

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2004-09-14 16:28:27 UTC (rev 4170)
+++ trunk/BOOK/Makefile	2004-09-15 19:37:05 UTC (rev 4171)
@@ -26,6 +26,9 @@
 
 	sh goTidy $(BASEDIR)/
 
+	for filename in `find $(BASEDIR) -name "*.html"`; do \
+	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \
+	done;
 #
 # This is the old "pdf" target. The old "print" target below has been
 # renamed to "pdf" and will be used. This commented out previous_pdf

Modified: trunk/BOOK/stylesheets/lfs-chunked2.xsl
===================================================================
--- trunk/BOOK/stylesheets/lfs-chunked2.xsl	2004-09-14 16:28:27 UTC (rev 4170)
+++ trunk/BOOK/stylesheets/lfs-chunked2.xsl	2004-09-15 19:37:05 UTC (rev 4171)
@@ -23,8 +23,8 @@
     <!-- Dropping some unwanted style attributes -->
   <xsl:param name="ulink.target" select="''"></xsl:param>
   <xsl:param name="css.decoration" select="0"></xsl:param>
-  
+
     <!-- No XML declaration -->
-  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
+<!--  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> -->
 
 </xsl:stylesheet>




More information about the lfs-book mailing list