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 o4VKHnQ8016584 for ; Mon, 31 May 2010 16:17:50 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id E5D32155190 for ; Mon, 31 May 2010 22:17:43 +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 d0+fZ2eZibbD for ; Mon, 31 May 2010 22:17:42 +0200 (CEST) X-KTH-Auth: kristaps [85.8.61.127] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from lappy.bsd.lv (h85-8-61-127.dynamic.se.alltele.net [85.8.61.127]) by smtp-1.sys.kth.se (Postfix) with ESMTP id AA877154136 for ; Mon, 31 May 2010 22:17:42 +0200 (CEST) Message-ID: <4C0419D8.9000706@bsd.lv> Date: Mon, 31 May 2010 22:19:36 +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: `It'-less lists complete. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Another status update. mandoc is now fully emulating groff in terms of accepting lists that don't have the proper `It' invocation. Consider .Bl -column asdfasdfasdf asdfasdfasdf .Fl foo Ta bar .Ar foo Ta bar bazxyzzy .It hellothere .It this should Ta not break .It another Ta .Fl try .El where is the tab character. This now correctly renders as -foo bar foo bar baz xyzzy hello there this should not break another -try Of course -Thtml works also. Algorithm: until a line `It' is encountered after a `Bl -column', mandoc/groff will assume `It' for each new line without one. Once an `It' is encountered, subsequent lines are processed within the scope of the prior `It'. Tricky. Fortunately, this didn't require much effort beyond a new flag and some ugliness in mdoc.c. Please test. I want to roll this into another release, but will wait until at least somebody else has looked over the code and ok'd or at least tested for fallout downstream. Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv