r1744 - alfs/trunk/docs/SRS

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Thu Feb 10 15:06:33 PST 2005


Author: matthew
Date: 2005-02-10 16:06:32 -0700 (Thu, 10 Feb 2005)
New Revision: 1744

Added:
   alfs/trunk/docs/SRS/nochunks.xsl
Modified:
   alfs/trunk/docs/SRS/Makefile
Log:
Fix encoding issues with HTML output

Modified: alfs/trunk/docs/SRS/Makefile
===================================================================
--- alfs/trunk/docs/SRS/Makefile	2005-02-10 22:04:36 UTC (rev 1743)
+++ alfs/trunk/docs/SRS/Makefile	2005-02-10 23:06:32 UTC (rev 1744)
@@ -6,8 +6,8 @@
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
 
 alfs-srs:
-	xsltproc --xinclude --nonet -o $(BASEDIR)/$(HTML_OUTPUT) \
-	  $(XSLROOTDIR)/xhtml/docbook.xsl index.xml
+	xsltproc --xinclude --nonet -o $(BASEDIR)/$(HTML_OUTPUT) nochunks.xsl \
+	  index.xml
 
 validate:
 	xmllint --noout --nonet --xinclude --postvalid index.xml

Added: alfs/trunk/docs/SRS/nochunks.xsl
===================================================================
--- alfs/trunk/docs/SRS/nochunks.xsl	2005-02-10 22:04:36 UTC (rev 1743)
+++ alfs/trunk/docs/SRS/nochunks.xsl	2005-02-10 23:06:32 UTC (rev 1744)
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns="http://www.w3.org/1999/xhtml"
+                version="1.0">
+
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
+
+  <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
+  <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
+</xsl:stylesheet>




More information about the alfs-log mailing list