From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.rz.uni-karlsruhe.de (Debian-exim@smtp1.rz.uni-karlsruhe.de [129.13.185.217]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p0QJOJS2024753 for ; Wed, 26 Jan 2011 14:24:26 -0500 (EST) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1PiAyY-0008VE-A8; Wed, 26 Jan 2011 20:24:18 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1PiAyY-0000BR-9F for discuss@mdocml.bsd.lv; Wed, 26 Jan 2011 20:24:18 +0100 Received: from hera.usta.de ([172.24.64.3]) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1PiAyY-0002DM-7d for discuss@mdocml.bsd.lv; Wed, 26 Jan 2011 20:24:18 +0100 Received: from schwarze by hera.usta.de with local (Exim 4.73) (envelope-from ) id 1PiAyY-0007fm-4Z for discuss@mdocml.bsd.lv; Wed, 26 Jan 2011 20:24:18 +0100 Date: Wed, 26 Jan 2011 20:24:18 +0100 From: Ingo Schwarze To: discuss@mdocml.bsd.lv Subject: Re: groff-1.20.1 patches for automatic comparisons Message-ID: <20110126192418.GA2183@usta.de> References: <20110124153926.GC16282@iris.usta.de> <20110125142702.GI65811@acme.spoerlein.net> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110125142702.GI65811@acme.spoerlein.net> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Ulrich, Ulrich Spörlein wrote on Tue, Jan 25, 2011 at 03:27:02PM +0100: > On Mon, 24.01.2011 at 16:39:26 +0100, Ingo Schwarze wrote: >> just for your information, in case you are doing automatic comparisons >> of groff and mandoc output, here is the current version of the OpenBSD >> groff-1.20.1 port i am using. Even if you are not using OpenBSD, the >> patches might be interesting. In particular, >> groff/patches/patch-src_roff_troff_env_cpp > Exactly what kinds of adjustments is this disabling? Traditional roff has two registers for horizontal adjustment: One to store the current current adjustment mode (left, right, both, center) and one to switch adjustment on and off altogether without changing the mode. When adjustment is off, formatting is the same as in "left" mode. When filling is off, adjustment is considered temporarily off as well. The requests are: .ad l \" switch mode to left .ad r \" switch mode to right .ad b \" switch mode to both .ad c \" switch mode to center .na \" switch adjustment off .ad \" re-enable adjustment Mandoc only supports the left mode, .ad and .na are ignored. The patch changes groff to treat all of these commands as .na. >> groff/patches/patch-tmac_doc_tmac >> groff/patches/patch-tmac_troffrc >> help a lot. > Thanks, very useful tweaks. > > Also, why are you patching doc-common and not simply using > overrides in mdoc.local? To leave mdoc.local untouched such that it can be used for site-specific tweaks. Buts that's not really important, and i'm not feeling strongly about it. Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv