Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2003 19:56:54 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: ".It Xo" ... generates improper output on groff 1.18.1
Message-ID:  <20030514165654.GC20927@sunbay.com>
In-Reply-To: <20030513072849.GD962@gothmog.gr>
References:  <20030512.010014.74754261.horikawa@attbi.com> <20030512105048.GB711@gothmog.gr> <20030512.234234.74754585.horikawa@attbi.com> <20030513072849.GD962@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

--jousvV0MzM2p6OtC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 13, 2003 at 10:28:49AM +0300, Giorgos Keramidas wrote:
> 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?
>=20
> Hmmm.  Good point.  No, it issues a warning:
>=20
> : $ 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
>=20
> This patch fixes the warnings by putting all the arguments of .It macros
> on the same line:
>=20
> <<<<<
> Index: fdisk.8
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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
> >>>>>
>=20
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,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@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

--jousvV0MzM2p6OtC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+wnVWUkv4P6juNwoRAkDVAJwLIPjJEai1NJayGqs/gAR5QEDgLQCdFMm3
Tadf8Fw3Sz6WtDI8pNQ5AsI=
=wjyl
-----END PGP SIGNATURE-----

--jousvV0MzM2p6OtC--



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