[OS X TeX] .eps file can't be recognized

林隽 jlin at ynao.ac.cn
Sun Aug 28 04:37:03 CEST 2016


Thanks a lot! The problem was fixed.

Jun Lin

在2016-08-27 22:19:05,林隽jlin at ynao.ac.cn写道:



There are two simple fixes. 


Assuming you are using TeXShop (and, in my opinion, you should :-)), open the .eps file from within TeXShop. (When Herb Schultz told me to do this a decade or so ago, I thought he was kidding.) This converts the .eps file to a .pdf file. (Well, you still have the .eps file; it makes a .pdf version of the .eps file.) Then you include the file by an \includegraphics{filename} [NOTE: do not use the .pdf extension here]. 


Alternatively, by instructing LaTeX to include .eps files, it will do this for you on the fly. The downside of this method is that it will reconvert the .eps file on every recompile. This takes a lot of time if you have many images.
On my system, I simply write \includegraphics{filename} for filename.eps, [NOTE: do not use the .eps extension here] and this happens automatically. You might need to \usepackage{epstopdf} in your header.


I hope this helps.


David Derbes
U of Chicago Laboratory Schools




On Aug 27, 2016, at 8:55, 林隽 <jlin at ynao.ac.cn> wrote:

Hi Experts,

I was told that my .eps file can't be recognized when compiling .tex file: Unknown graphics extension: .eps

Could anybody teach me what this means? Do I have missed anything important? Thanks very much for your attention.

Jun Lin



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
               https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20160828/e3ae7513/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list