From: Ingo Schwarze Date: Sun, 5 Feb 2017 19:29:19 +0000 (+0000) Subject: for .Rs, use X-Git-Tag: VERSION_1_14_1~61 X-Git-Url: https://git.cameronkatri.com/mandoc.git/commitdiff_plain/1d9fac28586a81fe21fe0b8d00ffed21e2277ca6 for .Rs, use --- diff --git a/html.c b/html.c index bf3d13ce..b084f1a0 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.205 2017/02/05 18:15:39 schwarze Exp $ */ +/* $Id: html.c,v 1.206 2017/02/05 19:29:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017 Ingo Schwarze @@ -76,6 +76,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"dt", HTML_NLAROUND}, {"dd", HTML_NLAROUND | HTML_INDENT}, {"pre", HTML_NLALL | HTML_NOINDENT}, + {"cite", 0}, {"b", 0}, {"i", 0}, {"code", 0}, diff --git a/html.h b/html.h index afceebad..95b56be6 100644 --- a/html.h +++ b/html.h @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.81 2017/02/05 18:15:39 schwarze Exp $ */ +/* $Id: html.h,v 1.82 2017/02/05 19:29:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2017 Ingo Schwarze @@ -41,6 +41,7 @@ enum htmltag { TAG_DT, TAG_DD, TAG_PRE, + TAG_CITE, TAG_B, TAG_I, TAG_CODE, diff --git a/mandoc.css b/mandoc.css index e299069d..7ea4d975 100644 --- a/mandoc.css +++ b/mandoc.css @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.14 2017/01/25 02:14:43 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.15 2017/02/05 19:29:19 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -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 { } diff --git a/mdoc_html.c b/mdoc_html.c index 9dc82953..9d6ca1af 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.265 2017/02/05 18:15:39 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.266 2017/02/05 19:29:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -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; }