From 827e0211387f3d49f2324b5714a52d0c5f5a3100 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 1 Jun 2005 10:25:17 +0000 Subject: [PATCH] Corrected formatting of generated "Name" title in refentry output (closes #1212396; thanks to Andreas Lalloo for reporting the problem). :Problem:: The "Name" title generated for FO output of Refnamediv in Refentry is not aligned flush left, as all the other subheadings of Refentry are, and as the generated Name subheading for Refentry is in HTML output. Also, the Name title is in a larger font size than the titles of the other first-level children of Refentry. :Fix:: The "Name" title generated for FO output of Refnamediv in Refentry is now handled using the same formatting as that used for all other first-level children of Refentry. ::Affects: Along with affecting processing for generated titles for Refnamediv in FO output, it is possible that this change may have unanticipated side effects on processing of titles for Refsynopsisdiv, Refsection, and Refsect1 to Refsect3. The reason is that part of this change takes the template contents formerly used only for processing Refsynopsisdiv, Refsection, and Refsect1 to Refsect3, and "repurposes" those template contents for use in processing the generated title for Refnamediv. --- xsl/fo/refentry.xsl | 106 +++++++++++++++++++++++++++++++++++-------- xsl/fo/titlepage.xsl | 5 ++ 2 files changed, 93 insertions(+), 18 deletions(-) diff --git a/xsl/fo/refentry.xsl b/xsl/fo/refentry.xsl index 0712d0dc1..78c7061d4 100644 --- a/xsl/fo/refentry.xsl +++ b/xsl/fo/refentry.xsl @@ -285,6 +285,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -292,13 +334,6 @@ - - - - - - - @@ -307,12 +342,9 @@ - - - @@ -360,6 +392,7 @@ + @@ -496,7 +529,32 @@ |refsect3/title" mode="titlepage.mode" priority="2"> - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -511,14 +569,26 @@ - - - + + + + + + + + + + + + + + + @@ -526,16 +596,16 @@ - + false - + - + diff --git a/xsl/fo/titlepage.xsl b/xsl/fo/titlepage.xsl index b7a4f1a3b..d28a63d90 100644 --- a/xsl/fo/titlepage.xsl +++ b/xsl/fo/titlepage.xsl @@ -121,6 +121,11 @@ + + +