From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id d522192d for ; Sun, 20 May 2018 20:12:01 -0500 (EST) Date: Sun, 20 May 2018 20:12:01 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Use for .Ms rather than ; discussed with John Gardner. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: Log Message: ----------- Use for .Ms rather than ; 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