projects
/
docbook-dsssl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314c285
)
index is defined as chunk only if $generate.index != 0.
author
Bob Stayton
<bobs@sagehill.net>
Fri, 13 Aug 2004 08:26:04 +0000
(08:26 +0000)
committer
Bob Stayton
<bobs@sagehill.net>
Fri, 13 Aug 2004 08:26:04 +0000
(08:26 +0000)
xsl/html/chunk-common.xsl
patch
|
blob
|
history
diff --git
a/xsl/html/chunk-common.xsl
b/xsl/html/chunk-common.xsl
index 6748caaf0d712b9a278fed118073fa8587edbfb2..66d25e334342b8c0bcfd58dd7e5d23c83d20db58 100644
(file)
--- a/
xsl/html/chunk-common.xsl
+++ b/
xsl/html/chunk-common.xsl
@@
-116,7
+116,7
@@
<xsl:when test="name($node)='part'">1</xsl:when>
<xsl:when test="name($node)='reference'">1</xsl:when>
<xsl:when test="name($node)='refentry'">1</xsl:when>
- <xsl:when test="name($node)='index'
+ <xsl:when test="name($node)='index'
and $generate.index != 0
and (name($node/parent::*) = 'article'
or name($node/parent::*) = 'book')">1</xsl:when>
<xsl:when test="name($node)='bibliography'