summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-07-31 12:00:58 +0000
committerache <ache@FreeBSD.org>1999-07-31 12:00:58 +0000
commitc215087713a87a5afc68160b59b32b59cf0b75d7 (patch)
tree2fceff38387a6c04f83599759286cae1571a7bdc /contrib
parent442264e39a96edf1372eff34aa4d2be5f09aea11 (diff)
downloadFreeBSD-src-c215087713a87a5afc68160b59b32b59cf0b75d7.zip
FreeBSD-src-c215087713a87a5afc68160b59b32b59cf0b75d7.tar.gz
Pick hardcoded latin1 chars definitions only if -Tlatin1
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/tmac.tty-char2
-rw-r--r--contrib/groff/tmac/troffrc3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/groff/tmac/tmac.tty-char b/contrib/groff/tmac/tmac.tty-char
index f66d7a8..d9706a8 100644
--- a/contrib/groff/tmac/tmac.tty-char
+++ b/contrib/groff/tmac/tmac.tty-char
@@ -195,4 +195,4 @@
.\"tty-char \(:y \ij
.tty-char \[arrowvertex] |
.cp \n(_C
-.do mso tmac.latin1
+.ie "\*[.T]"latin1" .do mso tmac.latin1
diff --git a/contrib/groff/tmac/troffrc b/contrib/groff/tmac/troffrc
index 46791ac..8238142 100644
--- a/contrib/groff/tmac/troffrc
+++ b/contrib/groff/tmac/troffrc
@@ -18,7 +18,8 @@
. do mso \*[troffrc!\*[.T]]
.do rm troffrc!ps troffrc!Xps troffrc!dvi troffrc!X75 troffrc!X75-12 \
troffrc!X100 troffrc!X100-12 troffrc!lj4
-.do tr \[char160]
+.ie "\*[.T]"koi8-r" .do tr \[char154]
+.el .if "\*[.T]"latin1" .do tr \[char160]
.\" Set the hyphenation language to `us' unless we're using koi8-r (russian)
.\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
.ie "\*[.T]"koi8-r" \{\
OpenPOWER on IntegriCloud