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 p0MLQad3017568 for ; Sat, 22 Jan 2011 16:26:37 -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 1Pgkyf-0005ff-BG; Sat, 22 Jan 2011 22:26:33 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1Pgkyf-0003SZ-9K; Sat, 22 Jan 2011 22:26:33 +0100 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1Pgkyf-00043s-8O; Sat, 22 Jan 2011 22:26:33 +0100 Received: from schwarze by usta.de with local (Exim 4.72) (envelope-from ) id 1Pgkyf-000733-7e; Sat, 22 Jan 2011 22:26:33 +0100 Date: Sat, 22 Jan 2011 22:26:33 +0100 From: Ingo Schwarze To: tech@mdocml.bsd.lv Cc: brad@comstyle.com Subject: ignore .ps and .ns Message-ID: <20110122212633.GG12520@iris.usta.de> References: <201101092145.59321.brad@comstyle.com> <201101092333.13197.brad@comstyle.com> <4D2DDDA2.5040803@bsd.lv> <201101151548.20037.brad@comstyle.com> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101151548.20037.brad@comstyle.com> User-Agent: Mutt/1.5.21 (2010-09-15) Hi, Brad wrote on Sat, Jan 15, 2011 at 03:48:18PM -0500: > mysql.1:1288:2: ERROR: skipping unknown macro: .ps +1 > mysql.1:1290:2: ERROR: skipping unknown macro: .ps -1 I think we can safely ignore these (point size). While here, also ignore .ns (no-space mode) for now. Implementing it is tedious, the macro is rare, and all that goes wrong are one or two stray blank lines. Of course, i will add short notes to roff(7). OK? Ingo Index: roff.c =================================================================== RCS file: /cvs/src/usr.bin/mandoc/roff.c,v retrieving revision 1.30 diff -u -r1.30 roff.c --- roff.c 20 Jan 2011 21:33:11 -0000 1.30 +++ roff.c 22 Jan 2011 21:24:52 -0000 @@ -51,6 +51,8 @@ ROFF_ne, ROFF_nh, ROFF_nr, + ROFF_ns, + ROFF_ps, ROFF_rm, ROFF_so, ROFF_tr, @@ -173,6 +175,8 @@ { "ne", roff_line_ignore, NULL, NULL, 0, NULL }, { "nh", roff_line_ignore, NULL, NULL, 0, NULL }, { "nr", roff_nr, NULL, NULL, 0, NULL }, + { "ns", roff_line_ignore, NULL, NULL, 0, NULL }, + { "ps", roff_line_ignore, NULL, NULL, 0, NULL }, { "rm", roff_rm, NULL, NULL, 0, NULL }, { "so", roff_so, NULL, NULL, 0, NULL }, { "tr", roff_line_ignore, NULL, NULL, 0, NULL }, -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv