# Math Help - LaTex with eps files?

1. ## [Solved] LaTex with eps files?

Dear friends,

I dont know why but I can not compile the example in the following address:
Getting to Grips with Latex - Importing Graphics - Latex Tutorials by Andrew Roberts @ School of Computing, University of Leeds

when I try to compile the .tex file there, I get the following error message:

any suggestions are welcome, thanks.

PS. I can view eps files by irfanview with the needed pluggins installed.

2. Originally Posted by bkarpuz
Dear friends,

I dont know why but I can not compile the example in the following address:
Getting to Grips with Latex - Importing Graphics - Latex Tutorials by Andrew Roberts @ School of Computing, University of Leeds

when I try to compile the .tex file there, I get the following error message:

any suggestions are welcome, thanks.

PS. I can view eps files by irfanview with the needed pluggins installed.
Try it with any of the compiler/veiwer combinations other than PDFLaTeX, which is not graphicx/eps friendly.

Look at the Art of Problem Solving LaTeX pages for help in getting started (it is TeXnicCentre oriented but everything works with WinShell)

RonL

3. the same tex file is compiled in Texnic Center without errors.

Thanks, but is it possible to fix WinEdt or not?

Note I found out that there is no problem when I compile the tex iv DVI format, but the problem is when it is compiled as PDF.

4. Originally Posted by bkarpuz
the same tex file is compiled in Texnic Center without errors.

Thanks, but is it possible to fix WinEdt or not?

Note I found out that there is no problem when I compile the tex iv DVI format, but the problem is when it is compiled as PDF.
Well there should be no difference as the two are just front end for the tools supplied with MiKTeX, I have a machine somewhere with TeXnicCentre on it I will see if I can reproduce what you describe, if I can there must be a difference in some settings somewhere.

RonL

5. Solution. '.eps' extension problem in WinEdt when you are trying to compile in '.pdf' format by

First, compile your file in '.dvi' format by

Then, convert your '.dvi' file to '.ps' by

Finally, convert your '.ps' file to '.pdf' by

Sometimes, the last step above does not work properly, i.e. your equation references or citetions are not identified on the '.pdf', in such case, just repeat the last step again, then everything must be working good.

Note. You may need to install AFPL Ghostscript, which can be found in http://http://sourceforge.net/project/showfiles.php?group_id=1897