From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o4VAWiXw018058 for ; Mon, 31 May 2010 06:32:44 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 5401E154137 for ; Mon, 31 May 2010 12:32:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Zu4r4xlaiO4S for ; Mon, 31 May 2010 12:32:37 +0200 (CEST) X-KTH-Auth: kristaps [85.8.60.239] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from lappy.bsd.lv (h85-8-60-239.dynamic.se.alltele.net [85.8.60.239]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 2994C154136 for ; Mon, 31 May 2010 12:32:36 +0200 (CEST) Message-ID: <4C03908B.2010603@bsd.lv> Date: Mon, 31 May 2010 12:33:47 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.16 (X11/20080812) X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: "tech@mdocml.bsd.lv" Subject: Complex -column patches finished. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, We now accept arbitrarily complex `Bl -column' list items, e.g., .Bl -column asdf asdf .It Fl a .Fl b Ta .Ao c Ao .El old groff gets confused when handling these: it spews out weird white-space. The above, for example, produces DESCRIPTION -a -b while new groff and mandoc correctly render DESCRIPTION -a -b Both old and new groff get a little confused when handling trailing tab markers instead of `Ta', e.g., .It Fl a .Ao c Ao while produce a leading whitespace to the "". We actually support this: .Bl -column asdf asdf .It Fl a .Fl b Ta .Bl -enum .It foo .El .Ao c Ac .El asdf And it doesn't look [too] bad. I think we should be raising warnings if block-level elements are introduced in a -column context, but, on the otherhand, -Thtml will actually produce sane output with arbitrarily complex constructions. There may be a bit of fallout from this, although I haven't really noticed any, so keep an eye on your complex lists. NOTE: we still don't do "implied" `It'. I'll try to take care of this next, as then I can remove some checks. Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv