From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Subject: Re: integrate tbl into mandoc
Date: Fri, 15 Oct 2010 00:19:36 +0200 [thread overview]
Message-ID: <20101014221936.GD30282@iris.usta.de> (raw)
In-Reply-To: <20101014211831.GB30282@iris.usta.de>
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
next prev parent reply other threads:[~2010-10-14 22:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 0:46 Ingo Schwarze
2010-10-14 21:18 ` Ingo Schwarze
2010-10-14 21:55 ` Ingo Schwarze
2010-10-14 22:19 ` Ingo Schwarze [this message]
2010-10-14 23:02 ` Ingo Schwarze
2010-10-18 16:20 ` Kristaps Dzonsons
2010-10-18 17:38 ` Joerg Sonnenberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101014221936.GD30282@iris.usta.de \
--to=schwarze@usta.de \
--cc=tech@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).