pdflatex reads .eps files saved in OS/X, but not in Ubuntu

Posted by David B Borenstein on Ask Ubuntu See other posts from Ask Ubuntu or by David B Borenstein
Published on 2012-09-01T20:54:59Z Indexed on 2012/09/01 21:49 UTC
Read the original article Hit count: 405

Filed under:
|

Sorry if this is a stupid question; I'm a newbie.

I am preparing a manuscript in LaTeX. The journal (Physical Biology, an IOP publication) requires that figures be saved in .eps format, so I am trying to do that. However, I cannot get my LaTeX file to build when I have generated the .eps files on my Ubuntu computer. If I save the images on my Mac, the file build just fine.

So far, I have tried saving images in ImageJ, FIJI and Inkscape. The same problem occurs in all three. When using kile, I get the following error:

/usr/share/texmf-texlive/tex/latex/oberdiek/epstopdf-base.sty:0: Shell escape feature is not enabled.

In TexWorks, the error is different, but still there:

Package pdftex.def Error: File `./figures4/figure4a-eps-converted-to.pdf' not found.

Now, if I fire up Inkscape, FIJI or ImageJ on OS/X, everything works fine. The Mac also can't build with the Ubuntu-saved images.

The images generated on the Ubuntu machine open fine using Document Viewer. I am building the same LaTeX file on both computers, with the exact same results. The header of my LaTeX file is:

\documentclass[12pt]{iopart} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{parskip} \usepackage{color} \usepackage{iopams}

And then the code for the figure is: \begin{figure} \center{\includegraphics[width=4in] {./figures4/figure4a.eps}} \footnotesize{\caption{ \label{fig:4a} (4a) lorem ipsum dolor sic amet.}} \end{figure}

I'd be happy to send an example of both .eps files. Again, sorry if this is a dumb question. I tried everything I could think of before posting here.

Thanks, David

© Ask Ubuntu or respective owner

Related posts about latex

Related posts about eps