From 858bb68c9059fe5b8f8f613dab2761233ff36ba7 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 6 Feb 2011 20:36:36 +0000 Subject: Add initial EQN support to mandoc. This parses, then throws away, data between EQ and EN roff blocks. EQN is different from TBL in that data after .EQ is unilaterally considered an equation until an .EN. Thus, there's no need to jump through hoops in having table spans and so on. This is ONLY the parse code framework in libroff. EQN is not yet passed into the backends. --- mandoc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index 704ec745..56d45ebc 100644 --- a/mandoc.h +++ b/mandoc.h @@ -267,6 +267,11 @@ struct tbl_span { struct tbl_span *next; }; +struct eqn { + size_t sz; + char *data; +}; + /* * Available registers (set in libroff, accessed elsewhere). */ -- cgit