From e8577c374a9f7230bd229f8ea333569dda0d6de1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Mar 2011 23:36:43 +0000 Subject: Import the foundation for eqn(7) support. Written by kristaps@. For now, i'm adding one line to each of the four frontends to just pass the input text through to the output, not yet interpreting any of then eqn keywords. --- usr.bin/mandoc/man_term.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/mandoc/man_term.c') diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index 8e583015732..131580d4c9b 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.65 2011/03/07 01:35:33 schwarze Exp $ */ +/* $Id: man_term.c,v 1.66 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze @@ -892,6 +892,9 @@ print_man_node(DECL_ARGS) if (MAN_EOS & n->flags) p->flags |= TERMP_SENTENCE; return; + case (MAN_EQN): + term_word(p, n->eqn->data); + return; case (MAN_TBL): /* * Tables are preceded by a newline. Then process a -- cgit v1.2.3