From 390e9bb2eebe070ac0a97222e307f0c172517e47 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 24 Dec 2010 00:46:49 +0000 Subject: Drastically fix -T[x]html's handling of font-escape mode changes (i.e., using \fI or \fP). Now, using these modes will cause a font to be rendered for each word; furthermore, setting mode within a word will do the correct thing. Second, make -man use real font tags (B, I, SMALL) to set its font instead of using font modes and fix up the pre-macro unsetting of the current mode. This fixes how roff.7 wasn't validating (

closing out a font mode) and has been checked against gcc.1 (more will come). I considered failure to validate OUR manual to be a show-stopper for the up-coming release. --- example.style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'example.style.css') diff --git a/example.style.css b/example.style.css index e1e86a29..7c6374d9 100644 --- a/example.style.css +++ b/example.style.css @@ -35,12 +35,11 @@ td { vertical-align: top; } /* General font modes. */ -.italic { font-style: italic; font-weight: normal; } /* Italic: BI, IB, I, (implicit). */ +i { } /* Italic: BI, IB, I, (implicit). */ .emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */ -.bold { font-style: normal; font-weight: bold; } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */ +b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */ .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */ -.roman { font-style: normal; font-weight: normal; } /* Roman: (implicit). */ -.small { font-style: normal; font-weight: normal; font-size: smaller; } /* Small: SB, SM. */ +small { } /* Small: SB, SM. */ /* Block modes. */ -- cgit