summaryrefslogtreecommitdiffstats
path: root/eqn_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'eqn_html.c')
-rw-r--r--eqn_html.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/eqn_html.c b/eqn_html.c
index 93b9782c..ab4740b3 100644
--- a/eqn_html.c
+++ b/eqn_html.c
@@ -113,12 +113,14 @@ eqn_box(struct html *p, const struct eqn_box *bp, int next)
*/
switch (bp->pos) {
case (EQNPOS_TO):
- /* FALLTHROUGH */
+ post = print_otag(p, TAG_MOVER, 0, NULL);
+ break;
case (EQNPOS_SUP):
post = print_otag(p, TAG_MSUP, 0, NULL);
break;
case (EQNPOS_FROM):
- /* FALLTHROUGH */
+ post = print_otag(p, TAG_MUNDER, 0, NULL);
+ break;
case (EQNPOS_SUB):
post = print_otag(p, TAG_MSUB, 0, NULL);
break;
@@ -126,9 +128,10 @@ eqn_box(struct html *p, const struct eqn_box *bp, int next)
post = print_otag(p, TAG_MFRAC, 0, NULL);
break;
case (EQNPOS_FROMTO):
- /* FALLTHROUGH */
+ post = print_otag(p, TAG_MUNDEROVER, 0, NULL);
+ skiptwo = 1;
+ break;
case (EQNPOS_SUBSUP):
- /* This requires two elements. */
post = print_otag(p, TAG_MSUBSUP, 0, NULL);
skiptwo = 1;
break;