]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed handling of groff font requests output for Refsect1/Title
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 20 Sep 2005 11:30:45 +0000 (11:30 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 20 Sep 2005 11:30:45 +0000 (11:30 +0000)
instances. Closes #1296252. Thanks to Paul DuBois for reporting.

Problem:
Instances of \\FB (instead of \\fB) in output for
Refsect1/Title.

Cause:
All content of Refsect1/Title gets uppercased (including any groff
requests that end up in the output.

Fix:
Added s/\\FB/\fB/, etc., matches to value of man.string.subst.map
param. (man.string.subst.map is basically used for "cleaning up"
borked groff markup output from initial formatting pass).

Affects:
This affects output of titles for all Refsect1-level headings in
manpages output.

xsl/params/man.string.subst.map.xml

index 4a4dfdb8d965c7ea0eba0649f14c8f0ed19b103a..70afcf9bd7a45fd4b9814247f7418049d0cb15d0 100644 (file)
   <substitution oldstring="\\fB" newstring="\fB"/>
   <substitution oldstring="\\fI" newstring="\fI"/>
   <substitution oldstring="\\fR" newstring="\fR"/>
+  <!-- * requests in .SH sectsions output from Refsect1-level source -->
+  <!-- * end up getting capitalized... -->
+  <substitution oldstring="\\FB" newstring="\fB"/>
+  <substitution oldstring="\\FI" newstring="\fI"/>
+  <substitution oldstring="\\FR" newstring="\fR"/>
   <substitution oldstring='\\%' newstring='\%'/>
   <substitution oldstring='\\&amp;' newstring='\&amp;'/>
   <substitution oldstring='.\\"' newstring='.\"'/>