From 7fb8f776a29e611ce0e7a0a40e3f14fb67b7e921 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 1 Jan 2003 20:33:19 +0000 Subject: [PATCH] Make index elements always index the book that contains them (if there is one, otherwise the whole document); setindex always indexes the whole document --- xsl/fo/autoidx.xsl | 8 +++-- xsl/fo/index.xsl | 81 +++++++++++++++++++++++++++++++++++++++++--- xsl/html/autoidx.xsl | 4 ++- xsl/html/index.xsl | 37 ++++++++++++++++++-- 4 files changed, 121 insertions(+), 9 deletions(-) diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index 78c23c343..ec0a028ad 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -56,9 +56,11 @@ use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/> + + + + - - + + + @@ -33,7 +35,9 @@ - + + + @@ -86,14 +90,83 @@ white-space-collapse='false' xsl:use-attribute-sets="monospace.verbatim.properties" linefeed-treatment="preserve"> - + + + - + + + + + + + + + + + + + + + + + + + + + body + + + + + + + + + + + + + auto-odd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/html/autoidx.xsl b/xsl/html/autoidx.xsl index aacaac1e8..4f9f65b21 100644 --- a/xsl/html/autoidx.xsl +++ b/xsl/html/autoidx.xsl @@ -86,8 +86,10 @@ + + - + @@ -33,7 +33,40 @@ - + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + -- 2.40.0