🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2014

Re: At wit's end with nroff -me

#2014
From: David Barts
Date: Wed, 31 Oct 1990 19:47
25 lines
1141 bytes
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
Technical Details
Message-ID: <400@pacer.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!pacer!davidb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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