]> granicus.if.org Git - docbook-dsssl/commitdiff
Use "\e" instead of "\\" for backslash output, because the
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 19 Jan 2007 08:54:04 +0000 (08:54 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 19 Jan 2007 08:54:04 +0000 (08:54 +0000)
groff docs say that's the correct thing to do; also because
testing (thanks, Paul Dubois) shows that "\\" doesn't always
work as expected; for example, "\\" within a table seems to
mess things up.

xsl/manpages/charmap.groff.xsl
xsl/params/man.string.subst.map.xml

index c2cb599939870811da576d3f633e9922a8e8f29d..176140f34323850ccfc2826dfc3bb9ab126a4264 100644 (file)
    character="&#x2216;"
    u:name="SET MINUS"
    u:entity="setmn"
-   string="\\"
+   string="\e"
    u:block="Mathematical Operators"
    />
   <xsl:output-character
index fb718d9dc190c6e1b5ee5d20cb5bbd1482d5cf90..804f84467d6fe114723867a2327b78938f00ff87 100644 (file)
   <!-- *  -->
   <!-- ******************************************************************** -->
 
-  <!-- * escape backslashes in content -->
-  <substitution oldstring="\" newstring="\\"/>
+  <!-- * escape backslashes in content; we use "\e" instead of "\\" -->
+  <!-- * because the groff docs say that's the correct thing to do; also -->
+  <!-- * because testing shows that "\\" doesn't always work as expected; -->
+  <!-- * for example, "\\" within a table seems to mess things up -->
+  <substitution oldstring="\" newstring="\e"/>
   <!-- * fix bad font-request capitalization in .SH (stylesheet artifact) -->
   <substitution oldstring="&#x2593;FB" newstring="\fB"/>
   <substitution oldstring="&#x2593;FI" newstring="\fI"/>