From a347b9923b5d64240b9804b222a09e50d9d51059 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Tue, 1 Oct 2002 05:05:18 +0000 Subject: [PATCH] Changed section.level template to return number that matches the section level (sect1 = 1, etc.), and adjusted templates that use section.level accordingly to produce same output as before. --- xsl/fo/qandaset.xsl | 4 ++-- xsl/fo/refentry.xsl | 2 +- xsl/fo/sections.xsl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xsl/fo/qandaset.xsl b/xsl/fo/qandaset.xsl index d4ccb4a7f..77b14971c 100644 --- a/xsl/fo/qandaset.xsl +++ b/xsl/fo/qandaset.xsl @@ -60,7 +60,7 @@ - + @@ -108,7 +108,7 @@ + select="$sectlvl + 1 + count(ancestor::qandadiv)"/> diff --git a/xsl/fo/refentry.xsl b/xsl/fo/refentry.xsl index 02c09f58d..f92173065 100644 --- a/xsl/fo/refentry.xsl +++ b/xsl/fo/refentry.xsl @@ -337,7 +337,7 @@ diff --git a/xsl/fo/sections.xsl b/xsl/fo/sections.xsl index 4420adcba..49fdd2420 100644 --- a/xsl/fo/sections.xsl +++ b/xsl/fo/sections.xsl @@ -120,7 +120,7 @@ -- 2.40.0