* mdocml: for .Rs, use <cite>
@ 2017-02-05 19:29 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-02-05 19:29 UTC (permalink / raw)
To: source
Log Message:
-----------
for .Rs, use <cite>
Modified Files:
--------------
mdocml:
html.c
html.h
mandoc.css
mdoc_html.c
Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_html.c,v
retrieving revision 1.265
retrieving revision 1.266
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.265 -r1.266
--- mdoc_html.c
+++ mdoc_html.c
@@ -1512,7 +1512,7 @@ mdoc_rs_pre(MDOC_ARGS)
if (n->prev && SEC_SEE_ALSO == n->sec)
print_paragraph(h);
- print_otag(h, TAG_SPAN, "c", "Rs");
+ print_otag(h, TAG_CITE, "c", "Rs");
return 1;
}
Index: html.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/html.c,v
retrieving revision 1.205
retrieving revision 1.206
diff -Lhtml.c -Lhtml.c -u -p -r1.205 -r1.206
--- html.c
+++ html.c
@@ -76,6 +76,7 @@ static const struct htmldata htmltags[TA
{"dt", HTML_NLAROUND},
{"dd", HTML_NLAROUND | HTML_INDENT},
{"pre", HTML_NLALL | HTML_NOINDENT},
+ {"cite", 0},
{"b", 0},
{"i", 0},
{"code", 0},
Index: mandoc.css
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.css,v
retrieving revision 1.14
retrieving revision 1.15
diff -Lmandoc.css -Lmandoc.css -u -p -r1.14 -r1.15
--- mandoc.css
+++ mandoc.css
@@ -108,7 +108,8 @@ table.Bl-column { }
tr.It-column { }
td.It-column { margin-top: 1em; }
-span.Rs { }
+cite.Rs { font-style: normal;
+ font-weight: normal; }
span.RsA { }
i.RsB { font-weight: normal; }
span.RsC { }
Index: html.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/html.h,v
retrieving revision 1.81
retrieving revision 1.82
diff -Lhtml.h -Lhtml.h -u -p -r1.81 -r1.82
--- html.h
+++ html.h
@@ -41,6 +41,7 @@ enum htmltag {
TAG_DT,
TAG_DD,
TAG_PRE,
+ TAG_CITE,
TAG_B,
TAG_I,
TAG_CODE,
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-05 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-05 19:29 mdocml: for .Rs, use <cite> 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).