From: Bob Stayton Date: Tue, 1 Oct 2002 05:05:18 +0000 (+0000) Subject: Changed section.level template to return number that matches X-Git-Tag: release/1.79.1~6^2~5199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7769d81176bdfc032547b494965bb3b5286bdd27;p=docbook-dsssl 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. --- 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 @@