summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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