summaryrefslogtreecommitdiff
path: root/tmac/html.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-03-02 16:30:44 +0000
committerwlemb <wlemb>2002-03-02 16:30:44 +0000
commit6b0ad6d0290881b9873979f0aacf47f4f0de54e6 (patch)
tree368a0c23b227a2b065a015de75ed5fe3e232b87e /tmac/html.tmac
parent6a49ddf519ec00cec7ebe22c1c1ff14b1efc91cf (diff)
downloadgroff-6b0ad6d0290881b9873979f0aacf47f4f0de54e6.tar.gz
* fonts/devcp1047/R.proto, fonts/devlatin1/R.proto,
fonts/devhtml/R.proto: Remove `charXXX'entries. * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac where appropriate. * fonts/devlj4/generate/text.map: Remove `charXXX' entries. * fonts/devlj4/*: Regenerated all font definition files. * tmac/lj4.tmac: Load latin1.tmac. * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change from 2000-06-17: LJ4 metric files are *not* text files. * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string register to test for EBCDIC.
Diffstat (limited to 'tmac/html.tmac')
-rw-r--r--tmac/html.tmac25
1 files changed, 19 insertions, 6 deletions
diff --git a/tmac/html.tmac b/tmac/html.tmac
index 3ae0e39c..8a82def3 100644
--- a/tmac/html.tmac
+++ b/tmac/html.tmac
@@ -2,7 +2,9 @@
.\"
.nr _C \n(.C
.cp 0
+.
.nroff
+.
.ftr CW CR
.ftr C CR
.ftr CO CI
@@ -11,6 +13,7 @@
.ftr HO HI
.ftr HX HBI
.ftr NX NBI
+.
.if !c\(em .char \(em --
.if !c\(en .char \(en \-
.if !c\(fi .char \(fi fi
@@ -27,11 +30,10 @@
.if !c\(rh .char \(rh ->
.if !c\(bq .tr \(bq,
.if !c\(aq .tr \(aq'
-.\"
+.
.\" Now set any characters defined in devps/S but not in devhtml/S to nul --
.\" these are generated by eqn but not used by grohtml. grops generated
.\" images during the alternative pass.
-.\"
.if !c\(*y .tr \(*y
.if !c\(fa .tr \(fa
.if !c\(te .tr \(te
@@ -202,21 +204,24 @@
.if d oh .oh ''''
.if d eh .eh ''''
.tl ''''
+.
.\" it doesn't make sense to use hyphenation with html, so we turn it off.
.hy 0
.nr HY 0
+.
.\" avoid line breaks after hyphen-like characters.
.cflags 0 -\(hy\(em\(en\[shc]
+.
.pl 99999
+.
.\" now for the color definitions
.\"
.\" html-4.0 colors
.\"
.defcolor white rgb #ffffff
.defcolor fuchsia rgb #ff00ff
-.\"
+.
.\" these colors are compliant with html-3.0 and above
-.\"
.defcolor aliceblue rgb #eff7ff
.defcolor antiquewhite rgb #f9e8d2
.defcolor antiquewhite1 rgb #feedd6
@@ -695,10 +700,18 @@
.defcolor yellow rgb #ffff00
.defcolor yellow1 rgb #fffc17
.defcolor yellowgreen rgb #52d017
+,
.\" set default glyph color to black (leave the background color alone)
\m[black]\c
.
-.if !\n(_C .mso pspic.tmac
.cp \n(_C
-.\"
+.
+.if !\n(_C \
+. mso pspic.tmac
+.
+.do ie '\[char97]'a' \
+. do mso latin1.tmac
+.el \
+. do mso cp1047.tmac
+.
.\" end of file, make sure this is the last line