From a848027115534554445039d96a9ca57ca07d228e Mon Sep 17 00:00:00 2001 From: uid50791 Date: Thu, 23 Oct 2003 18:33:02 +0000 Subject: [PATCH] Remove index from Next and Previous when $generate.index = 0. --- xsl/html/chunk-code.xsl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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] -- 2.40.0