images in Postscript

Ken Keirnan kjk at pbhyf.PacBell.COM
Sun Mar 27 02:24:52 AEST 1988


In article <1157 at pembina.UUCP> franco at alberta.UUCP (Franco Carlacci) writes:
>
> Here's my Problem:
>
>     The troff facility at our installation can generate
>     Pstscript code. I have raster image which I would
>     like to include in my text. Is there   pre-processor
>     somewhere out there that will allow my to include
>     my image. I have a program which can convert the
>     raster to Postscript code but I have no idea how to
>     merge this code with the one produce by troff. Any
>     help would be appreciated. 
>
>                          Franco

Franco, since you didn't mention what text formatter you are using and
by what method you are generating PostScript output, I offer the following:

There was a "ditroff" preprocessor called "psfig" posted to the net a while
back that allows inclusion of PostScript figures (designs, images, etc.)
and passthrough of PostScript code fragments to achieve special effects. The
package is excellent, but (as of the time it was posted) only works with
the "psdit" ditroff to PostScript translator which is part of Adobe's
TransScript package, AND (a big and) requires access to the psdit source code,
AND (another big one) requires AT&T's Documentors Work Bench (DWB) 2.0 or
equivilant (the formatter must recognize the "\X" escape).

If you are using TeX, I remember some mention of a macro package being
available from the psfig authors to accomplish the same effect as psfig, but
I don't remember any details.

I don't have the Adobe TransScript package, but I am currently using psfig
with "devps", another ditroff to PostScript postprocessor from Pipeline
Associates in New York.  I had to write a pre-postprocessor Rube Goldberg
program to go between ditroff and devps, and the result is usually
acceptable, but as soon as I get the source to devps I'll do a real job of it.
In fairness to Pipeline Associates, I should mention that their product
already has capabilities for inclusion of PostScript figures and PostScript
code passthrough, but it isn't quite as elegant as psfig (In my opinion).

I apologize for not having the e-mail address for the authors of psfig, but
perhaps the following will help:

	Ned Batchelder* and Trevor Darrell
	Computer and Information Science Department
	University of Pennsylvania
	200 South 33rd Street
	Philadelphia, PA  19104

	* Neds current address:

	Digital Equipment Corporation
	129 Parker Street
	PK03-1/K90
	Maynard, MA  01754

Perhaps someone else on the net can give you more information.

					Ken Keirnan
-- 

--------
Ken Keirnan -- Pacific Bell -- {ihnp4,sun,ames,pyramid}!pacbell!pbhyf!kjk



More information about the Comp.unix.questions mailing list