From 1f3a93e77917534228a285ef0cb54e575870b4dd Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 21 May 2018 01:11:31 +0000 Subject: Use for .Ms rather than ; discussed with John Gardner. --- html.c | 2 ++ mandoc.css | 3 ++- mdoc_html.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index f0d493a4..1e82d116 100644 --- a/html.c +++ b/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; }"); diff --git a/mandoc.css b/mandoc.css index 432bef0e..5029ef00 100644 --- a/mandoc.css +++ b/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 { } diff --git a/mdoc_html.c b/mdoc_html.c index 4a87a8bd..d509dceb 100644 --- a/mdoc_html.c +++ b/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; } -- cgit