[Mac OS X TeX] TeXShop and Illustrator 10 (yay!)
Hemant Bhargava
hkb at mac.com
Fri Nov 30 08:07:21 EST 2001
Jacques -
Just one comment ... you note you did the formulas in tex, then
converted to eps using the previewer, then brought them into your
graphic document to combine the picture and formulas ... there is an
easier way.
Use the psfrag package (there was a description on this list a few weeks
back). In your Illustrator figure, simply include symbols such as A,x,
alpha etc. , then in your .tex file, do \psfrag replacements such as
\psfrag{A}{\alpha^{2}}
\psfrag{x}[Br][Br]{\frac{\partial f(x)}{\partial x}}
where the optional arguments [Br][Br] say that the Bottom right corner
of the textbox is to align with the Bottom right corner of the text
replacement.
However, here's the catch. All of this does not work with pdftex, you
have to use TeX+Ghostscript. This should not pose any problems either,
except that the community seems to favor pdftex, so there'll be better
support for it.
Hope this helps,
- Hemant
On Friday, November 30, 2001, at 01:03 AM, Jacques Distler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just in case anyone else puzzles over this . . .
>
> For many years, I've produced figures using my trusty old version
> (3.2!) of Adobe Illustrator.
>
> One of the features I liked about Textures was that it had an "export
> to Illustrator format" in the DVI previewer. I could typeset formulae
> in TeX and, using this feature, incorporate them as labels in the
> figures I created in Illustrator. (TeX is better at typesetting
> formulae than I would be dragging individual characters around in
> Illustrator and using CM fonts *sure* beat Times-Roman.)
>
> I finally (and somewhat reluctantly) upgraded myself to the OSX native
> Illustrator 10 (very good academic price, I'll admit) and was casting
> around for a solution to recreate this ability.
>
> At first, things did not look good. Illustrator barfed when it opened
> the .pdf file created by TeXShop. Font-subsetting (which is what both
> pdftex and dvips+ghostscript are set up to do) was not satisfactory to
> it, and it insisted on converting everything from Computer Modern to
> Helvetica, because the CM fonts could not be found.
>
> Turns out the solution is to download
>
> <http://www.esm.psu.edu/mac-tex/fonts/TeX-Illustrator.sit>
>
> and install the folder TeX-Illustrator as
>
> "/Library/Application Support/Adobe/Fonts/TeX-Illustrator"
>
> Illustrator then happily opens PDF files created by TeXShop, and one
> can manipulate the contents at will.
>
> Jacques
>
> P.S:
> I have found that, at the end of the day, it is best to convert the
> characters included in the figures from fonts to outlines (some
> versions of ghostscript will barf otherwise), but this can be made to
> happen *automatically* when Illustrator 10 "flattens" its output for
> export to .eps or .pdf.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (Darwin)
> Comment: PGP Key - http://golem.ph.utexas.edu/~distler/distler.asc
>
> iD8DBQE8ByFWnyqPIXpYcjcRAtiIAJ0Sx2bBKK6ntQLcEVFM6a9OuHZ4hACgx5IB
> m5vcjsmCV7H1k7tW38aTx7w=
> =fXJv
> -----END PGP SIGNATURE-----
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------
More information about the MacOSX-TeX
mailing list