diff options
Diffstat (limited to 'tmac/tty.tmac')
-rw-r--r-- | tmac/tty.tmac | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/tmac/tty.tmac b/tmac/tty.tmac index 1c3f14fa..2fde64e0 100644 --- a/tmac/tty.tmac +++ b/tmac/tty.tmac @@ -2,16 +2,27 @@ .\" .nr _C \n(.C .cp 0 +. .nroff +. .\" Don't warn about non-existent fonts. .warn \n[.warn]-(\n[.warn]/131072%2*131072) +. .po 0 -.if c\[shc] .shc \[shc] +. +.if c\[shc] \ +. shc \[shc] +. .de tty-char -.if !c\\$1 .char \\$1 "\\$2 +. if !c\\$1 \ +. char \\$1 "\\$2 .. -.ie c\(pc .tr \(bu\(pc -.el .if c\(md .tr \(bu\(md +. +.ie c\(pc \ +. tr \(bu\(pc +.el +. if c\(md \ +. tr \(bu\(md .tty-char \(bu \z+o .tty-char \(14 1/4 .tty-char \(12 1/2 @@ -46,6 +57,7 @@ .tty-char \(an - .tty-char \(eu EUR .tty-char \(Eu EUR +. .\" color definitions .defcolor black rgb #000000 .defcolor red rgb #ff0000 @@ -55,7 +67,15 @@ .defcolor magenta rgb #ff00ff .defcolor cyan rgb #00ffff .defcolor white rgb #ffffff +. .cp \n(_C +. +.ie '\*(.T'cp1047' \ +. do mso cp1047.tmac +.el \ +. if '\*(.T'latin1' \ +. do mso latin1.tmac +. .\" If you want the character definitions in tty-char.tmac to be loaded .\" automatically, remove the `\"' from the next line. .\"do mso tty-char.tmac |