From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout.scc.kit.edu (mailout.scc.kit.edu [129.13.185.202]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id q4RF0niF024591 for ; Sun, 27 May 2012 11:00:49 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1) id 1SYexc-0001Dk-La; Sun, 27 May 2012 17:00:48 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1SYexc-0006Bo-K2; Sun, 27 May 2012 17:00:48 +0200 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1SYexc-00074A-IZ; Sun, 27 May 2012 17:00:48 +0200 Received: from schwarze by usta.de with local (Exim 4.77) (envelope-from ) id 1SYexc-0001x5-8p; Sun, 27 May 2012 17:00:48 +0200 Date: Sun, 27 May 2012 17:00:48 +0200 From: Ingo Schwarze To: discuss@mdocml.bsd.lv Cc: "Anthony J. Bentley" Subject: Re: Unknown macros: .ti, .ce, .fc, from nmh Message-ID: <20120527150047.GD30@iris.usta.de> References: <4f95afb8.c3043c0a.5b0d.ffffb8eb@mx.google.com> 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: <4f95afb8.c3043c0a.5b0d.ffffb8eb@mx.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Anthony, Anthony J. Bentley wrote on Mon, Apr 23, 2012 at 01:38:28PM -0600: > nmh (in OpenBSD, FreeBSD, and pkgsrc as mail/nmh) has some manpage > macros that mandoc doesn't know: > > mandoc -Tlint: > repl.1:97:2: ERROR: skipping unknown macro: .ti +3 > repl.1:137:2: ERROR: skipping unknown macro: .ti +\w'In\-Reply\-To: 'u > repl.1:151:2: ERROR: skipping unknown macro: .ti +\w'In\-Reply\-To: 'u [...] > mandoc -Tlint: > slocal.1:130:2: ERROR: skipping unknown macro: .ce [...] > mandoc -Tlint: > send.1:412:2: ERROR: skipping unknown macro: .fc ^ ~ Thanks for reporting! I took a note in the TODO file, http://mdocml.bsd.lv/cgi-bin/cvsweb/TODO?cvsroot=mdocml - xloadimage(1) wants .ti (temporary indent), rep by naddy@ + reported again by bentley@ in nmh(1) Mon, 23 Apr 2012 13:38:28 -0600 + also uses .ce (center N lines) and .fc (field control) There is nothing wrong with reporting missing features multiple times, it makes a difference for coding priorities whether one or a hundred pages require a particular feature. However, regarding the priorities in this particular case: - .ti is very low level (acting on a single output line) and doesn't fit well into the syntax tree concept, so the implementation is going to be ugly; besides, fortunately, it seems to be used rarely - same for .ce, which is even more ugly and even more rare - so both are not likely to get much priority - the very concept behind .fc is terribly complicated; besides, fine-tuning horizontal spacing in this way is not very useful in -Tascii mode, so i'd call the chances that we might implement .fc negligible At least for now, mail/nmh must continue to USE_GROFF, unless the upstream author decides to avoid mixing such low-level roff(7) requests into his man(7) code, which is likely to be easily feasible, but maybe not likely to happen. Yours, Ingo P.S. Sorry that this answer took some time, but it didn't look that urgent, and i was rather busy. -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv