]> granicus.if.org Git - docbook-dsssl/commitdiff
made point size of output for Refsect2 and Refsect3 heads bigger
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 29 Feb 2008 14:44:46 +0000 (14:44 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 29 Feb 2008 14:44:46 +0000 (14:44 +0000)
xsl/manpages/other.xsl
xsl/manpages/refentry.xsl
xsl/manpages/utility.xsl

index 20fbd02f40491b756c90bc9f57134343a5946839..114fb92f0874c3bf1a323cbb2e7d153c650aa604 100644 (file)
@@ -757,6 +757,27 @@ db:manvolnum
 .sp -.6
 \l'\n(.lu'
 .\}
+..&#10;</xsl:text>
+    <xsl:text>.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#10;</xsl:text>
+    <xsl:text>.\" SS - level-two heading that works better for non-TTY output&#10;</xsl:text>
+    <xsl:text>.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#10;</xsl:text>
+    <xsl:text>.de1 SS
+.sp \\n[PD]u
+.nr an-level 1
+.set-an-margin
+.nr an-prevailing-indent \\n[IN]
+.fi
+.in \\n[IN]u
+.ti \\n[SN]u
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.ps \\n[PS-SS]u
+\." make the size of the head bigger
+.ps +2
+.ft B
+.ne (2v + 1u)
+.if \\n[.$] \&amp;\\$*
 ..&#10;</xsl:text>
     <xsl:text>.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#10;</xsl:text>
     <xsl:text>.\" BB/BE - put background/screen (filled box) around block of text&#10;</xsl:text>
index 7f09e1256a023ee1f3755bbf94a0283fd0d91b1c..225b0859f6f9b8ad4e56e1e75de0b140352d8527 100644 (file)
       </xsl:when>
       <xsl:otherwise>
         <!-- * If default-indentation adjustment is on, then do not -->
-        <!-- * indent the child content of thie Refsect2, because -->
+        <!-- * indent the child content of this Refsect2, because -->
         <!-- * the title is already "sticking out to the left" -->
         <!-- * (as the groff_man(7) man page describes it), which -->
         <!-- * actually means the title is indented by the value of -->
       </xsl:when>
       <xsl:otherwise>
         <!-- * If default-indentation adjustment is on, then do not -->
-        <!-- * indent the child content of thie Refsect2, because -->
+        <!-- * indent the child content of this Refsect2, because -->
         <!-- * the title is already "sticking out to the left" -->
         <!-- * (as the groff_man(7) man page describes it), which -->
         <!-- * actually means the title is indented by the value of -->
index 5163944819d49ef571f8e7404448da7256c0a5f0..a68d85cd9b6b1d40456800610fcbf72991c4fd08 100644 (file)
     <xsl:text>.nr an-no-space-flag 1&#10;</xsl:text>
     <xsl:text>.nr an-break-flag 1&#10;</xsl:text>
     <xsl:text>.br&#10;</xsl:text>
-    <!-- * make title wrapper so that we can use mode="bold" template to -->
-    <!-- * apply character formatting to it -->
+    <xsl:text>.ps +1&#10;</xsl:text>
+    <!-- * make title wrapper so that we can use "bold" template to apply -->
+    <!-- * character formatting to it -->
     <xsl:variable name="title.wrapper">
-      <bold><xsl:choose>
+      <xsl:choose>
         <xsl:when test="title">
           <xsl:value-of select="normalize-space(title[1])"/>
         </xsl:when>
         <xsl:otherwise>
           <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
         </xsl:otherwise>
-      </xsl:choose></bold>
+      </xsl:choose>
     </xsl:variable>
     <xsl:call-template name="mark.subheading"/>
-    <xsl:apply-templates mode="bold" select="exsl:node-set($title.wrapper)"/>
+    <xsl:call-template name="bold">
+      <xsl:with-param name="node" select="exsl:node-set($title.wrapper)"/>
+      <xsl:with-param name="context" select="."/>
+    </xsl:call-template>
     <xsl:text>&#10;</xsl:text>
     <xsl:call-template name="mark.subheading"/>
   </xsl:template>