[texworks] HELP: including EPS in LaTeX

Herbert Schulz herbs at wideopenwest.com
Tue Jun 29 15:48:53 CEST 2010


On Jun 29, 2010, at 4:48 AM, Daniel Becker wrote:

> This is because you are typesetting your file with pdflatex (directly from .tex to .pdf) and not the "traditional" way .tex -> .dvi -> .ps -> pdf (as still standard for Windows/MikTeX users).
> 
> You have two ways out
> 
> 1) typeset your file in the oldschool way. Not recommended, but you could do that with the help of the tex -> dvips -> ps2pdf entry at http://code.google.com/p/texworks/wiki/AdvancedTypesettingTools
> 
> 2) add \usepackage{epstopdf} to you preamble. This will trigger an automatic conversion of your eps-file to pdf which is then automatically used by pdflatex. There is also \usepackage{epspdfconversion} with a similar functionality (offers a few more options like grayscaling etc)
> 
> It can't hurt to read 
> http://tug.ctan.org/tex-archive/macros/latex/contrib/oberdiek/epstopdf.pdf
> http://mactex-wiki.tug.org/wiki/index.php/Graphics_inclusion
> http://ug.ctan.org/tex-archive/macros/latex/contrib/epspdfconversion/epspdfconversion.pdf
> 
> Good luck!
> 
> Daniel
> 
> 
> Am 28.06.2010 um 16:47 schrieb Shaul Rabinovich:
> 
>> Please help!
>> 
>> I'm trying to include a EPS file in a LaTex one.
>> But
>> 
>> \begin{figure}[!ht]
>> \includegraphics{fig1.epsT}
>> \end{figure}
>> 
>> commands give
>> 
>> ! LaTeX Error: Unknown graphics extension: .eps.
>> 
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H <return>  for immediate help.
>> ...                                              
>> 
>> l.90 \includegraphics{fig1.eps}
>> 
>> Thanks in advance.
>> 
> 
> 

Howdy,

One note: Before TeX Live 2010 (still in pretest so virtually every TeX Distribution being used) method 2 only works if you set up shell escape.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the texworks mailing list