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 728534b1 for ; Sun, 20 May 2018 19:30:54 -0500 (EST) Date: Sun, 20 May 2018 19:30:54 -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 .Ad rather than ; also suggested by John X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: Log Message: ----------- Use for .Ad rather than ; also suggested by John Gardner. Modified Files: -------------- mandoc: html.c mandoc.css mdoc_html.c Revision Data ------------- Index: mandoc.css =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.css,v retrieving revision 1.27 retrieving revision 1.28 diff -Lmandoc.css -Lmandoc.css -u -p -r1.27 -r1.28 --- mandoc.css +++ mandoc.css @@ -210,7 +210,8 @@ a.Mt { } code.Cd { font-style: normal; font-weight: bold; font-family: inherit; } -i.Ad { font-weight: normal; } +span.Ad { font-style: italic; + font-weight: normal; } b.Ms { font-style: normal; } span.St { } a.Ux { } Index: html.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/html.c,v retrieving revision 1.226 retrieving revision 1.227 diff -Lhtml.c -Lhtml.c -u -p -r1.226 -r1.227 --- html.c +++ html.c @@ -190,7 +190,7 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "div.Nd, div.Bf, div.Op { display: inline; }"); print_endline(h); - print_text(h, "span.Pa { font-style: italic; }"); + print_text(h, "span.Pa, span.Ad { font-style: italic; }"); print_endline(h); print_text(h, "dl.Bl-diag "); print_byte(h, '>'); Index: mdoc_html.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/mdoc_html.c,v retrieving revision 1.301 retrieving revision 1.302 diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.301 -r1.302 --- mdoc_html.c +++ mdoc_html.c @@ -986,7 +986,7 @@ mdoc_pa_pre(MDOC_ARGS) static int mdoc_ad_pre(MDOC_ARGS) { - print_otag(h, TAG_I, "c", "Ad"); + print_otag(h, TAG_SPAN, "c", "Ad"); return 1; } -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv