<!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- * (re)define some macros -->
<!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <xsl:call-template name="define.portability.macros"/>
<xsl:if test="not($man.output.better.ps.enabled = 0)">
<xsl:call-template name="define.macros"/>
</xsl:if>
<xsl:call-template name="string.subst">
<xsl:with-param name="string" select="$content"/>
<xsl:with-param name="target">'</xsl:with-param>
- <xsl:with-param name="replacement">\'</xsl:with-param>
+ <xsl:with-param name="replacement">\*(Aq</xsl:with-param>
</xsl:call-template>
</xsl:template>
<!-- ============================================================== -->
+ <!-- There is some stuff, that is not portable between groff/troff. -->
+ <xsl:template name="define.portability.macros">
+ <xsl:text>.\" ----------------------------------------------------------------- </xsl:text>
+ <xsl:text>.\" * Define some portability stuff </xsl:text>
+ <xsl:text>.\" ----------------------------------------------------------------- </xsl:text>
+ <xsl:text>.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </xsl:text>
+ <xsl:text>.\" http://bugs.debian.org/507673 </xsl:text>
+ <xsl:text>.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html </xsl:text>
+ <xsl:text>.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </xsl:text>
+ <xsl:text> </xsl:text>
+ <xsl:text>.ie \n(.g .ds Aq \(aq</xsl:text>
+ <xsl:text> </xsl:text>
+ <xsl:text>.el .ds Aq '</xsl:text>
+ <xsl:text> </xsl:text>
+ </xsl:template>
+
+ <!-- ============================================================== -->
+
<xsl:template name="define.macros">
<xsl:text>.\" ----------------------------------------------------------------- </xsl:text>
<xsl:text>.\" * (re)Define some macros </xsl:text>