version 1.254, 2017/01/19 15:48:39 |
version 1.255, 2017/01/19 16:59:30 |
Line 846 mdoc_d1_pre(MDOC_ARGS) |
|
Line 846 mdoc_d1_pre(MDOC_ARGS) |
|
if (n->type != ROFFT_BLOCK) |
if (n->type != ROFFT_BLOCK) |
return 1; |
return 1; |
|
|
print_otag(h, TAG_BLOCKQUOTE, "svtvb", 0, 0); |
print_otag(h, TAG_DIV, "c", "D1"); |
|
|
/* BLOCKQUOTE needs a block body. */ |
if (n->tok == MDOC_Dl) |
|
print_otag(h, TAG_CODE, "c", "Li"); |
|
|
print_otag(h, TAG_DIV, "c", "display"); |
|
|
|
if (MDOC_Dl == n->tok) |
|
print_otag(h, TAG_CODE, "c", "lit"); |
|
|
|
return 1; |
return 1; |
} |
} |
|
|
Line 909 mdoc_bd_pre(MDOC_ARGS) |
|
Line 905 mdoc_bd_pre(MDOC_ARGS) |
|
offs = -1; |
offs = -1; |
|
|
if (offs == -1) |
if (offs == -1) |
print_otag(h, TAG_DIV, "cswl", "display", n->norm->Bd.offs); |
print_otag(h, TAG_DIV, "cswl", "Bd", n->norm->Bd.offs); |
else |
else |
print_otag(h, TAG_DIV, "cshl", "display", offs); |
print_otag(h, TAG_DIV, "cshl", "Bd", offs); |
|
|
if (n->norm->Bd.type != DISP_unfilled && |
if (n->norm->Bd.type != DISP_unfilled && |
n->norm->Bd.type != DISP_literal) |
n->norm->Bd.type != DISP_literal) |
return 1; |
return 1; |
|
|
print_otag(h, TAG_PRE, "c", "lit"); |
print_otag(h, TAG_PRE, "c", "Li"); |
|
|
/* This can be recursive: save & set our literal state. */ |
/* This can be recursive: save & set our literal state. */ |
|
|
Line 1414 mdoc_bf_pre(MDOC_ARGS) |
|
Line 1410 mdoc_bf_pre(MDOC_ARGS) |
|
else if (FONT_Sy == n->norm->Bf.font) |
else if (FONT_Sy == n->norm->Bf.font) |
cattr = "symb"; |
cattr = "symb"; |
else if (FONT_Li == n->norm->Bf.font) |
else if (FONT_Li == n->norm->Bf.font) |
cattr = "lit"; |
cattr = "Li"; |
else |
else |
cattr = "none"; |
cattr = "none"; |
|
|
Line 1473 mdoc_no_pre(MDOC_ARGS) |
|
Line 1469 mdoc_no_pre(MDOC_ARGS) |
|
static int |
static int |
mdoc_li_pre(MDOC_ARGS) |
mdoc_li_pre(MDOC_ARGS) |
{ |
{ |
print_otag(h, TAG_CODE, "c", "lit"); |
print_otag(h, TAG_CODE, "c", "Li"); |
return 1; |
return 1; |
} |
} |
|
|
Line 1656 mdoc_quote_pre(MDOC_ARGS) |
|
Line 1652 mdoc_quote_pre(MDOC_ARGS) |
|
case MDOC_Ql: |
case MDOC_Ql: |
print_text(h, "\\(oq"); |
print_text(h, "\\(oq"); |
h->flags |= HTML_NOSPACE; |
h->flags |= HTML_NOSPACE; |
print_otag(h, TAG_CODE, "c", "lit"); |
print_otag(h, TAG_CODE, "c", "Li"); |
break; |
break; |
case MDOC_So: |
case MDOC_So: |
case MDOC_Sq: |
case MDOC_Sq: |