version 1.15, 2017/07/05 15:03:27 |
version 1.18, 2018/12/13 05:23:38 |
|
|
#include <string.h> |
#include <string.h> |
|
|
#include "mandoc.h" |
#include "mandoc.h" |
|
#include "eqn.h" |
#include "out.h" |
#include "out.h" |
#include "html.h" |
#include "html.h" |
|
|
|
|
} |
} |
|
|
void |
void |
print_eqn(struct html *p, const struct eqn *ep) |
print_eqn(struct html *p, const struct eqn_box *bp) |
{ |
{ |
struct tag *t; |
struct tag *t; |
|
|
|
if (bp->first == NULL) |
|
return; |
|
|
t = print_otag(p, TAG_MATH, "c", "eqn"); |
t = print_otag(p, TAG_MATH, "c", "eqn"); |
|
|
p->flags |= HTML_NONOSPACE; |
p->flags |= HTML_NONOSPACE; |
eqn_box(p, ep->root); |
eqn_box(p, bp); |
p->flags &= ~HTML_NONOSPACE; |
p->flags &= ~HTML_NONOSPACE; |
|
|
print_tagq(p, t); |
print_tagq(p, t); |