aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 00:46:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 00:46:49 +0000
commitd1f1f8d600d26e5bb01736ad53269bed555043d5 (patch)
tree4d80d982f1229b979fa15a355b785ba7fb5aac8b /example.style.css
parent188534b2a99bf10e95000577793cb759e21d5a78 (diff)
downloadmandoc-d1f1f8d600d26e5bb01736ad53269bed555043d5.tar.gz
mandoc-d1f1f8d600d26e5bb01736ad53269bed555043d5.tar.zst
mandoc-d1f1f8d600d26e5bb01736ad53269bed555043d5.zip
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.css9
1 files changed, 4 insertions, 5 deletions
diff --git a/example.style.css b/example.style.css
index a39ec402..567fd0ba 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,4 +1,4 @@
-/* $Id: example.style.css,v 1.38 2010/12/22 11:15:16 kristaps Exp $ */
+/* $Id: example.style.css,v 1.39 2010/12/24 00:46:49 kristaps Exp $ */
/*
* This default style-sheet mimics the appearance of the traditional
@@ -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. */