OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] docbook-xsl spacing with manpage orderedlist


On Tue, Mar 31, 2009 at 09:07:41AM -0700, Bob Stayton wrote:

> This was an issue when simpara was used, and it has been fixed.  Try 
> version 1.74.3.

I still see the problem with 1.74.3. I can "fix" it with the patch
below, but I would not be surprised if that is breaking some other
situation.

diff --git a/manpages/lists.xsl b/manpages/lists.xsl
index a43e833..9e4fa10 100644
--- a/manpages/lists.xsl
+++ b/manpages/lists.xsl
@@ -173,7 +173,6 @@
 </xsl:template>
 
 <xsl:template match="orderedlist/listitem|procedure/step">
-  <xsl:text>&#10;</xsl:text>
   <xsl:text>.sp</xsl:text>
   <xsl:text>&#10;</xsl:text>
   <xsl:text>.RS</xsl:text>
@@ -233,6 +232,7 @@
   <xsl:apply-templates/>
   <xsl:text>.RE&#10;</xsl:text>
   <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#10;</xsl:text>
 </xsl:template>
 
 <xsl:template match="itemizedlist|orderedlist|procedure">


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]