[OS X TeX] epstopdf glitch

Herbert Schulz herbs at wideopenwest.com
Mon Jul 12 21:31:37 EDT 2010


On Jul 12, 2010, at 7:27 PM, Justin C. Walker wrote:

> 
> On Jul 12, 2010, at 17:14 , Herbert Schulz wrote:
>> On Jul 12, 2010, at 6:46 PM, Justin C. Walker wrote:
>>> 
>>> On Jul 12, 2010, at 16:36 , Justin C. Walker wrote:
>>>> On Jul 12, 2010, at 16:18 , Herbert Schulz wrote:
>>>>> On Jul 12, 2010, at 6:04 PM, Justin C. Walker wrote:
>>>> [snip]
>>>>>> Is there still an issue?
>>>>>> 
>>>>>> Thanks for your help (and clarifying some things along the way).
>>>>>> 
>>>>>> Justin
>>>>>> 
>>>>> 
>>>>> Could you provide a minimal but compilable sample file (and eps to include) that shows this behavior. Depending upon what you are doing there might be a problem with restricted shell escape which is one of the things I've been testing.
>>>> 
>>>> I'm attaching one.
> 
>> Sigh... No problem compiling here either with or without --shell-escape.
> 
> Does that mean "for both choices of default script"?
> 
>> Your graphic declaration for tif->png is wrong for the latest versions of epstopdf but that doesn't make any difference as far as the eps conversion is concerned. It should be
> 
> It's an old file.  Like its creator.
> 
>> kpsewhich epstopdf.sty
> 
> /usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/epstopdf.sty
> 
> The various files are attached.  Really.
> 
> Thanks!
> 
> Justin
> 

Howdy,

That is an expected and good output to that command.

As far as the console file is concerned:

This is pdfTeX, Version 3.1415926-1.40.11-beta (TeX Live 2010/pretest)
 \write18 enabled. <----

means that --shell-escape is enabled (the default with TeXShop's pdflatex engine).

(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))

means the correct epstopdf-sys.cfg file is read.

And then

[Loading MPS to PDF converter (version 2006.09.02).]
))epstopdf ($Id: epstopdf.pl 18319 2010-05-17 16:34:21Z karl $) 2.16
!!! Error: Output filename '/Users/justin/Pictures/wolf_eel_thumbnail-eps-converted-to.pdf' not allowed in restricted mode.

means that the epstopdf converter was unable to write the wolf_eps_thumbnail-eps-converted-to.pdf file in /Users/justin/Pictures/ (I assume /Users/justing/ is your HOME directory). I come back to the question... what are the write permissions on the directory? Run

ls -alF ~

in Terminal and let us know what the line that involves the Pictures directory looks like. I'd also like to make sure that ~/Pictures/ isn't locked so what does a Get Info… give for that directory? (There should be a checkbox for `locked' and I hope it's not checked.)

Finally,

!pdfTeX error: /usr/texbin/pdflatex (file /Users/justin/Pictures/wolf_eel_thumb
nail-eps-converted-to.pdf): cannot find image file
 ==> Fatal error occurred, no output PDF file produced!

is just complaining that it can't find the file that was supposed to be generated.

The log file has

Package epstopdf Info: Source file: </Users/justin/Pictures/wolf_eel_thumbnail.
eps>
(epstopdf)                    date: 2010-07-11 23:34:50
(epstopdf)                    size: 6714 bytes
(epstopdf)             Output file: </Users/justin/Pictures/wolf_eel_thumbnail-
eps-converted-to.pdf>
(epstopdf)             Command: <repstopdf --outfile=/Users/justin/Pictures/wol
f_eel_thumbnail-eps-converted-to.pdf /Users/justin/Pictures/wolf_eel_thumbnail.
eps>
(epstopdf)             \includegraphics on input line 33.
runsystem(repstopdf --outfile=/Users/justin/Pictures/wolf_eel_thumbnail-eps-con
verted-to.pdf /Users/justin/Pictures/wolf_eel_thumbnail.eps)...executed.

Package epstopdf Info: Result file: </Users/justin/Pictures/wolf_eel_thumbnail-
eps-converted-to.pdf>.

!pdfTeX error: /usr/texbin/pdflatex (file /Users/justin/Pictures/wolf_eel_thumb
nail-eps-converted-to.pdf): cannot find image file
 ==> Fatal error occurred, no output PDF file produced!

which shows that the epstopdf script (actually repstopdf which is the same thing when --shell-escape is enabled) was run but the file wasn't found when an attempt was made to read it back in. 

Oh... what hardware and OS system are you using? Is there actually a wolf_eel_thumbnail-eps-converted-te.pdf file in ~/Pictures/ (the Picture folder in your HOME folder)?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list