From d5fda0bce5cf42774c669dbefb71f84f8bc6e745 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 17 Jan 2024 14:41:09 +0100 Subject: Style sheets: fix docbook-xsl bug in autoidx The template named generate-basic-index in {docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element with a wrong xmlns:xlink attribute. See https://github.com/docbook/xslt10-stylesheets/issues/239. Rather than fixing docbook-xsl, which would work only in LFS (but we want to be able to render on other distros), copy the faulty template to our customization files (lfs-index.xsl), so that this one is used. We can also simplify it a lot since we don't need all the cases covered in general docbook-xsl. --- stylesheets/lfs-xsl/xhtml/lfs-index.xsl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'stylesheets/lfs-xsl/xhtml') diff --git a/stylesheets/lfs-xsl/xhtml/lfs-index.xsl b/stylesheets/lfs-xsl/xhtml/lfs-index.xsl index 806979c19..a7f627cf6 100644 --- a/stylesheets/lfs-xsl/xhtml/lfs-index.xsl +++ b/stylesheets/lfs-xsl/xhtml/lfs-index.xsl @@ -24,6 +24,28 @@ longindex.html + + + + + +
+ + + + + +
+
+