From 08b7f86267663883d71e98c502652ec334c232bc Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 13 Aug 2014 15:25:22 +0000 Subject: Use for .Em and .Bf -emphasis. The vast majority of .Em in real-world manuals is stress emphasis, for which is the correct markup. Admittedly, there are some instances of .Em usage for alternate quality, for which would be a better match. Most of these are technical terms that neither allow semantic markup nor are keywords - for the latter, .Sy would be preferable. A typical example is that the shell breaks input into .Em words . Alternate voice or mood, which would also require , is almost absent from manuals. We cannot satisfy both stress emphasis and alternate quality, so pick the one that fits more often and looks less wrong when off. Patch from Guy Harris . ok joerg@ bentley@ --- example.style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.style.css') diff --git a/example.style.css b/example.style.css index 660f4d13..e17af922 100644 --- a/example.style.css +++ b/example.style.css @@ -1,4 +1,4 @@ -/* $Id: example.style.css,v 1.49 2011/12/15 12:18:57 kristaps Exp $ */ +/* $Id: example.style.css,v 1.50 2014/08/13 15:25:22 schwarze Exp $ */ /* * This is an example style-sheet provided for mandoc(1) and the -Thtml * or -Txhtml output mode. @@ -30,7 +30,7 @@ div.mandoc .list { } /* All Bl. */ div.mandoc i { } /* Italic: BI, IB, I, (implicit). */ div.mandoc b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */ div.mandoc small { } /* Small: SB, SM. */ -div.mandoc .emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */ +div.mandoc em { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */ div.mandoc .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */ div.mandoc .lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */ div.mandoc i.addr { font-weight: normal; } /* Address (Ad). */ -- cgit v1.2.3-56-ge451