summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-25 15:23:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-25 15:23:56 +0000
commit90de6f743cde657a20885806bb1ea6bce6741b71 (patch)
treed2955518e6e339e58dae535ef0d48f11defb2bd7 /roff.c
parentef7072c55061398de01299d9bc02d3a179fcb3bc (diff)
downloadmandoc-90de6f743cde657a20885806bb1ea6bce6741b71.tar.gz
With the current architecture, we can't support inline equations
inside tables, sorry. So don't even try to parse tbl(7) blocks for eqn(7) delimiters. Broken table layout found in glPixelMap(3) while investigating a bug report by Theo Buehler <theo at math dot ethz dot ch>.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index b7b31800..ecf7dc68 100644
--- a/roff.c
+++ b/roff.c
@@ -730,7 +730,8 @@ roff_parseln(struct roff *r, int ln, char **bufp,
/* Handle in-line equation delimiters. */
- if (r->last_eqn != NULL && r->last_eqn->delim &&
+ if (r->tbl == NULL &&
+ r->last_eqn != NULL && r->last_eqn->delim &&
(r->eqn == NULL || r->eqn_inline)) {
e = roff_eqndelim(r, bufp, szp, pos);
if (e == ROFF_REPARSE)