Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2003 10:28:49 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        horikawa@jp.freebsd.org
Cc:        ru@FreeBSD.org
Subject:   Re: ".It Xo" ... generates improper output on groff 1.18.1
Message-ID:  <20030513072849.GD962@gothmog.gr>
In-Reply-To: <20030512.234234.74754585.horikawa@attbi.com>
References:  <20030512.010014.74754261.horikawa@attbi.com> <20030512105048.GB711@gothmog.gr> <20030512.234234.74754585.horikawa@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-12 23:42, horikawa@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
>>>>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513072849.GD962>