[mod.computers.laser-printers] including PostScript in TeX

trevor@LINC.CIS.UPENN.EDU.UUCP (01/19/87)

psfig/TeX -- include PostScript (and Macintosh) figures inside a TeX document.


Psfig/TeX is a new macro package for TeX that facilitates the inclusion
of arbitrary PostScript figures into TeX documents. Figures are automatically
scaled and positioned on the page, and the proper amount of space is reserved.
Custom characters may be created and used freely throughout a document. Since
the Macintosh drawing applications produce PostScript, they can be used to
create figures.

\begin{sales pitch}
The most appealing feature of psfig/tex is its clean user interface;
whenever possible assumptions are made about where the figure should go and
what size it should be, so the user need not explicitly specify anything but
the name of the figure. Psfig/tex searces the file for it's bounding box 
comment to find its natural size if the size is not specified, or in order
to scale it evenly (if the user only specifies a height or a width but not
both). The figure is always placed at the current TeX pen position, and 
the PostScript enviornemnt is the "standard" (ie non-dvips) one. Of course,
all default actions may be overridden in a reasonable way. Lots of options.
\end{sales pitch}

System Requirements:
Right now dvips (from TextSet or ArborText or whatever they are calling
themselves this week) is the only supported postprocessor. Porting
to dvi2ps hasn't yet been done, but should not be difficult. 


**> Psfig/TeX is available via anonymous ftp at linc.cis.upenn.edu (10.4.0.96
and 128.91.2.8). <** (see below for uucp)

The main shar file is pub/psfigtex.shar (~100K); a full PostScript copy
of the documentation is in pub/psfigtex.ps (~0.8MB); some expensive figures
used in the documentation but not included in the shar file are in 
pub/figs/fancyimage.ps and pub/figs/psfig.ps.1 (about a half meg combined).

If you don't have the expensive figures and run off a copy of the
documentation, the figures will come out in draft mode (just a filename,
no figure). Since these two figres are roughly 4 times as large as all 
the other figures, source, and text combined, I kept them separate.
The full PostScript copy has the expensive figures.

psfigtex.shar is also being posted to mod.sources. If people in uucp land cant
wait that long I may be able to mail out some copies; send me your mailbox
relative to some arpanet relay.

horror stories, comments, suggestions, sucess stories, and other assorted
trivia can be sent to trevor@grasp.cis.upenn.edu or linc.cis.upenn.edu.