]> granicus.if.org Git - docbook-dsssl/commit
Funcsynopsisinfo must be handled as a verbatim.
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 10 Mar 2006 12:13:03 +0000 (12:13 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 10 Mar 2006 12:13:03 +0000 (12:13 +0000)
commitf626caaa29f259bd5b628dade5821ad26a8efe9f
treeea5e97377f44df42083b62f5de156b4410dc8782
parentefe9e98dc6e4336c0b7d92fe055062e74da0fe08
Funcsynopsisinfo must be handled as a verbatim.
Problem:: Existing code was not preserving breaks and whitespace
in Funcsynopsisinfo. Cause:: Lack of awareness that
Funcsynopsisinfo is a verbatim environment. Fix:: Handle in
Funcsynopsisinfo in the same way as other verbatims (that is,
wrap in .nf/.fi requests. Additional problem: According to man(7)
man page and existing man2/ pages, all parts of a funcsynopsis
that are not args must be in bold. But because Funcsynopsisinfo
is a verbatim, it needs different roff bold markup than other
stuff. So wrapped it in ".ft B"/ft pair. (Perhaps it might make
sense to wrap the whole funcsynopsis in ".ft B"/ft instead of
trying to bold/unbold at the word level, as we are doing now. Or
perhaps not.)

Closes bug #1447121. Thanks to Joe Orton for reporting.
xsl/manpages/block.xsl
xsl/manpages/synop.xsl