[OS X TeX] TexShop with Psfrag - Need Help

Matthew Leingang leingang at math.harvard.edu
Thu Jun 19 11:21:58 EDT 2008


On Jun 18, 2008, at 8:06 PM, Catherine Taff wrote:

> That looks great. I'm also looking for a way to add tags to figures  
> not created in Mathematica. Is there a free program I can use to do  
> that?

The overpic package allows you to place LaTeX picture commands over  
an included graphic.

http://www.ctan.org/tex-archive/help/Catalogue/entries/overpic.html

HTH,
Matt

> On Jun 18, 2008, at 4:59 PM, Michael Sharpe wrote:
>
>> You might try Mathpsfrag, available from
>>
>> http://wwwth.mppmu.mpg.de/members/jgrosse/mathpsfrag/
>>
>> Michael
>>
>> On Jun 18, 2008, at 3:44 PM, Catherine Taff wrote:
>>
>>> I am new to LaTeX, using TexShop and trying to get psfrag to  
>>> work, but am having no luck so far.
>>>
>>> Psfrag seems to work fine in using LaPrint with Matlab. What I  
>>> want to do now is have it work with tags I put on images not  
>>> created in Matlab, for example something I drew using Photoshop.  
>>> I first tried using Photoshop 7 on my Mac to create the .eps and  
>>> psfrag didn't work with it (no errors, just didn't work). I  
>>> thought maybe Photoshop wasn't doing it right, since EPS wasn't  
>>> an optional file format for saving, but "Photoshop EPS" was (are  
>>> they different?).
>>>
>>> I tried using Mathematica 6, putting a tag on a graph created in  
>>> Mathematica by using the draw capability and entering text, but  
>>> that didn't work either. I'm not getting any error messages  
>>> again, it's just not doing the replacement. I read through the  
>>> documentation on psfrag and it said you can examine your ESP  
>>> document as an ASCII and see how the tag is shown in there in  
>>> order to make sure you're calling it right with psfrag. It said  
>>> there would be
>>>
>>> (thetag) show
>>>
>>> somewhere in the ASCII version. I didn't find "show" anywhere in  
>>> my Photoshop EPS and didn't find it in reference to the tag I  
>>> added in my Mathematica-created EPS - though in the Mathematica  
>>> one I found my tag referenced like this (the tag is "Rf"):
>>>
>>> %      "]]}}, InsetBox[Cell["Rf"], {4.649821375409347, \
>>> %4271.379822432118}, {-1., 0.}]},
>>>
>>> It seems since it's not in there like:
>>>
>>> (thetag} show
>>>
>>> that it won't work with psfrag? Is that correct? Has anyone had  
>>> success with Mathematica-added tags and psfrag? What program  
>>> should I be using to add my tags in order to get psfrag to work?  
>>> Are any of the problems I'm having related to the fact that I'm  
>>> using TexShop? Sorry for all the questions, I'm still very new to  
>>> all this.
>>>
>>> -Catherine
>>>
>>>
>>>
>>>
>>> PS. I feel like TexShop is too good to be true - it seems to have  
>>> all the functions in the one program when other ways of having  
>>> LaTeX on a Mac involve many many programs. Are there limitations  
>>> to TexShop that I'll run into in the future if I keep using it?  
>>> Are there better ways of using LaTeX on a Mac?
>>>
>>>
>>>
>>> -------------------------- Helpful Info --------------------------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>
>>
>>
>> -------------------------- Helpful Info --------------------------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>

--
Matthew Leingang
Preceptor in Mathematics
Harvard University

http://www.math.harvard.edu/~leingang/vCard.vcf






More information about the MacOSX-TeX mailing list