]> granicus.if.org Git - docbook-dsssl/commitdiff
make sure refsect3 titles are preceded by a line of space, and
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 29 Mar 2008 02:28:55 +0000 (02:28 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 29 Mar 2008 02:28:55 +0000 (02:28 +0000)
make the indenting of their child content less severe

xsl/manpages/refentry.xsl
xsl/manpages/utility.xsl

index 225b0859f6f9b8ad4e56e1e75de0b140352d8527..09e8f61c96164ecb9f97ca02804426985f4ec161 100644 (file)
       <!-- * child content of this Refsect3 or Refsection. -->
       <xsl:when test="not($man.indent.refsect != 0)">
         <xsl:call-template name="nested-section-title"/>
-        <xsl:text>.RS&#10;</xsl:text>
+        <xsl:text>.RS</xsl:text>
+        <xsl:if test="not($man.indent.width = '')">
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$man.indent.width"/>
+        </xsl:if>
+        <xsl:text>&#10;</xsl:text>
         <xsl:apply-templates/>
         <xsl:text>.RE&#10;</xsl:text>
       </xsl:when>
index 8212399ad49d9450084e3a8edf2bcb0d0342fc2f..d752e3495a6d7d13cfa8dccb5b08b77e94037962 100644 (file)
   <!-- * The nested-section-title template is called for refsect3, and any -->
   <!-- * refsection nested more than 2 levels deep. -->
   <xsl:template name="nested-section-title">
+    <xsl:text>.sp&#10;</xsl:text>
     <xsl:call-template name="pinch.together"/>
     <xsl:text>.ps +1&#10;</xsl:text>
     <xsl:call-template name="make.bold.title"/>