[texworks] once more: problems with eps and ps figures in texworks

Herbert Schulz herbs at wideopenwest.com
Tue Mar 22 15:05:43 CET 2011

On Mar 21, 2011, at 4:04 PM, Vandebroek, Martina wrote:

> Hello,
> I am working with texworks and windows 7 entreprise.
> I normally transform all my pictures into pdf format which works fine but now I have to use a tex file from someone else which includes .eps and .ps pictures.
> Texworks does not give me any error messages but I do not get any of pictures in my compiled pdf file either.
> I have been looking on internet for advice. I have looked at the simpler remedies (as I do not understand the more complicated once): I have installed ghostscript, made sure that epstopdf.pl and epstopdf.sty are available but that does not help.
> The preamble is (partly):
> \documentclass[a4paper,12pt]{article}
> \usepackage{amsmath}
> \usepackage[,margin=0.95in]{geometry}
> \usepackage[dvips]{graphicx}
> \usepackage{subfigure}
> \usepackage{epsfig}
> \usepackage{epstopdf}
> \usepackage{changebar}
> ...
> Does anyone knows what is going wrong?
> Is it better to use Winedt instead of Texworks if one has .eps or .ps figures to include?
> Thanks for all possible (simple) advice,
> Martina


If you are compiling with the default pdflatex you should NOT be using the [dvips] option to the graphicx package. As a matter of fact, unless you are using latex with dvipdfm(x) or some other back end that dvips->ps2pdf there is no need to give any driver options.

Next, how recent is your TeX distribution? In TL2010 (I'm not familiar with MikTeX versions) you won't need to use epstopdf (it's loaded in restricted mode by the graphicx package). Why are you including the epsfig package?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the texworks mailing list