From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id oBT9lbYw019849 for ; Wed, 29 Dec 2010 04:47:38 -0500 (EST) Received: from smtp-2.sys.kth.se (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id B863914D7CB for ; Wed, 29 Dec 2010 10:47:31 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by smtp-2.sys.kth.se (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AMfS7r+acgIR for ; Wed, 29 Dec 2010 10:47:28 +0100 (CET) X-KTH-Auth: kristaps [85.8.60.216] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from h85-8-60-216.dynamic.se.alltele.net (h85-8-60-216.dynamic.se.alltele.net [85.8.60.216]) by smtp-2.sys.kth.se (Postfix) with ESMTP id EEF0714C129 for ; Wed, 29 Dec 2010 10:47:26 +0100 (CET) Message-ID: <4D1B03AE.6060805@bsd.lv> Date: Wed, 29 Dec 2010 10:47:26 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: .LR macro References: <4d1ac003.44842a0a.2155.4026@mx.google.com> In-Reply-To: <4d1ac003.44842a0a.2155.4026@mx.google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > This shows up in the Plan 9 manpage mk.1: > > .PP > Seemingly appropriate input like > .B CFLAGS=-DHZ=60 > is parsed as an erroneous attribute; correct it by inserting > a space after the first > .LR = . > .PP > > Output from Plan 9 troff: > > Seemingly appropriate input like CFLAGS=-DHZ=60 is parsed as an > erroneous attribute; correct it by inserting a space after the first > `='. > > Mandoc cuts off the last bit: > Seemingly appropriate input like CFLAGS=-DHZ=60 is parsed as an > erroneous attribute; correct it by inserting a space after the first > > OpenBSD's (ancient) groff displays the same as mandoc. Anthony, So the plan9 -man specification, http://swtch.com/usr/local/plan9/tmac/tmac.an , documents `LR' pretty much as you label it. This is easily implemented. But the plan9 man(7) page, http://swtch.com/plan9port/man/man7/man.html , lists `LR' as an alternating monospace-roman (like `BR' and friends) font trigger. This is also easily implemented. Unfortunately, this leads us down the twisty path of being compatible with one of the other. Anthony, seeing as how you reported this, can you track down an official answer from the Plan9 folks? Maybe you can pull from them an up-to-date man(7) page so we can see all the differences between groff's -man and plan9's? Working with "the other troffs" isn't a priority for mandoc, but I'm happy to at least have COMPATIBILITY notes regarding the others so that we can later work in the biggest offenders. Thanks! Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv