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 o9EMJdBW014717 for ; Thu, 14 Oct 2010 18:19:40 -0400 (EDT) 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 1P6W9A-0005if-Vr; Fri, 15 Oct 2010 00:19:37 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.71) (envelope-from ) id 1P6W9A-0000Vg-UT for tech@mdocml.bsd.lv; Fri, 15 Oct 2010 00:19:36 +0200 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1P6W9A-0000yX-T6 for tech@mdocml.bsd.lv; Fri, 15 Oct 2010 00:19:36 +0200 Received: from schwarze by usta.de with local (Exim 4.71) (envelope-from ) id 1P6W9A-0004H2-SB for tech@mdocml.bsd.lv; Fri, 15 Oct 2010 00:19:36 +0200 Date: Fri, 15 Oct 2010 00:19:36 +0200 From: Ingo Schwarze To: tech@mdocml.bsd.lv Subject: Re: integrate tbl into mandoc Message-ID: <20101014221936.GD30282@iris.usta.de> References: <20101013004622.GC18513@iris.usta.de> <20101014211831.GB30282@iris.usta.de> 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: <20101014211831.GB30282@iris.usta.de> User-Agent: Mutt/1.5.20 (2009-06-14) Hi, >> The following still crash: as one might expect, options are optional, so the following patch fixes most of these. The following now work: /usr/src/lib/libcurses/curs_addch.3tbl /usr/src/lib/libcurses/curs_attr.3tbl /usr/src/lib/libcurses/curs_getch.3tbl /usr/src/lib/libcurses/curs_mouse.3tbl /usr/src/lib/libcurses/curses.3tbl /usr/src/lib/libform/form.3tbl /usr/src/usr.bin/infocmp/infocmp.1tbl /usr/src/usr.bin/tic/captoinfo.1tbl These still crash: >> /usr/src/lib/libcurses/curs_inch.3tbl >> /usr/src/lib/libmenu/menu.3tbl >> /usr/src/gnu/usr.sbin/mkhybrid/src/mkhybrid.8tbl >> The following have a tbl extension, but no .TS: >> /usr/src/lib/libcurses/term.5tbl >> The following are mdoc(7) with tbl: >> /usr/src/share/man/man4/wi.4tbl >> /usr/src/share/man/man4/man4.hppa/cpu.4tbl >> /usr/src/games/phantasia/phantasia.6tbl Yours, Ingo diff -Napur mandoc-tbl-calc/tbl_option.c mandoc-tbl/tbl_option.c --- mandoc-tbl-calc/tbl_option.c Thu Oct 14 23:24:14 2010 +++ mandoc-tbl/tbl_option.c Fri Oct 15 00:11:52 2010 @@ -141,6 +141,11 @@ opt(struct tbl *tbl, const char *f, int ln, const char { int i, sv; + if (NULL == strchr(p + *pos, ';')) { + tbl->part = TBL_PART_LAYOUT; + return(1); + } + again: sv = *pos; -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv