Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr
Am 03.06.2011 22:27, schrieb Julien Rioux: In the modernCV document you put the image file in the preamble, which to me is the same as using ERT. So you seem to suggest that there is no way to use the includegraphics GUI, which offers many advantages, to specify alternate versions of an image.

Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux
On 03/06/2011 4:02 PM, Uwe Stöhr wrote: Am 23.05.2011 17:30, schrieb Julien Rioux: I have two versions of a graphic, one is an eps the other a pdf. How can I instruct LyX to use the eps version when compiling to DVI and the pdf version when compiling to PDF (pdflatex)? The usual trick in latex

Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr
Am 23.05.2011 17:30, schrieb Julien Rioux: I have two versions of a graphic, one is an eps the other a pdf. How can I instruct LyX to use the eps version when compiling to DVI and the pdf version when compiling to PDF (pdflatex)? The usual trick in latex to omit file extension does not work h

Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Thanks, however when I use the pdf version in LyX, with the file name > mangling that happens in the temp dir, and LyX issuing a pdf->eps > convertion, the resulting eps used in the DVI is not the one I provide. Oh yes, I forgot. > Right now I use > > \usepackage{graphicx

Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux
On 23/05/2011 11:34 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: I have two versions of a graphic, one is an eps the other a pdf. How can I instruct LyX to use the eps version when compiling to DVI and the pdf version when compiling to PDF (pdflatex)? The usual trick in latex to omit file

Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote: > I have two versions of a graphic, one is an eps the other a pdf. How can > I instruct LyX to use the eps version when compiling to DVI and the pdf > version when compiling to PDF (pdflatex)? > > The usual trick in latex to omit file extension does not work here. LyX > disp

how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux
Dear list, I have two versions of a graphic, one is an eps the other a pdf. How can I instruct LyX to use the eps version when compiling to DVI and the pdf version when compiling to PDF (pdflatex)? The usual trick in latex to omit file extension does not work here. LyX displays "No file foun