From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kerhand.co.uk (_smtpd@82-69-137-214.dsl.in-addr.zen.co.uk [82.69.137.214]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o76Hq2JB028146 for ; Fri, 6 Aug 2010 13:52:02 -0400 (EDT) Received: from localhost (1000@localhost [IPv6:::1]) by kerhand.co.uk (OpenSMTPD) with ESMTP id gVfaENiq for ; Fri, 6 Aug 2010 18:51:36 +0100 (BST) Date: Fri, 6 Aug 2010 18:51:36 +0059 From: Jason McIntyre To: discuss@mdocml.bsd.lv Subject: Re: -column issue Message-ID: <20100806175200.GB946@bramka.kerhand.co.uk> References: <20100806070614.GD2107@bramka.kerhand.co.uk> <4C5C417B.4050209@bsd.lv> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C5C417B.4050209@bsd.lv> User-Agent: Mutt/1.4.2.3i On Fri, Aug 06, 2010 at 07:08:11PM +0200, Kristaps Dzonsons wrote: > >hi. there's a formatting issue for -column lists. the best example i can > >find is in openbsd's sysctl.3 (it's riddled with these): > > > > .Bl -column "Second level nameXXXXXX" integerXXX -offset indent > > .It Sy Second level name Type Changeable > > .It Dv FS_POSIX_SETUID No " integer yes" > > .El > > UGH. This is gross. Why why why didn't they do: > > 46 .Bl -column "Second level nameXXXXXX" integerXXX -offset indent > 47 .It Sy Second level name Type Changeable > 48 .It Dv FS_POSIX_SETUID No integer yes > > (With tabs between columns.) It renders just fine in both mandoc and > new/old groff. > "they" didn;t do it, presumably, because whichever poor bastard wrote it probably just jiggled the list until it formatted correctly. that is roughly how one goes about constructing a -column list. anyway, are you sure that your solution is correct? look carefully at how groff formats it: Second level name Type Changeable FS_POSIX_SETUID No integer yes i.e. it does not parse "No". mandoc does not display the "No". same if i move the "No" into the next column (which seems more logical). jmc -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv