version 1.170, 2011/06/16 22:21:28 |
version 1.173, 2011/07/21 11:34:53 |
Line 435 print_mdoc_node(MDOC_ARGS) |
|
Line 435 print_mdoc_node(MDOC_ARGS) |
|
return; |
return; |
case (MDOC_EQN): |
case (MDOC_EQN): |
PAIR_CLASS_INIT(&tag, "eqn"); |
PAIR_CLASS_INIT(&tag, "eqn"); |
print_otag(h, TAG_SPAN, 1, &tag); |
/*print_otag(h, TAG_SPAN, 1, &tag); |
print_text(h, n->eqn->data); |
print_text(h, n->eqn->data);*/ |
break; |
break; |
case (MDOC_TBL): |
case (MDOC_TBL): |
/* |
/* |
Line 610 mdoc_sh_pre(MDOC_ARGS) |
|
Line 610 mdoc_sh_pre(MDOC_ARGS) |
|
return(1); |
return(1); |
|
|
bufinit(h); |
bufinit(h); |
|
bufcat(h, "x"); |
for (n = n->child; n; n = n->next) { |
for (n = n->child; n; n = n->next) { |
bufcat_id(h, n->string); |
bufcat_id(h, n->string); |
if (n->next) |
if (n->next) |
Line 636 mdoc_ss_pre(MDOC_ARGS) |
|
Line 637 mdoc_ss_pre(MDOC_ARGS) |
|
return(1); |
return(1); |
|
|
bufinit(h); |
bufinit(h); |
|
bufcat(h, "x"); |
for (n = n->child; n; n = n->next) { |
for (n = n->child; n; n = n->next) { |
bufcat_id(h, n->string); |
bufcat_id(h, n->string); |
if (n->next) |
if (n->next) |
Line 1633 mdoc_sp_pre(MDOC_ARGS) |
|
Line 1635 mdoc_sp_pre(MDOC_ARGS) |
|
SCALE_VS_INIT(&su, 1); |
SCALE_VS_INIT(&su, 1); |
|
|
if (MDOC_sp == n->tok) { |
if (MDOC_sp == n->tok) { |
if (n->child) |
if (NULL != (n = n->child)) |
a2roffsu(n->child->string, &su, SCALE_VS); |
if ( ! a2roffsu(n->string, &su, SCALE_VS)) |
|
SCALE_VS_INIT(&su, atoi(n->string)); |
} else |
} else |
su.scale = 0; |
su.scale = 0; |
|
|