]> granicus.if.org Git - docbook-dsssl/commitdiff
don't bother using a custom register to store the previous
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 10 Mar 2008 02:56:27 +0000 (02:56 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 10 Mar 2008 02:56:27 +0000 (02:56 +0000)
font-family value when setting blocks of text in code font; just
use \F[] .fam with no arg to switch back

xsl/manpages/utility.xsl

index aa33bf7db7e66461b16343c967f5b1adf4392c12..d25a191f5ac827b5a020e474bc94ab0d7359f04b 100644 (file)
   <!-- ================================================================== -->
 
   <xsl:template name="verbatim-block-start">
-    <xsl:call-template name="store-current-font-family"/>
     <xsl:text>.fam C&#10;</xsl:text>
     <xsl:text>.ps -1&#10;</xsl:text>
   </xsl:template>
 
   <xsl:template name="verbatim-block-end">
-    <xsl:text>.fam \*(ZX&#10;</xsl:text>
+    <xsl:text>.fam&#10;</xsl:text>
     <xsl:text>.ps +1&#10;</xsl:text>
   </xsl:template>
 
   </xsl:template>
 
   <xsl:template name="code-inline-end">
-    <xsl:text>\F[\*(ZX]</xsl:text>
-  </xsl:template>
-
-  <xsl:template name="store-current-font-family">
-    <xsl:text>.ds ZX \n[.fam]&#10;</xsl:text>
+    <xsl:text>\F[]</xsl:text>
   </xsl:template>
 
   <!-- ================================================================== -->