diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-20 23:36:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-20 23:36:43 +0000 |
commit | e8577c374a9f7230bd229f8ea333569dda0d6de1 (patch) | |
tree | e7c300c8d21ab79b802738f5f87b347bd58baa6f /usr.bin/mandoc/man_term.c | |
parent | cb92757aa4e8c46674512dea4203e0cf817a0be5 (diff) |
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.
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
-rw-r--r-- | usr.bin/mandoc/man_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -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 |