Hello all, I want to typeset headers in man pages (an-old.tmac) differently for text-based and PostScript devices. For the former I want them to be uppercase, while for the latter -- in the normal case, as they were typed.
I thought I would prepend the TH and SH macros with code that would conditionally (.if n) enter an "all- caps" mode and append them with corresponding code to return back to normal mode; or, maybe, write wrappers around them so as to prevent any side ef- fects, like translations' affecting various traps and hooks. But it turned out that simple requests like .tr aAbBcC or .char aA do not work with Russian (non-ACSII) symbols and that I have to do: .char a\[u0431] which of course only works with the PostScript de- vice, but fails with latin1 which I use for text output. Will I have to switch to the UTF8 device instead latin1 to achieve my goal, or is there a device-in- dependent way to implement the uppercase mode? Anton