From 50079d4076610ce94c315c3ead86fa3dd19dc673 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 25 Jul 2011 15:37:00 +0000 Subject: Implement the first steps of equation parsing from within libmdoc. This consists of a shim around the text parser that calls out to libroff if equation components exist on the line. Right now this will do nothing, as the equation delimiter always returns nil. --- libmandoc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmandoc.h') diff --git a/libmandoc.h b/libmandoc.h index 7a79257a..c7f0b41d 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -76,6 +76,10 @@ void roff_endparse(struct roff *); int roff_regisset(const struct roff *, enum regs); unsigned int roff_regget(const struct roff *, enum regs); void roff_regunset(struct roff *, enum regs); +char roff_eqndelim(const struct roff *); +void roff_openeqn(struct roff *, const char *, + int, int, const char *); +int roff_closeeqn(struct roff *); const struct tbl_span *roff_span(const struct roff *); const struct eqn *roff_eqn(const struct roff *); -- cgit