From: uid50791 Date: Thu, 23 Oct 2003 18:33:02 +0000 (+0000) Subject: Remove index from Next and Previous when X-Git-Tag: release/1.79.1~6^2~4436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2e9ecadd74f1a08c118d14eb95738c38d056ffb;p=docbook-dsssl Remove index from Next and Previous when $generate.index = 0. --- diff --git a/xsl/html/chunk-code.xsl b/xsl/html/chunk-code.xsl index fd94a777a..c1aa0ab21 100644 --- a/xsl/html/chunk-code.xsl +++ b/xsl/html/chunk-code.xsl @@ -232,7 +232,7 @@ |preceding::article[1] |preceding::bibliography[1] |preceding::glossary[1] - |preceding::index[1] + |preceding::index[$generate.index != 0][1] |preceding::setindex[1] |ancestor::set |ancestor::book[1] @@ -316,7 +316,7 @@ |following::colophon[1] |following::bibliography[1] |following::glossary[1] - |following::index[1] + |following::index[$generate.index != 0][1] |following::article[1] |following::setindex[1] |descendant::book[1] @@ -326,7 +326,7 @@ |descendant::article[1] |descendant::bibliography[1] |descendant::glossary[1] - |descendant::index[1] + |descendant::index[$generate.index != 0][1] |descendant::colophon[1] |descendant::setindex[1] |descendant::part[1] @@ -375,7 +375,7 @@ |preceding::article[1] |preceding::bibliography[1] |preceding::glossary[1] - |preceding::index[1] + |preceding::index[$generate.index != 0][1] |preceding::setindex[1] |ancestor::set |ancestor::book[1] @@ -416,7 +416,7 @@ |following::colophon[1] |following::bibliography[1] |following::glossary[1] - |following::index[1] + |following::index[$generate.index != 0][1] |following::article[1] |following::setindex[1] |descendant::book[1] @@ -426,7 +426,7 @@ |descendant::article[1] |descendant::bibliography[1] |descendant::glossary[1] - |descendant::index[1] + |descendant::index[$generate.index != 0][1] |descendant::colophon[1] |descendant::setindex[1] |descendant::part[1]