From 1545af592c7af03eb23c204a9085ddd49342c8fc Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Thu, 2 Jan 2003 13:45:34 +0000 Subject: [PATCH] Rework indexing to avoid XSLT limitation/Saxon bug with context dependencies; finish porting Bob's changes from FO to HTML --- xsl/fo/autoidx.xsl | 76 ++++++++++++++++++++-- xsl/fo/index.xsl | 24 ++----- xsl/html/autoidx.xsl | 149 +++++++++++++++++++++++++++++++++---------- xsl/html/index.xsl | 8 +-- 4 files changed, 194 insertions(+), 63 deletions(-) diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index ec0a028ad..101d59e74 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -55,20 +55,58 @@ match="indexterm[see]" use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/> + + - + + + + + + + + + + + + + + + + + + + + + + @@ -102,6 +140,7 @@ + @@ -116,8 +155,8 @@ - + @@ -391,14 +430,37 @@ - + + + + + + + + + + + + + + + + + + + + + + - - + diff --git a/xsl/fo/index.xsl b/xsl/fo/index.xsl index acddfceda..ef492bed1 100644 --- a/xsl/fo/index.xsl +++ b/xsl/fo/index.xsl @@ -24,9 +24,7 @@ - - - + @@ -35,9 +33,7 @@ - - - + @@ -90,18 +86,14 @@ white-space-collapse='false' xsl:use-attribute-sets="monospace.verbatim.properties" linefeed-treatment="preserve"> - - - + - - - + @@ -155,18 +147,14 @@ white-space-collapse='false' xsl:use-attribute-sets="monospace.verbatim.properties" linefeed-treatment="preserve"> - - - + - - - + diff --git a/xsl/html/autoidx.xsl b/xsl/html/autoidx.xsl index 4f9f65b21..41803d2c6 100644 --- a/xsl/html/autoidx.xsl +++ b/xsl/html/autoidx.xsl @@ -85,19 +85,54 @@ + + - + + + + + + + + + + + + + + + + + + + @@ -111,30 +146,37 @@
+
+
+ + + +

- +
@@ -142,38 +184,51 @@ + + - + + + - + +
- - + + + + + - +
+
- + - +
@@ -182,30 +237,39 @@ + + +
- - + + + + - +
+
- + - +
@@ -214,30 +278,39 @@ + + +
- - + + + + - +
+
- + - +
@@ -246,6 +319,7 @@ + @@ -253,6 +327,7 @@ + @@ -271,8 +346,9 @@ - + @@ -281,11 +357,13 @@ + + - + @@ -298,11 +376,12 @@ , + - + @@ -317,6 +396,8 @@ + + ( @@ -327,13 +408,17 @@ - ( - - - - - - ) + + +
+ ( + + + + + + ) +
diff --git a/xsl/html/index.xsl b/xsl/html/index.xsl index 3b1e0b658..cfbb4248a 100644 --- a/xsl/html/index.xsl +++ b/xsl/html/index.xsl @@ -33,9 +33,7 @@ - - - + @@ -64,9 +62,7 @@ - - - + -- 2.40.0