From 0d7e9a2687a36626c10c30bb5f2f43100569fef7 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 20 Jan 2024 08:24:10 +0100 Subject: [PATCH] Fix output of anchors with same id in sect3 The template for sect3.titlepage generates:

i{title of sect3}

resulting in double definition of the same id, which is a validity error in XML documents. Replace with the same template as for sect2, using h3 instead of h2. --- stylesheets/lfs-xsl/xhtml/lfs-titles.xsl | 30 +++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/stylesheets/lfs-xsl/xhtml/lfs-titles.xsl b/stylesheets/lfs-xsl/xhtml/lfs-titles.xsl index c03bf26350..a82a3a99f7 100644 --- a/stylesheets/lfs-xsl/xhtml/lfs-titles.xsl +++ b/stylesheets/lfs-xsl/xhtml/lfs-titles.xsl @@ -127,23 +127,25 @@ + Same as sect2 except it uses h3 --> -

- - - - - - . - - -

+ + + +

+ + + + + + . + + +

+ +
-