From 3bddfe1b4e13e4d2199db5668e7ff9839ca5aeca Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 12 Apr 2009 17:56:35 +0000 Subject: [PATCH] Install some default transliterations for man pages... Install some default transliterations for man pages. If nroff is used with ASCII as output, encode the German umlaut and szet characters with the normal transliteration rules. OK wiz@ --- tmac/ascii.tmac | 8 ++++++++ tmac/tty.tmac | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 tmac/ascii.tmac diff --git a/tmac/ascii.tmac b/tmac/ascii.tmac new file mode 100644 index 00000000..ce6cded7 --- /dev/null +++ b/tmac/ascii.tmac @@ -0,0 +1,8 @@ +.\" Transliterate non-ASCII characters for use in man pages etc. +.fchar \(:a ae +.fchar \(:o oe +.fchar \(:u ue +.fchar \(:A Ae +.fchar \(:O Oe +.fchar \(:U Ue +.fchar \(ss ss diff --git a/tmac/tty.tmac b/tmac/tty.tmac index 8d69253b..71e8add5 100644 --- a/tmac/tty.tmac +++ b/tmac/tty.tmac @@ -83,7 +83,9 @@ .ie '\*(.T'cp1047' \ . do mso cp1047.tmac .el \ -. if !'\*(.T'ascii' \ +. if '\*(.T'ascii' \ +. do mso ascii.tmac +. el \ . do mso latin1.tmac . .\" If you want the character definitions in tty-char.tmac to be loaded -- 2.11.4.GIT