From 224f446249fda3920e8d511b644ae930eebbca5c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 31 Jul 1999 12:00:58 +0000 Subject: [PATCH] Pick hardcoded latin1 chars definitions only if -Tlatin1 --- contrib/groff/tmac/tmac.tty-char | 2 +- contrib/groff/tmac/troffrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/groff/tmac/tmac.tty-char b/contrib/groff/tmac/tmac.tty-char index f66d7a858e51..d9706a8b771a 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 46791ac676de..823814278240 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" \{\