r1753 - alfs/trunk/docs/SRS

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sat Feb 12 05:45:24 PST 2005


Author: matthew
Date: 2005-02-12 06:45:00 -0700 (Sat, 12 Feb 2005)
New Revision: 1753

Modified:
   alfs/trunk/docs/SRS/Makefile
   alfs/trunk/docs/SRS/nochunks.xsl
Log:
* Number sections
* Only generate the TOC at the book level - the document is short enough to
  still be navigable IMO
* Move the CSS parameter to the XSL file so all parameters are in the same place


Modified: alfs/trunk/docs/SRS/Makefile
===================================================================
--- alfs/trunk/docs/SRS/Makefile	2005-02-12 12:45:48 UTC (rev 1752)
+++ alfs/trunk/docs/SRS/Makefile	2005-02-12 13:45:00 UTC (rev 1753)
@@ -6,8 +6,8 @@
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
 
 alfs-srs:
-	xsltproc --xinclude --nonet --stringparam html.stylesheet srs.css \
-	  -o $(BASEDIR)/$(HTML_OUTPUT) nochunks.xsl index.xml
+	xsltproc --xinclude --nonet -o $(BASEDIR)/$(HTML_OUTPUT) nochunks.xsl \
+	  index.xml
 	cp srs.css $(BASEDIR)
 	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  tidy -config tidy.conf $$filename; \

Modified: alfs/trunk/docs/SRS/nochunks.xsl
===================================================================
--- alfs/trunk/docs/SRS/nochunks.xsl	2005-02-12 12:45:48 UTC (rev 1752)
+++ alfs/trunk/docs/SRS/nochunks.xsl	2005-02-12 13:45:00 UTC (rev 1753)
@@ -8,4 +8,14 @@
 
   <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
+
+  <!-- Point to the CSS file -->
+  <xsl:param name="html.stylesheet" select="'srs.css'"/>
+
+  <!-- Control the TOC generation -->
+  <xsl:param name="generate.toc" select="'book toc'"/>
+
+  <!-- Chapter and section numbering -->
+  <xsl:param name="section.autolabel" select="1"/>
+  <xsl:param name="section.label.includes.component.label" select="1"/>
 </xsl:stylesheet>




More information about the alfs-log mailing list