davidb@Pacer.UUCP (David Barts) (11/01/90)
A while ago a posted an article about my frustrations in getting
| to map to \ correctly inside an index in an nroff-me file that
had
.tr |\\
set. Nobody has responded yet, but I have managed to come up with
the following workaround.
Before adding anything to the index, I do:
.am %x
.tr |^G
..
Then, to print the index, I say:
.tr ^G\\
.xp
Apparently, there is a double translation that takes place _at the time
the index is printed_. In all my previous efforts to circumvent this
problem, I had assumed that one translation was taking place when text
was appended to the index macro, and one when it was printed.
My solution is generally ugly, but it works.
--
David Barts Pacer Corporation, Bothell, WA
davidb@pacer.uucp ...!uunet!pilchuck!pacer!davidb