🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7586

Re: How to include PostScript pictures in troff?

#7586
From: Stephen B. Baumgarten
Date: Fri, 04 Nov 1988 14:03
24 lines
1641 bytes
In article <175@shapetc.UUCP> brouwer@shapetc.UUCP (Gerrit Brouwer ) writes:
>I am using UNIX troff (-ms) and the Adobe Transcript package  for
>producing PostScript output files for a SUN LaserWriter (== Apple
>LaserWriter).  Are there any pre-WYSIWYG wizards out there  know-
>ing  a  way  to  include  PostScript pictures (e.g. produced with
>Adobe Illustrator) in the text?

There's a macro package called 'psfig' (available for both troff and
TeX) that allows you to include encapsulated PostScript figures (or
text, or whatever) in your source.  The EPS could come from
Illustrator, or from any program that generates EPS files (or even
plain old PostScript files, as long as you're willing to add the
bounding box information yourself).

Basically, it relies on the information in the file's "BoundingBox:"
line to determine the amount of space to reserve, etc.

Works quite well, and it's available in all the usual archive locations.

-- 
   Steve Baumgarten             | "New York... when civilization falls apart,
   Davis Polk & Wardwell        |  remember, we were way ahead of you."
   cmcl2!esquire!sbb            | 
   esquire!sbb@cmcl2.nyu.edu    |                           - David Letterman
Technical Details
Message-ID: <771@esquire.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!cmcl2!esquire!sbb
References: <175@shapetc.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!cmcl2!esquire!sbb
From: sbb@esquire.UUCP (Stephen B. Baumgarten)
Newsgroups: comp.lang.postscript
Subject: Re: How to include PostScript pictures in troff?
Keywords: troff
Message-ID: <771@esquire.UUCP>
Date: 4 Nov 88 14:03:03 GMT
References: <175@shapetc.UUCP>
Reply-To: sbb@esquire.UUCP (Stephen B. Baumgarten)
Organization: DP&W, New York, NY
Lines: 24