version 1.10, 2017/06/23 22:59:27 |
version 1.11, 2017/07/05 15:03:20 |
|
|
if (EQN_MATRIX == bp->type) { |
if (EQN_MATRIX == bp->type) { |
if (NULL == bp->first) |
if (NULL == bp->first) |
goto out; |
goto out; |
if (EQN_LIST != bp->first->type) { |
if (bp->first->type != EQN_LIST || |
|
bp->first->expectargs == 1) { |
eqn_box(p, bp->first); |
eqn_box(p, bp->first); |
goto out; |
goto out; |
} |
} |
|
|
|
|
if (EQN_PILE == bp->type) { |
if (EQN_PILE == bp->type) { |
assert(NULL == post); |
assert(NULL == post); |
if (bp->first != NULL && bp->first->type == EQN_LIST) |
if (bp->first != NULL && |
|
bp->first->type == EQN_LIST && |
|
bp->first->expectargs > 1) |
post = print_otag(p, TAG_MTABLE, ""); |
post = print_otag(p, TAG_MTABLE, ""); |
} else if (bp->type == EQN_LIST && |
} else if (bp->type == EQN_LIST && bp->expectargs > 1 && |
bp->parent && bp->parent->type == EQN_PILE) { |
bp->parent && bp->parent->type == EQN_PILE) { |
assert(NULL == post); |
assert(NULL == post); |
post = print_otag(p, TAG_MTR, ""); |
post = print_otag(p, TAG_MTR, ""); |