Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!pacer!davidb From: davidb@Pacer.UUCP (David Barts) Newsgroups: comp.text Subject: Re: At wit's end with nroff -me Message-ID: <400@pacer.UUCP> Date: 31 Oct 90 19:47:11 GMT Organization: Pacer Corp., Bothell, WA Lines: 25 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