From 9cc025e4b1bf85af76ab68af2cdc6a9aa11f9882 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Tue, 1 Oct 2002 05:06:27 +0000 Subject: [PATCH] Changed section.level template to return a number that matches the section level (sect1 = 1, etc.), and changed other templates to compensate for the change, so the output should be the same as before. --- xsl/html/sections.xsl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/xsl/html/sections.xsl b/xsl/html/sections.xsl index d4f384e47..20782735d 100644 --- a/xsl/html/sections.xsl +++ b/xsl/html/sections.xsl @@ -251,10 +251,12 @@ - + + + title - + clear: both @@ -301,9 +303,9 @@ or local-name($container) = 'index' or local-name($container) = 'partintro' or local-name($container) = 'preface' - or local-name($container) = 'setindex'">2 + or local-name($container) = 'setindex'">1 - + - 2 + 1 - + + 2 3 @@ -334,12 +337,12 @@ 5 6 - + - + -- 2.50.1