From 5c60289de90c6de214d2532f3314a9d9b7669a1c Mon Sep 17 00:00:00 2001 From: hryom Date: Mon, 18 Sep 2017 08:57:23 +0200 Subject: [PATCH 1/6] use a function similar to group-index to sort secundary and tertiary indexterms --- xsl/common/autoidx-kosek.xsl | 153 +++++++++++++++++++++++++++++++++++ xsl/fo/autoidx-kosek.xsl | 2 +- xsl/fo/autoidx.xsl | 16 ++-- xsl/html/autoidx-kosek.xsl | 2 +- xsl/html/autoidx.xsl | 20 ++--- 5 files changed, 173 insertions(+), 20 deletions(-) diff --git a/xsl/common/autoidx-kosek.xsl b/xsl/common/autoidx-kosek.xsl index 9f8ae4f56..19e06af6a 100644 --- a/xsl/common/autoidx-kosek.xsl +++ b/xsl/common/autoidx-kosek.xsl @@ -150,4 +150,157 @@ match="d:indexterm" use="i:group-index(&primary;)"/> + + + + + + + + + + + + + + + + + + + + + + + No " + + " localization of index grouping letters exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No " + + " normalizing translate strings exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/fo/autoidx-kosek.xsl b/xsl/fo/autoidx-kosek.xsl index e87f2291e..16e7cfdc3 100644 --- a/xsl/fo/autoidx-kosek.xsl +++ b/xsl/fo/autoidx-kosek.xsl @@ -125,7 +125,7 @@ [count(.|key('primary', &primary;) [&scope;][1])=1]" mode="index-primary"> - + diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index b92e81b2d..d1a55bb8c 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -389,7 +389,7 @@ - + @@ -402,14 +402,14 @@ - + - + @@ -507,7 +507,7 @@ - + @@ -520,14 +520,14 @@ - + - + @@ -628,7 +628,7 @@ - + @@ -641,7 +641,7 @@ - + diff --git a/xsl/html/autoidx-kosek.xsl b/xsl/html/autoidx-kosek.xsl index 8f989ccff..a5f4822b6 100644 --- a/xsl/html/autoidx-kosek.xsl +++ b/xsl/html/autoidx-kosek.xsl @@ -106,7 +106,7 @@
- + diff --git a/xsl/html/autoidx.xsl b/xsl/html/autoidx.xsl index 7e2d5af4f..3c7742152 100644 --- a/xsl/html/autoidx.xsl +++ b/xsl/html/autoidx.xsl @@ -358,7 +358,7 @@ - + @@ -372,7 +372,7 @@ - + - +
@@ -449,7 +449,7 @@ - + @@ -463,7 +463,7 @@ - + - + @@ -541,7 +541,7 @@ - + @@ -555,7 +555,7 @@ - + @@ -780,8 +780,8 @@ - - + + From 188bc11e11e6dacb789c8ba64e667e716232ccc7 Mon Sep 17 00:00:00 2001 From: hryom Date: Sat, 23 Sep 2017 20:40:04 +0200 Subject: [PATCH 2/6] missing namespace declarations added --- xsl/fo/autoidx.xsl | 3 ++- xsl/html/autoidx.xsl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index d1a55bb8c..87a2a9bc0 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -10,8 +10,9 @@ xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" xmlns:exslt="http://exslt.org/common" + xmlns:i="urn:cz-kosek:functions:index" extension-element-prefixes="exslt" - exclude-result-prefixes="exslt d" + exclude-result-prefixes="exslt d i" version="1.0"> + + + + + + + + + + + + + + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + ) + + + + + + + diff --git a/xsl/html/autoidx-kosek.xsl b/xsl/html/autoidx-kosek.xsl index a5f4822b6..661638401 100644 --- a/xsl/html/autoidx-kosek.xsl +++ b/xsl/html/autoidx-kosek.xsl @@ -116,4 +116,331 @@ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + +
+
+
+ + +
+
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ( + + + + + + + + + + + + + + + + + + + + + + + + + ) +
+ + +
+
+
+ + From af40afe261cf6c71850ced0c73ba5cbd5f16fd35 Mon Sep 17 00:00:00 2001 From: hryom Date: Sat, 28 Jul 2018 18:07:40 +0200 Subject: [PATCH 4/6] Revert "missing namespace declarations added" This reverts commit 70fcf97305213b06c1cd5030b0b91eb07b112b82. --- xsl/fo/autoidx.xsl | 3 +-- xsl/html/autoidx.xsl | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index 87a2a9bc0..d1a55bb8c 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -10,9 +10,8 @@ xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" xmlns:exslt="http://exslt.org/common" - xmlns:i="urn:cz-kosek:functions:index" extension-element-prefixes="exslt" - exclude-result-prefixes="exslt d i" + exclude-result-prefixes="exslt d" version="1.0">