Subject: misc/12593: mdoc: Ic inside .Bd -literal breaks fonts
To: None <gnats-bugs@gnats.netbsd.org>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 04/09/2001 21:37:18
>Number: 12593
>Category: misc
>Synopsis: mdoc: Ic inside .Bd -literal breaks fonts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 09 18:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: John Hawkinson
>Release: NetBSD 1.5
>Organization:
MIT
>Environment:
System: NetBSD zorkmid.mit.edu 1.5T NetBSD 1.5T (ZORKMID-$Revision: 1.8 $) #91: Mon Apr 2 16:17:26 EDT 2001 jhawk@zorkmid.mit.edu:/usr/local/netbsd-current/src/sys/arch/i386/compile/ZORKMID i386
>Description:
Using the .Ic request inside a .Bd -literal request under mandoc
causes the document fonr to change from proportional to monospaced. THis
is only obvious when using the postscript output device, and not when
using nroff.
>How-To-Repeat:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# fontchange
#
echo x - fontchange
sed 's/^X//' >fontchange << 'END-of-fontchange'
XLorem ipsum dolor
X.Bd -literal
X.Ic foo
X.Ed
XLorem ipsum dolor
END-of-fontchange
exit
And run:
groff -mdoc fontchange | gv -
>Fix:
Use .Bd -unfilled for the short term workaround.
>Release-Note:
>Audit-Trail:
>Unformatted: