version 1.240, 2018/10/02 12:33:37 |
version 1.242, 2018/10/25 01:32:40 |
Line 136 html_alloc(const struct manoutput *outopts) |
|
Line 136 html_alloc(const struct manoutput *outopts) |
|
h->base_includes = outopts->includes; |
h->base_includes = outopts->includes; |
if (outopts->fragment) |
if (outopts->fragment) |
h->oflags |= HTML_FRAGMENT; |
h->oflags |= HTML_FRAGMENT; |
|
if (outopts->toc) |
|
h->oflags |= HTML_TOC; |
|
|
mandoc_ohash_init(&id_unique, 4, 0); |
mandoc_ohash_init(&id_unique, 4, 0); |
|
|
Line 226 print_metaf(struct html *h, enum mandoc_esc deco) |
|
Line 228 print_metaf(struct html *h, enum mandoc_esc deco) |
|
case ESCAPE_FONTBI: |
case ESCAPE_FONTBI: |
font = HTMLFONT_BI; |
font = HTMLFONT_BI; |
break; |
break; |
|
case ESCAPE_FONTCW: |
|
font = HTMLFONT_CW; |
|
break; |
case ESCAPE_FONT: |
case ESCAPE_FONT: |
case ESCAPE_FONTROMAN: |
case ESCAPE_FONTROMAN: |
font = HTMLFONT_NONE; |
font = HTMLFONT_NONE; |
Line 253 print_metaf(struct html *h, enum mandoc_esc deco) |
|
Line 258 print_metaf(struct html *h, enum mandoc_esc deco) |
|
h->metaf = print_otag(h, TAG_B, ""); |
h->metaf = print_otag(h, TAG_B, ""); |
print_otag(h, TAG_I, ""); |
print_otag(h, TAG_I, ""); |
break; |
break; |
|
case HTMLFONT_CW: |
|
h->metaf = print_otag(h, TAG_SPAN, "c", "Li"); |
|
break; |
default: |
default: |
break; |
break; |
} |
} |
Line 406 print_encode(struct html *h, const char *p, const char |
|
Line 414 print_encode(struct html *h, const char *p, const char |
|
case ESCAPE_FONTBOLD: |
case ESCAPE_FONTBOLD: |
case ESCAPE_FONTITALIC: |
case ESCAPE_FONTITALIC: |
case ESCAPE_FONTBI: |
case ESCAPE_FONTBI: |
|
case ESCAPE_FONTCW: |
case ESCAPE_FONTROMAN: |
case ESCAPE_FONTROMAN: |
if (0 == norecurse) |
if (0 == norecurse) |
print_metaf(h, esc); |
print_metaf(h, esc); |
Line 735 print_text(struct html *h, const char *word) |
|
Line 744 print_text(struct html *h, const char *word) |
|
case HTMLFONT_BI: |
case HTMLFONT_BI: |
h->metaf = print_otag(h, TAG_B, ""); |
h->metaf = print_otag(h, TAG_B, ""); |
print_otag(h, TAG_I, ""); |
print_otag(h, TAG_I, ""); |
|
break; |
|
case HTMLFONT_CW: |
|
h->metaf = print_otag(h, TAG_SPAN, "c", "Li"); |
break; |
break; |
default: |
default: |
print_indent(h); |
print_indent(h); |