* mandoc: replace my vague and idiosyncratic term "selflink" with the
@ 2018-04-24 0:37 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-04-24 0:37 UTC (permalink / raw)
To: source
Log Message:
-----------
replace my vague and idiosyncratic term "selflink"
with the clearer and more usual "permalink";
suggested by John Gardner <gardnerjohng at gmail dot com>
Modified Files:
--------------
mandoc:
mandoc.css
mdoc_html.c
man_html.c
Revision Data
-------------
Index: mandoc.css
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandoc.css,v
retrieving revision 1.22
retrieving revision 1.23
diff -Lmandoc.css -Lmandoc.css -u -p -r1.22 -r1.23
--- mandoc.css
+++ mandoc.css
@@ -14,7 +14,7 @@ ul, ol, dl { margin-top: 0em;
margin-bottom: 0em; }
li, dt { margin-top: 1em; }
-a.selflink { border-bottom: thin dotted;
+a.permalink { border-bottom: thin dotted;
color: inherit;
font: inherit;
text-decoration: inherit; }
Index: mdoc_html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_html.c,v
retrieving revision 1.296
retrieving revision 1.297
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.296 -r1.297
--- mdoc_html.c
+++ mdoc_html.c
@@ -516,7 +516,7 @@ mdoc_sh_pre(MDOC_ARGS)
id = html_make_id(n);
print_otag(h, TAG_H1, "cTi", "Sh", id);
if (id != NULL)
- print_otag(h, TAG_A, "chR", "selflink", id);
+ print_otag(h, TAG_A, "chR", "permalink", id);
free(id);
break;
case ROFFT_BODY:
@@ -540,7 +540,7 @@ mdoc_ss_pre(MDOC_ARGS)
id = html_make_id(n);
print_otag(h, TAG_H2, "cTi", "Ss", id);
if (id != NULL)
- print_otag(h, TAG_A, "chR", "selflink", id);
+ print_otag(h, TAG_A, "chR", "permalink", id);
free(id);
return 1;
}
@@ -551,7 +551,7 @@ mdoc_fl_pre(MDOC_ARGS)
char *id;
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);
free(id);
@@ -571,7 +571,7 @@ mdoc_cm_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1070,7 +1070,7 @@ mdoc_dv_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1082,7 +1082,7 @@ mdoc_ev_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1100,7 +1100,7 @@ mdoc_er_pre(MDOC_ARGS)
html_make_id(n) : 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);
free(id);
return 1;
@@ -1451,7 +1451,7 @@ mdoc_ic_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1508,7 +1508,7 @@ mdoc_ms_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1549,7 +1549,7 @@ mdoc_no_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
@@ -1561,7 +1561,7 @@ mdoc_li_pre(MDOC_ARGS)
char *id;
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);
free(id);
return 1;
Index: man_html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/man_html.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -Lman_html.c -Lman_html.c -u -p -r1.147 -r1.148
--- man_html.c
+++ man_html.c
@@ -431,7 +431,7 @@ man_SH_pre(MAN_ARGS)
id = html_make_id(n);
print_otag(h, TAG_H1, "cTi", "Sh", id);
if (id != NULL)
- print_otag(h, TAG_A, "chR", "selflink", id);
+ print_otag(h, TAG_A, "chR", "permalink", id);
free(id);
}
return 1;
@@ -501,7 +501,7 @@ man_SS_pre(MAN_ARGS)
id = html_make_id(n);
print_otag(h, TAG_H2, "cTi", "Ss", id);
if (id != NULL)
- print_otag(h, TAG_A, "chR", "selflink", id);
+ print_otag(h, TAG_A, "chR", "permalink", id);
free(id);
}
return 1;
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-24 0:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 0:37 mandoc: replace my vague and idiosyncratic term "selflink" with the schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).