From e31d65345bcb420a2e0ee609d91322abfde4aa44 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 15 Nov 2023 14:36:28 +0900 Subject: yat2m: Implement @item handling with @table item specification. * doc/yat2m.c (MAX_TABLE_NESTING): New. (table_item_stack): New. (proc_texi_cmd): Add @gcctabopt and @gnupgtabopt. Add handling of @item argument with proc_texi_buffer. Add handling of @table argument, push to table_item_stack. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka --- doc/yat2m.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 61 insertions(+), 2 deletions(-) diff --git a/doc/yat2m.c b/doc/yat2m.c index 9b88a96..a6ab8a0 100644 --- a/doc/yat2m.c +++ b/doc/yat2m.c @@ -149,6 +149,9 @@ /* Number of allowed condition nestings. */ #define MAX_CONDITION_NESTING 10 +/* Number of allowed table nestings. */ +#define MAX_TABLE_NESTING 10 + static char const default_css[] = "