NetBSD Problem Report #12593
Received: (qmail 27726 invoked from network); 10 Apr 2001 01:37:29 -0000
Message-Id: <200104100137.f3A1bIR24099@zorkmid.mit.edu>
Date: Mon, 9 Apr 2001 21:37:18 -0400 (EDT)
From: John Hawkinson <jhawk@mit.edu>
Reply-To: jhawk@mit.edu
To: gnats-bugs@gnats.netbsd.org
Subject: mdoc: Ic inside .Bd -literal breaks fonts
X-Send-Pr-Version: 3.95
>Number: 12593
>Category: misc
>Synopsis: mdoc: Ic inside .Bd -literal breaks fonts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 10 01:38:00 +0000 2001
>Closed-Date: Sun Jun 12 18:47:22 +0000 2011
>Last-Modified: Sun Jun 12 18:47:22 +0000 2011
>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:
From: "Charles M. Hannum" <abuse@spamalicious.com>
To: John Hawkinson <jhawk@mit.edu>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: misc/12593: mdoc: Ic inside .Bd -literal breaks fonts
Date: Mon, 9 Apr 2001 22:11:23 -0700
On Mon, Apr 09, 2001 at 09:37:18PM -0400, John Hawkinson wrote:
>
> 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.
Literal displays should never, ever have roff commands inside them.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 12 Jun 2011 18:47:22 +0000
State-Changed-Why:
I don't know who, why, how, or when, but this has been fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.