source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Use <span> for .Ad rather than <i>; also suggested by John
Date: Sun, 20 May 2018 19:30:54 -0500 (EST)	[thread overview]
Message-ID: <f14da8766ee146f6@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2018-05-21  0:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f14da8766ee146f6@fantadrom.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).