diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-24 00:46:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-24 00:46:49 +0000 |
commit | 390e9bb2eebe070ac0a97222e307f0c172517e47 (patch) | |
tree | 8a2bf919af52abcffd3d47248830cdb0898357bc /example.style.css | |
parent | b33bf33f98a8a9b9bbdfadef137c7dcf838939b0 (diff) | |
download | mandoc-390e9bb2eebe070ac0a97222e307f0c172517e47.tar.gz |
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 (<P> 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.
Diffstat (limited to 'example.style.css')
-rw-r--r-- | example.style.css | 7 |
1 files changed, 3 insertions, 4 deletions
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. */ |