version 1.296, 2018/04/13 16:28:07 |
version 1.297, 2018/04/24 00:36:52 |
Line 516 mdoc_sh_pre(MDOC_ARGS) |
|
Line 516 mdoc_sh_pre(MDOC_ARGS) |
|
id = html_make_id(n); |
id = html_make_id(n); |
print_otag(h, TAG_H1, "cTi", "Sh", id); |
print_otag(h, TAG_H1, "cTi", "Sh", id); |
if (id != NULL) |
if (id != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
free(id); |
free(id); |
break; |
break; |
case ROFFT_BODY: |
case ROFFT_BODY: |
Line 540 mdoc_ss_pre(MDOC_ARGS) |
|
Line 540 mdoc_ss_pre(MDOC_ARGS) |
|
id = html_make_id(n); |
id = html_make_id(n); |
print_otag(h, TAG_H2, "cTi", "Ss", id); |
print_otag(h, TAG_H2, "cTi", "Ss", id); |
if (id != NULL) |
if (id != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
free(id); |
free(id); |
return 1; |
return 1; |
} |
} |
Line 551 mdoc_fl_pre(MDOC_ARGS) |
|
Line 551 mdoc_fl_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_B, "cTi", "Fl", id); |
print_otag(h, TAG_B, "cTi", "Fl", id); |
free(id); |
free(id); |
|
|
Line 571 mdoc_cm_pre(MDOC_ARGS) |
|
Line 571 mdoc_cm_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_B, "cTi", "Cm", id); |
print_otag(h, TAG_B, "cTi", "Cm", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1070 mdoc_dv_pre(MDOC_ARGS) |
|
Line 1070 mdoc_dv_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_CODE, "cTi", "Dv", id); |
print_otag(h, TAG_CODE, "cTi", "Dv", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1082 mdoc_ev_pre(MDOC_ARGS) |
|
Line 1082 mdoc_ev_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_CODE, "cTi", "Ev", id); |
print_otag(h, TAG_CODE, "cTi", "Ev", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1100 mdoc_er_pre(MDOC_ARGS) |
|
Line 1100 mdoc_er_pre(MDOC_ARGS) |
|
html_make_id(n) : NULL; |
html_make_id(n) : NULL; |
|
|
if (id != NULL) |
if (id != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_CODE, "cTi", "Er", id); |
print_otag(h, TAG_CODE, "cTi", "Er", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1451 mdoc_ic_pre(MDOC_ARGS) |
|
Line 1451 mdoc_ic_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_B, "cTi", "Ic", id); |
print_otag(h, TAG_B, "cTi", "Ic", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1508 mdoc_ms_pre(MDOC_ARGS) |
|
Line 1508 mdoc_ms_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_B, "cTi", "Ms", id); |
print_otag(h, TAG_B, "cTi", "Ms", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1549 mdoc_no_pre(MDOC_ARGS) |
|
Line 1549 mdoc_no_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_SPAN, "ci", "No", id); |
print_otag(h, TAG_SPAN, "ci", "No", id); |
free(id); |
free(id); |
return 1; |
return 1; |
Line 1561 mdoc_li_pre(MDOC_ARGS) |
|
Line 1561 mdoc_li_pre(MDOC_ARGS) |
|
char *id; |
char *id; |
|
|
if ((id = cond_id(n)) != NULL) |
if ((id = cond_id(n)) != NULL) |
print_otag(h, TAG_A, "chR", "selflink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_CODE, "ci", "Li", id); |
print_otag(h, TAG_CODE, "ci", "Li", id); |
free(id); |
free(id); |
return 1; |
return 1; |