[texworks] EPS figure in MikTex2.8 .... still a problem

Loulin Huang loulin.huang at aut.ac.nz
Wed Mar 30 21:39:28 CEST 2011

Hi  Stefan,
Thanks for your advice. It works.
Kind regards,

>>> Stefan Löffler<st.loeffler at gmail.com> 30/03/2011 6:52 p.m. >>>

first of all, thanks for the information. Second, a few comments.

On 2011-03-29 21:25, Loulin Huang wrote:
> 2.  the top five or so line s of your .tex document
> ====================================
> \documentclass{ws-ijhr}
> \input seteps
> \input setbmp
> \usepackage{subfigure}
> \usepackage{epsfig}
> \usepackage{epstopdf}
> \usepackage{changebar}

If reporting a problem, it is helpful to produce a minimal example.
essentially means to clean your code of everything that is not needed
reproduce the problem. This saves those who are trying to help you and
don't have access to your full document. E.g., I would suspect that
problem occurs even with the "article" class, and probably without
of the packages you include.

Speaking of packages: you seem to be mixing quite a lot of stuff here.
AFAIK, both the epsfig and epstopdf packages only work together with
graphicx package, and are mutually exclusive in that they try to solve
the same problem.

Finally, seteps and setbmp seem to be some non-standard files, and
according to quick googling use dvi specials (so, yet another approach
towards including graphics).

If indeed you only want to include eps figures (i.e., don't need
PStricks or other specialities), I would recommend using only epstopdf

On 2011-03-29 21:25, Loulin Huang wrote:
> 1. a sample of a section of you .tex document that wants the image,
> ==============================================
> The picture   of the robot and its schematic are shown in Figures
\ref{fig:realR} and  \ref{fig:schR} respectively.
> \begin{figure}[t]
> \begin{center}
> \centereps{10cm}{7.6cm}{realRobotFig.eps}
> \caption{Chewing robot.} 
> \label{fig:realR}
> \end{center}
> \end{figure}
> =======================================

As I said above, I think \centereps uses dvi specials. If you open the
dvi file produced as an intermediate (e.g., in Yap provided by
do you see the images? If not, the problem is somewhere in there
(and later steps used for conversion to pdf must obviously fail).

In any case, I recommend using
\includegraphics[width=10cm,height=7.6cm]{realRobotFig} here as
by the graphicx package. Note that there is no extension!

> ==================================
> 3. and a screen capture of the area of your TeXworks installation 
> See the attached JPG file  or below:

This is the configuration of pdfTeX, but it seems to me you need
pdfLaTeX to typeset your document...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110331/a1fbf210/attachment.html>

More information about the texworks mailing list