* mandoc: Use <span> for .Ms rather than <b>; discussed with John Gardner.
@ 2018-05-21 1:12 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-05-21 1:12 UTC (permalink / raw)
To: source
Log Message:
-----------
Use <span> for .Ms rather than <b>; discussed with John Gardner.
Modified Files:
--------------
mandoc:
html.c
mandoc.css
mdoc_html.c
Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_html.c,v
retrieving revision 1.302
retrieving revision 1.303
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.302 -r1.303
--- mdoc_html.c
+++ mdoc_html.c
@@ -1463,7 +1463,7 @@ mdoc_ms_pre(MDOC_ARGS)
if ((id = cond_id(n)) != NULL)
print_otag(h, TAG_A, "chR", "permalink", id);
- print_otag(h, TAG_B, "cTi", "Ms", id);
+ print_otag(h, TAG_SPAN, "cTi", "Ms", id);
free(id);
return 1;
}
Index: html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/html.c,v
retrieving revision 1.227
retrieving revision 1.228
diff -Lhtml.c -Lhtml.c -u -p -r1.227 -r1.228
--- html.c
+++ html.c
@@ -192,6 +192,8 @@ print_gen_head(struct html *h)
print_endline(h);
print_text(h, "span.Pa, span.Ad { font-style: italic; }");
print_endline(h);
+ print_text(h, "span.Ms { font-weight: bold; }");
+ print_endline(h);
print_text(h, "dl.Bl-diag ");
print_byte(h, '>');
print_text(h, " dt { font-weight: bold; }");
Index: mandoc.css
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandoc.css,v
retrieving revision 1.28
retrieving revision 1.29
diff -Lmandoc.css -Lmandoc.css -u -p -r1.28 -r1.29
--- mandoc.css
+++ mandoc.css
@@ -212,7 +212,8 @@ code.Cd { font-style: normal;
font-family: inherit; }
span.Ad { font-style: italic;
font-weight: normal; }
-b.Ms { font-style: normal; }
+span.Ms { font-style: normal;
+ font-weight: bold; }
span.St { }
a.Ux { }
--
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-05-21 1:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 1:12 mandoc: Use <span> for .Ms rather than <b>; discussed with John Gardner 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).