$NetBSD: patch-ag,v 1.1.1.1 2001/05/30 11:45:41 agc Exp $ --- items.c.orig Mon May 28 11:39:14 2001 +++ items.c Mon May 28 12:19:28 2001 @@ -14,6 +14,7 @@ #define ENUMERATE 1 #define TABLE 2 #define APPLY 3 +#define MULTITABLE 4 #define MAXILEVEL 10 int icount[MAXILEVEL]; @@ -27,8 +28,8 @@ extern struct tablerecd * lookup(); /* - * itemize - handle the itemizing start commands @enumerate, @itemize - * and @table + * itemize - handle the itemizing start commands @enumerate, @itemize, + * @table, and @multitable */ char * itemize(s, token) @@ -58,7 +59,9 @@ } else if (STREQ(token,"@enumerate")) { what[ilevel] = ENUMERATE; icount[ilevel] = 1; - } else if (STREQ(token,"@table")) { + } else if (STREQ(token,"@table") || + STREQ(token,"@ftable") || + STREQ(token,"@vtable")) { what[ilevel] = TABLE; s = gettoken(eatwhitespace(s),tag); if (*tag == '\n') { @@ -75,6 +78,11 @@ } } } + } else if (STREQ(token,"@multitable")) { + what[ilevel] = MULTITABLE; + icount[ilevel] = 1; + } else { + errormsg("unrecognized itemizing command ",token); } while (*s != '\n' && *s != '\0') ++s; /* flush rest of line */ @@ -98,6 +106,7 @@ (void) sprintf(tag, "%d.", icount[ilevel]++); break; case TABLE: + case MULTITABLE: s = eatwhitespace(s); if (*s == '\n') { *tag++ = '-';