summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-26 22:35:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-26 22:35:59 +0000
commit0d10c8557262e29c75d5f481922ded794e98c2fe (patch)
tree3c07d7ba41b5ea929ce8c966cf5809a9760cd648
parent08aafd241c1ac542a9be86df47ea700e39152892 (diff)
downloadmandoc-0d10c8557262e29c75d5f481922ded794e98c2fe.tar.gz
`Ad' is supposed to underline. Found whilst trolling through manuals.
-rw-r--r--example.style.css2
-rw-r--r--mdoc_term.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/example.style.css b/example.style.css
index fa25d7e6..c989ac37 100644
--- a/example.style.css
+++ b/example.style.css
@@ -11,7 +11,7 @@ div.ssec-head { font-weight: bold; font-style: normal; } /* Sub-sections (Ss). *
div.ssec-body { }
div.ssec-block { }
-span.addr { } /* Address (Ad). */
+span.addr { font-style: italic; font-weight: normal; } /* Address (Ad). */
span.arg { font-style: italic; font-weight: normal; } /* Command argument (Ar). */
span.author { } /* Author name (An). */
span.bold { font-weight: bold; font-style: normal; } /* Generically bold (SB, BI, IB, BR, RB, B). */
diff --git a/mdoc_term.c b/mdoc_term.c
index ef17eaf6..d6fba13d 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -151,7 +151,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_bl_pre, termp_bl_post }, /* Bl */
{ NULL, NULL }, /* El */
{ termp_it_pre, termp_it_post }, /* It */
- { NULL, NULL }, /* Ad */
+ { termp_under_pre, NULL }, /* Ad */
{ termp_an_pre, termp_an_post }, /* An */
{ termp_under_pre, NULL }, /* Ar */
{ termp_cd_pre, NULL }, /* Cd */