[project @ 2004-08-18 16:23:14 by panne]
authorpanne <unknown>
Wed, 18 Aug 2004 16:23:14 +0000 (16:23 +0000)
committerpanne <unknown>
Wed, 18 Aug 2004 16:23:14 +0000 (16:23 +0000)
Improved section labeling for HTML formats. Have to check other formats...

mk/suffix.mk

index 6d2c180..ee5fdb7 100644 (file)
@@ -245,6 +245,9 @@ endif
 
 %.html : %.xml
        $(XSLTPROC) --output $@ \
 
 %.html : %.xml
        $(XSLTPROC) --output $@ \
+                   --stringparam toc.section.depth 3 \
+                   --stringparam section.autolabel 1 \
+                   --stringparam section.label.includes.component.label 1 \
                    --stringparam html.stylesheet fptools.css \
                    $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/docbook.xsl $<
        cp $(FPTOOLS_CSS) .
                    --stringparam html.stylesheet fptools.css \
                    $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/docbook.xsl $<
        cp $(FPTOOLS_CSS) .
@@ -253,6 +256,9 @@ endif
        $(RM) -rf $(dir $@)
        $(XSLTPROC) --stringparam base.dir $(dir $@) \
                    --stringparam use.id.as.filename 1 \
        $(RM) -rf $(dir $@)
        $(XSLTPROC) --stringparam base.dir $(dir $@) \
                    --stringparam use.id.as.filename 1 \
+                   --stringparam toc.section.depth 3 \
+                   --stringparam section.autolabel 1 \
+                   --stringparam section.label.includes.component.label 1 \
                    --stringparam html.stylesheet fptools.css \
                    $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/chunk.xsl $<
        cp $(FPTOOLS_CSS) $(dir $@)
                    --stringparam html.stylesheet fptools.css \
                    $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/chunk.xsl $<
        cp $(FPTOOLS_CSS) $(dir $@)