Graphics, Figures & TablesCompiling with EPS Files in TeXShop (on Mac)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
kaonneutre
Posts: 2
Joined: Wed Nov 28, 2012 9:34 pm

Compiling with EPS Files in TeXShop (on Mac)

Post by kaonneutre »

Hello,

Here is my problem. I normally compile my files with PDFLaTeX using PDF figures. Everything goes well. But now I must submit a document using EPS figures only. I have converted my PDF files to EPS with Photoshop CS5. But then I can't compile any more. I know that I can't use PDFLaTeX to compile. But when I choose LaTeX and DVI, the console tells me this:

Code: Select all

### WARNING: TeX returned non zero exit status 
### /usr/texbin/dvips -R -Poutline  -o /tmp/altpdflatex.8657-1354130449/NCSS.ps NCSS.dvi
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (http://www.radicaleye.com)
/usr/texbin/dvips: ! unexpected eof on DVI file
### FAILED to generate /tmp/altpdflatex.8657-1354130449/NCSS.ps 
I don't know how to compile it. Is anyone have an idea of the problem? Is it because I don't have the right script?

Thanks for the help.


PS: I do include graphicx package

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaonneutre
Posts: 2
Joined: Wed Nov 28, 2012 9:34 pm

Re: Compiling with EPS Files in TeXShop (on Mac)

Post by kaonneutre »

Ok I can't tell why exactly I had this problem but I identify the source of it. Actually, it doesn't have anything to do with Mac nor TeXShop since I couldn't compile my files under windows XP using texniccenter and miktex.

It turns out to be some of my eps figures (2 out of 10 only), that wasn't managed properly during the compilation. It may have something to do with the newer version of photoshop CS5.

--> The solution was to open them in illustrator and save them in eps but by UNchecking the "document thumbnails". Than the eps file was recognize by the compiler.

I'm still puzzled on why only two of my figures was not working properly (I used photoshop for everyone of them). But it works now...

If anyone has the same problem, he must take off every figures and add them one by one to find out which one is inadequate.

Thanks to anyone who've read my post and tried to answer it.
Post Reply