[comp.text.tex] Creating EPSF files with PICT resources for Textures

William Ward (06/14/91)

This question is very specific to including graphics for TeX on the Macintosh,
and it probably applies only to Textures as well...

Macintosh pplications such as Adobe Illustrator can create EPSF files with an
include PICT copy of the image so that the result can be previewed on screen
without interpreting the PostScript.  This is using the Textures
\special{illustration ...} command.  I've recently started using a wonderful
utility (XlateGraf by Robert Joungbloed and Geoff Hicks, ftp-able from sumex)
that can translate many image types into EPSF files or PICT resource files,
among other things.  If I start with an image, such as a GIF, I can create PICT
resource and paste it into the EPSF file I also create, (which uses the data
fork only), but Textures will not preview it unless other resources are
included.  When I use ResEdit to blindly copy in the other resources from an
Illustrator document (with Mac preview) and change all the ID's to 256, it
works fine!  I don't know what these resources do, however, and I'm sure how
they need to be modified to get an accurate representation.  

Can anyone tell me what these resources are for, and how edit or create ones
that reflect the particular graphic I want to include?  The resources I found
are called PAGE, PREC, and TEMP.  When Textures reads the EPSF file, it creates
another resource called PICI.  It also creates resources called *FMT and rTEX,
but these are unrelated to the PICT.  Also, is there a more automated way to do
this?

Thank you in advance.

Bill Ward