Commits

Anonymous committed c8d7c94

Added more.

Comments (0)

Files changed (2)

share/make/main-docbook.mak

 
 FO_XSLT_SS = $(DOCMAKE_XSLT_PATH)/shlomif-essays-fo.xsl
 
+XHTML_ONE_CHUNK_XSLT_SS = $(DOCMAKE_XSLT_PATH)/shlomif-essays-xhtml-onechunk.xsl
+
 # Declare the PDF and RTF documents.
 
 PDF_DOC = $(DOC).pdf
 	db2html $(DB2_HTML_FLAGS) $(MAIN_SOURCE)
 
 $(HTML_ONE_CHUNK_TARGET_FILE): $(XSL_SOURCES)
-	$(XMLTO) --stringparam "docmake.output.format=xhtml" -m /usr/share/sgml/docbook/xsl-stylesheets/xhtml/onechunk.xsl -o $(HTML_XSL_TARGET)-onechunk xhtml $<
+	$(XMLTO) --stringparam "docmake.output.format=xhtml" -m $(XHTML_ONE_CHUNK_XSLT_SS) -o $(HTML_XSL_TARGET)-onechunk xhtml $<
 
 
 # PDF and RTF.

share/sgml/docbook-shlomif/xsl-stylesheets/shlomif-essays-xhtml-onechunk.xsl

+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version='1.0'>
+
+    <xsl:import href="file:///usr/share/sgml/docbook/xsl-stylesheets/xhtml/onechunk.xsl" />
+
+    <!-- Avoid Generating a Table-of-Contents-->
+    <xsl:param name="generate.toc"></xsl:param>
+</xsl:stylesheet>
+