]> granicus.if.org Git - docbook-dsssl/commitdiff
Make sure that all listitems in itemizedlist and orderedlist are
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 7 Feb 2007 16:40:42 +0000 (16:40 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 7 Feb 2007 16:40:42 +0000 (16:40 +0000)
preceded by a blank line. This fixes a regression that occurred
when instances of the TP macro that were use in a previous
versions of the list-handling code were switched to RS/RE (because
TP doesn't support nesting). TP automatically generates a blank
line, but RS doesn't. So I added a .sp before each .RS

xsl/manpages/lists.xsl

index 8f5094c6b94a50be927c945846961349fabfaba7..291f4c333a4c86a930b09d9ce9270bf5e761993e 100644 (file)
   <!-- * processing before final output, the character-map will -->
   <!-- * handle conversion of the &#x2022; to "\(bu" for us -->
   <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;sp</xsl:text>
+  <xsl:text>&#10;</xsl:text>
   <xsl:text>&#x2302;RS</xsl:text>
   <xsl:if test="not($list-indent = '')">
     <xsl:text> </xsl:text>
 </xsl:template>
 
 <xsl:template match="orderedlist/listitem|procedure/step">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;sp</xsl:text>
   <xsl:text>&#10;</xsl:text>
   <xsl:text>&#x2302;RS</xsl:text>
   <xsl:if test="not($list-indent = '')">