From 47ec574bf89e9e3ba2d3e9daa62031930454dba9 Mon Sep 17 00:00:00 2001 From: Karl-Gustav Freding <31445980+Gusse500@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:53:11 +0100 Subject: [PATCH] Style sheets: fiks docbook-xsl feil i autoidx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Malen kalt generate-basic-index i {docbook-xsl}/xhtml/autoidx.xsl har en feil som genererer et div-element med feil xmlns:xlink-attributt. Se https://github.com/docbook/xslt10-stylesheets/issues/239. I stedet for å fikse docbook-xsl, som ville fungere bare i LFS (men vi ønsker å kunne gjengi på andre distroer), kopier den defekte malen til våre tilpasningsfiler (lfs-index.xsl), slik at denne brukes. Vi kan også forenkle det mye siden vi ikke trenger alle sakene dekket i generate-basic-indexl. --- stylesheets/lfs-xsl/xhtml/lfs-index.xsl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/stylesheets/lfs-xsl/xhtml/lfs-index.xsl b/stylesheets/lfs-xsl/xhtml/lfs-index.xsl index 806979c..a7f627c 100644 --- a/stylesheets/lfs-xsl/xhtml/lfs-index.xsl +++ b/stylesheets/lfs-xsl/xhtml/lfs-index.xsl @@ -24,6 +24,28 @@ longindex.html + + + + + +
+ + + + + +
+
+