aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitc5cc67f801d437ed8601ac67e37ccdc77f0cac0b (patch)
tree172a26b021d33dcf51b8faae7c2c301f9ed12e06
parent2ba814d7db70eb5d286afab67d67716cd8d0906e (diff)
downloadmandoc-c5cc67f801d437ed8601ac67e37ccdc77f0cac0b.tar.gz
mandoc-c5cc67f801d437ed8601ac67e37ccdc77f0cac0b.tar.zst
mandoc-c5cc67f801d437ed8601ac67e37ccdc77f0cac0b.zip
`Ad' is supposed to underline. Found whilst trolling through manuals.
-rw-r--r--example.style.css4
-rw-r--r--mdoc_term.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/example.style.css b/example.style.css
index fcaf64b6..56f71d40 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,4 +1,4 @@
-/* $Id: example.style.css,v 1.20 2010/04/08 08:17:55 kristaps Exp $ */
+/* $Id: example.style.css,v 1.21 2010/07/26 22:35:59 kristaps Exp $ */
div.body { font-family: monospace;
min-width: 580px; width: 580px; } /* Top-most div tag. */
@@ -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 fdf7f737..1941e07c 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.177 2010/07/21 21:55:33 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.178 2010/07/26 22:35:59 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 */