".It Xo" ... generates improper output on groff 1.18.1

Ruslan Ermilov ru at FreeBSD.org
Wed May 14 16:57:22 UTC 2003


On Tue, May 13, 2003 at 10:28:49AM +0300, Giorgos Keramidas wrote:
> On 2003-05-12 23:42, horikawa at jp.freebsd.org wrote:
> >
> > But, I am afraid you will see "warning: missing closing delimiter"
> > if you have:
> > 	.Bl -tag -width ".Em cyl , sector No and Em head"
> > instead of:
> > 	.Bl -tag
> >
> > As I did not have a chance to reinstall a recent -current, I installed
> > groff 1.19 and got the same warning when I format fdisk(8).
> >
> > Can you format fdisk(8) without warning using groff 1.19?
> 
> Hmmm.  Good point.  No, it issues a warning:
> 
> : $ zcat /usr/share/man/man8/fdisk.8.gz | groff -z -ww -mandoc
> : <standard input>:195: warning: missing closing delimiter
> : <standard input>:204: warning: missing closing delimiter
> 
> This patch fixes the warnings by putting all the arguments of .It macros
> on the same line:
> 
> <<<<<
> Index: fdisk.8
> ===================================================================
> RCS file: /home/ncvs/src/sbin/fdisk/fdisk.8,v
> retrieving revision 1.34
> diff -u -r1.34 fdisk.8
> --- fdisk.8     21 Aug 2002 18:10:07 -0000      1.34
> +++ fdisk.8     13 May 2003 07:25:06 -0000
> @@ -188,20 +188,12 @@
>  .Fx
>  reserves the
>  magic number 165 decimal (A5 in hex).
> -.It Xo
> -.Em start
> -and
> -.Em size
> -.Xc
> +.It Xo Em start No and Em size Xc
>  fields provide the start address
>  and size of a slice in sectors.
>  .It Em "flag 80"
>  specifies that this is the active slice.
> -.It Xo
> -.Em cyl , sector
> -and
> -.Em head
> -.Xc
> +.It Xo Em cyl , sector No and Em head Xc
>  fields are used to specify the beginning and end addresses of the slice.
>  .El
>  .Pp
> >>>>>
> 
This is a bug in Groff that's beyond the scope of my knowledge
of its internals; I've notified the Groff maintainer.  He is
usually fast at replying.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software AG,
ru at FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030514/646fbb7a/attachment.sig>


More information about the freebsd-doc mailing list