]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix two indentation issues: In the first case there is no corresponding .RS
authorDaniel Leidert <dleidert@debian.org>
Mon, 2 Nov 2009 02:38:47 +0000 (02:38 +0000)
committerDaniel Leidert <dleidert@debian.org>
Mon, 2 Nov 2009 02:38:47 +0000 (02:38 +0000)
macro (Debian #519438, sf.net 2793873). In the second case an .RS instead of
the probably intended .sp leads to an indentation bug (Debian #527309,
sf.net #2642139).

xsl/manpages/lists.xsl

index 62d7eae09439c0e26afcb24af72be7e1fb315e66..42d487fa83be58cb93c502de9ddcf9bfd36abc83 100644 (file)
   <!-- * it, within the same para, then add a blank line and move -->
   <!-- * the left margin back to where it was -->
   <xsl:if test="parent::para and following-sibling::node()">
-    <xsl:text>.sp&#10;</xsl:text>
-    <xsl:text>.RE&#10;</xsl:text>
+    <xsl:text>.sp</xsl:text>
+    <xsl:text>&#10;</xsl:text>
   </xsl:if>
 </xsl:template>
 
     parent::para[following-sibling::node()] or
     parent::simpara[following-sibling::node()] or
     parent::remark[following-sibling::node()]">
-    <xsl:text>.RS</xsl:text> 
-    <xsl:if test="not($list-indent = '')">
-      <xsl:text> </xsl:text>
-      <xsl:value-of select="$list-indent"/>
-    </xsl:if>
+    <xsl:text>.sp</xsl:text> 
     <xsl:text>&#10;</xsl:text>
   </xsl:if>
 </xsl:template>