🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3304

Re: Novice looking for troff -> postscript conversion

#3304
From: Henry McGilton
Date: Tue, 09 Oct 1990 20:46
35 lines
2060 bytes
In article <864@jonlab.UUCP>, jon@jonlab.UUCP (Jon H. LaBadie) writes:

    *  I recently acquired a laser printer (Texas Instruments)
    *  that is both HP II and PostScript compatible.
    *  For most of my text processing I use troff.  I have DWB
    *  II for my computer and JetRoff shareware for printing
    *  in HP mode.  However, I would like to do some of the
    *  fancier things available in PS.
    *  Thus, two questions:

      1. What troff -> PostScript converters are available?  Note, I
	 am using an AT&T 3B1, so probably there is not much commercial
	 software for this system.
TranScript is available from Adobe Systems.  DevPS is available
from Pipeline Associates.

      2. Given that I am using a stock troff (ditroff), how do I reference
	 the myriad fonts available with PS using the 2 character limits
	 in troff?
You can change ditroff to support more than ten fonts.  The
changes are relatively easy, involving a change to a number
in a header file.  You also must change the setfont
routines in ditroff to make the \f sequence and the .ft
request process numbers greater than nine.  You also need
to change makedev.  If you get TranScript, you need to
recompile psdit for the same number of fonts as well.  If
you have devps, you need to change a define in
stuff.h.  In my installation it's already set to 25.

The two character limit on font names is pretty pervasive
in troff and very hard to change easily.  There have been
various guidelines posted in the past as to how to map
font names to troff cryptic names.

	........  Henry
Technical Details
Message-ID: <1234@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!angel.Eng.Sun.COM!henry
References: <864@jonlab.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!angel.Eng.Sun.COM!henry
From: henry@angel.Eng.Sun.COM (Henry McGilton)
Newsgroups: comp.lang.postscript
Subject: Re: Novice looking for troff -> postscript conversion
Summary: TranScript, Pipeline
Keywords: troff DWBII
Message-ID: <1234@exodus.Eng.Sun.COM>
Date: 9 Oct 90 20:46:33 GMT
References: <864@jonlab.UUCP>
Sender: news@exodus.Eng.Sun.COM
Lines: 35