Re: DVI to PDF

John Rudnicki <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CAB19cfnO3s=pSmSVOD6Ba567gtHr0yXAb8WN04xe5rj0cfz37A@mail.gmail.com>
Thanks. Your second suggestion worked, but the first gave me a MikTex
error - see below for details. jwr


On Wed, Sep 11, 2013 at 11:12 AM, Ulrike Fischer <[email protected]> wrote:

> Am Wed, 11 Sep 2013 10:28:53 -0500 schrieb John Rudnicki:
>
> > \documentclass{article}
> > \usepackage{graphicx}
> > \begin{document}
> > \begin{figure}
> > \begin{center}
> > %\resizebox{3in}{!}{\includegraphics{Chp02Fig01.eps}}
> > \includegraphics{example-image-A}
> > \end{center}
> > \caption{Schematic illustration of the
> > action of a tensor on a vector.
> > The tensor acts on the vector $\mathbf{u}$
> > and outputs the vector $\mathbf{v}$. This is some more text.}
> > \end{figure}
> > \end{document}
> >
> > This produces dvi file fine, but when I convert dvi to pdf (using
> WinEdit),
> > the caption over prints the figure.This was not a problem until I
> installed
> > MikTex (latest version) on a new computer (using Windows 7).
> >
> > Should be able to download figure from
> >
> > http://www.civil.northwestern.edu/people/rudnicki/Chp02Fig01.eps
>
> I couldn't reproduce the problem with the standard graphics, but you
> graphics shows it.
>
> You are using the wrong graphicx driver: dvipdf in winedt calls
> dvipdfmx but by default graphicx loads the driver for dvips.
>
> So try
>
> \usepackage[dvipdfmx]{graphicx}
>

This gave me the error:


MiKTeX Problem Report

Message: Invalid argument

Data:

Source: Libraries\MiKTeX\Core\FileStream.cpp

Line: 116

MiKTeX: 2.9

OS: Microsoft Windows 7 Business Edition, 64-bit Service Pack 1 (build 7601)

Invokers: explorer/WinEdt

SystemAdmin: no

PowerUser: no

Root0: C:\Users\jwrudn\AppData\Roaming\MiKTeX\2.9

Root1: C:\Users\jwrudn\AppData\Local\MiKTeX\2.9

Root2: C:\ProgramData\MiKTeX\2.9

Root3: C:\Program Files\MiKTeX 2.9

UserInstall: C:\Users\jwrudn\AppData\Roaming\MiKTeX\2.9

UserConfig: C:\Users\jwrudn\AppData\Roaming\MiKTeX\2.9

UserData: C:\Users\jwrudn\AppData\Local\MiKTeX\2.9

CommonInstall: C:\Program Files\MiKTeX 2.9

CommonConfig: C:\ProgramData\MiKTeX\2.9

CommonData: C:\ProgramData\MiKTeX\2.9

>
>
> > If I change figure to pdf and use pdflatex problem does not occur.
> > But this is not a good solution for me as I have many figures in
> > eps (for a book).
>
> You can use
>
> \usepackage{graphicx}
> \usepackage{epstopdf}
>
> and then run pdflatex. This will convert your eps on-the-fly.
>

This worked. 


>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> MiKTeX-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>



-- 
John W. Rudnicki
Department of Civil and Environmental Engineering
    and Department of Mechanical Engineering
Northwestern University, Evanston, IL.  USA
[email protected]
([email protected])
847-491-3411 (Voice)
847-491-4011 (FAX)

http://www.civil.northwestern.edu/people/profiles/rudnicki.html

Seeking is itself a barrier to wisdom. Pao-chih _/|\_
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.