Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!husc6!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.UUCP Newsgroups: net.text Subject: Re: fixed format displays in troff Message-ID: <8556@sun.uucp> Date: Sun, 26-Oct-86 18:47:08 EST Article-I.D.: sun.8556 Posted: Sun Oct 26 18:47:08 1986 Date-Received: Mon, 27-Oct-86 05:38:10 EST References: <2@torch.UUCP> Organization: Sun Microsystems, Inc. Lines: 26 > I am trying to include some formatted output from a program in a document > which is being formatted using troff. ... I am using troff in conjunction > with TranScript (from Abobe) together with a PostScript laser printer. > The TranScript system provides Times and Helvetica proportional fonts for > use with troff which consequently do not produce aligned output in such a > display. > > Does anyone know a way round this problem ? Thanks in advance for any help. 1) System V, Release 1 had a "cw" command that provided some sort of support for a "constant-width" font. Unfortunately, the old-style "troff" provided with S5R1 didn't support more than four fonts; "cw" required you to choose whether to mount the constant-width font on font position 1, 2, or 3, so you had your choice of giving up the regular, Italic, or boldface version of the standard font. 2) "troff" disappeared from S5R2; you have to buy the Documenter's Workbench software to get it. However, you then got Typesetter-Independent "troff", which can handle more fonts simultaneously. I believe TranScript supports translating TITROFF output to PostScript. We have a constant-width font named "L" here (I don't know whether it comes with TranScript or not) and that's how we produce that sort of stuff. -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)