[comp.lang.postscript] Including PS files within troff output

eeprak@gdr.bath.ac.uk (R A Knight) (02/01/90)

Does anyone out there know how to include postscript picture files
as part of troff generated output?
The troff output is created using memorandum macros and is in postscript
format.
What I'm trying to do is intersperse diagrams into the text of a report.
Any help whatsoever gratefully accepted (email, if necessary, or post
to this group).

******************************************************************************
* R.A.Knight,         * Phone: +44 225 826058                                *
* School of Elec Eng, *                                                      *
* The University,     * JANET: eeprak@UK.AC.BATH.GDR                         *
* Claverton Down,     *  UUCP: to be announced                               *
* BATH,  BA2 7AY,     *  ARPA: eeprak%gdr.bath.ac.uk@ucl-cs.arpa             *
* England.            *                                                      *
******************************************************************************

brown@vidiot.UUCP (Vidiot) (02/05/90)

In article <1990Feb1.154024.14094@bath.ac.uk> eeprak@gdr.bath.ac.uk (R A Knight) writes:
<Does anyone out there know how to include postscript picture files
<as part of troff generated output?
<The troff output is created using memorandum macros and is in postscript
<format.

It can be done automatically if you have Documentor's Workbench 2.0, or a
compatible, and the Adobe Transcript program.  The compatible troff proram may
have the feature as well, consult the manual pages.

If you are using the old troff, the PostScript output file needs to be hand
edited.  The Adobe pscat PostScript prolog wasn't configured for inclusion
of PostScript code.  If you are using the Adsobe psroff program, consult the
psdit man page.

If you have either of the above mentioned, let me know and I'll supply details
on how to do it.
-- 
      harvard\     att!nicmad\              cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/  decvax!nicmad/   INTERNET:<@cs.wisc.edu,@astroatc:brown@vidiot>

clewis@eci386.uucp (Chris Lewis) (02/08/90)

In article <112@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:
| In article <1990Feb1.154024.14094@bath.ac.uk> eeprak@gdr.bath.ac.uk (R A Knight) writes:
| <Does anyone out there know how to include postscript picture files
| <as part of troff generated output?
| <The troff output is created using memorandum macros and is in postscript
| <format.
 
| If you are using the old troff, the PostScript output file needs to be hand
| edited.  The Adobe pscat PostScript prolog wasn't configured for inclusion
| of PostScript code.  If you are using the Adsobe psroff program, consult the
| psdit man page.

The "psroff" package that I shipped to comp.sources.unix a while back
(and patches in comp.sources.bugs) will do inclusions in any of the
three output formats (ditroff ("dt"), HPLJ ("lj"), and postscript ("ps")).

Eg:

	.sR "I<my file name>"

will pick up "my filename" (with .ps or .dt or .lj appended as appropriate)
-- 
Chris Lewis, Elegant Communications Inc, {uunet!attcan,utzoo}!lsuc!eci386!clewis
Ferret mailing list: eci386!ferret-list, psroff mailing list: eci386!psroff-list