source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: With the current architecture, we can't support inline equations
@ 2014-10-25 15:23 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-10-25 15:23 UTC (permalink / raw)
  To: source

Log Message:
-----------
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>.

Modified Files:
--------------
    mdocml:
        roff.c

Revision Data
-------------
Index: roff.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/roff.c,v
retrieving revision 1.235
retrieving revision 1.236
diff -Lroff.c -Lroff.c -u -p -r1.235 -r1.236
--- roff.c
+++ roff.c
@@ -730,7 +730,8 @@ roff_parseln(struct roff *r, int ln, cha
 
 	/* 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)
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-25 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25 15:23 mdocml: With the current architecture, we can't support inline equations schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).