source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Use <span> for .Ad rather than <i>; also suggested by John
@ 2018-05-21  0:30 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-05-21  0:30 UTC (permalink / raw)
  To: source

Log Message:
-----------
Use <span> for .Ad rather than <i>; 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-21  0:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21  0:30 mandoc: Use <span> for .Ad rather than <i>; also suggested by John schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).