From: Michael Smith Date: Thu, 27 Apr 2006 09:40:33 +0000 (+0000) Subject: Added the autotoc.label.in.hyperlink param. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2985d918f30b5ffd6882f25345b9540ba8c8297;p=docbook-dsssl Added the autotoc.label.in.hyperlink param. If the value of autotoc.label.in.hyperlink is non-zero, labels are included in hyperlinked titles in the TOC. If it is instead zero, labels are still displayed prior to the hyperlinked titles, but are not hyperlinked along with the titles. Closes patch #1065868. Thanks to anatoly techtonik for the patch. --- diff --git a/xsl/html/autotoc.xsl b/xsl/html/autotoc.xsl index e9016d37f..d381694a0 100644 --- a/xsl/html/autotoc.xsl +++ b/xsl/html/autotoc.xsl @@ -276,6 +276,19 @@ + + + + + + + + + + + + + @@ -283,6 +296,9 @@ + + + @@ -290,6 +306,7 @@ + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index d9211a293..790aedb87 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -7,6 +7,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 020a22794..5bf21b276 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -83,6 +83,7 @@ stylesheet like this: ToC/LoT/Index Generation &annotate.toc; &autotoc.label.separator; +&autotoc.label.in.hyperlink; &process.source.toc; &process.empty.source.toc; &bridgehead.in.toc; @@ -463,6 +464,7 @@ around all these parameters. + diff --git a/xsl/params/autotoc.label.in.hyperlink.xml b/xsl/params/autotoc.label.in.hyperlink.xml new file mode 100644 index 000000000..15f93d086 --- /dev/null +++ b/xsl/params/autotoc.label.in.hyperlink.xml @@ -0,0 +1,24 @@ + + +autotoc.label.in.hyperlink +boolean + + +autotoc.label.in.hyperlink +Include lable in hyperlinked titles in TOC? + + + + + + +Description + +If the value of +autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it is instead zero, +labels are still displayed prior to the hyperlinked titles, but +are not hyperlinked along with the titles. + + +