aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-21 01:11:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-21 01:11:31 +0000
commit546accec72e5db867d299b5616c26abec3a86c7d (patch)
tree86e8b2b225f2b620f42f329b6b328b290f14418d
parent559195dcad0532b7eb395988eb0122053d7d12c5 (diff)
downloadmandoc-546accec72e5db867d299b5616c26abec3a86c7d.tar.gz
mandoc-546accec72e5db867d299b5616c26abec3a86c7d.tar.zst
mandoc-546accec72e5db867d299b5616c26abec3a86c7d.zip
Use <span> for .Ms rather than <b>; discussed with John Gardner.
-rw-r--r--html.c4
-rw-r--r--mandoc.css5
-rw-r--r--mdoc_html.c4
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 <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 <kristaps@bsd.lv>
* Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;
}