From 546accec72e5db867d299b5616c26abec3a86c7d 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 | 4 +++- mandoc.css | 5 +++-- mdoc_html.c | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/html.c b/html.c index 79de70c9..60e88371 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.227 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: html.c,v 1.228 2018/05/21 01:11:31 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze @@ -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 e26845f1..3acc0809 100644 --- a/mandoc.css +++ b/mandoc.css @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.28 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.29 2018/05/21 01:11:31 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -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 73e5d8ca..58eb71b6 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.302 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.303 2018/05/21 01:11:31 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze @@ -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 v1.2.3-56-ge451