aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
commitefaacbc5e152b979e7091412535d15dddd047469 (patch)
tree0c7f9619784327a9a00eb27a8f479264340c43cd /eqn_term.c
parentf6bc0fd9fcfb2e7b43ecfbce0031a626d9118240 (diff)
downloadmandoc-efaacbc5e152b979e7091412535d15dddd047469.tar.gz
mandoc-efaacbc5e152b979e7091412535d15dddd047469.tar.zst
mandoc-efaacbc5e152b979e7091412535d15dddd047469.zip
Add matrix support. Also remove "above" notion, as all elements in a
list are delimited by their "aboveness" and it's superfluous.
Diffstat (limited to 'eqn_term.c')
-rw-r--r--eqn_term.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/eqn_term.c b/eqn_term.c
index d1e00bf6..84eda30c 100644
--- a/eqn_term.c
+++ b/eqn_term.c
@@ -1,4 +1,4 @@
-/* $Id: eqn_term.c,v 1.1 2011/07/22 10:50:46 kristaps Exp $ */
+/* $Id: eqn_term.c,v 1.2 2011/07/23 12:01:54 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -61,8 +61,6 @@ static void
eqn_box_pre(struct termp *p, const struct eqn_box *bp)
{
- if (EQN_LIST == bp->type)
- term_word(p, "{");
if (bp->left)
term_word(p, bp->left);
}
@@ -71,12 +69,8 @@ static void
eqn_box_post(struct termp *p, const struct eqn_box *bp)
{
- if (EQN_LIST == bp->type)
- term_word(p, "}");
if (bp->right)
term_word(p, bp->right);
- if (bp->above)
- term_word(p, "|");
}
static void