Geoffrey Lloyd wrote: > Yes it should but you must note that Export->Pdflatex is different to > Export->latex followed by running pdflatex on the file. > > In the second case the only Export that Lyx is performing is Lyx->tex. > This will not convert any graphics file formats.
This is true for 1.3.x, but 1.4 converts included graphics files if needed, and references the converted file in the .tex file. So the procedure lyx --export latex mylyxfile.lyx pdflatex mylyxfile.tex should produce identical results to export->pdflatex from GUI, with one exception: lyx --export latex can not know if the produced .tex file will be run through pdflatex or latex. It assumes latex, and this is the problem here: The gif file is converted to eps, and the .tex file contains '\includegraphics{foo}'. latex would find foo.eps (which was created), but pdflatex would find foo.pdf, foo.png or foo.jpg. > So I recommend you use png or jpg files in the original dicument. This is indeed a workaround until we have a 'pdflatex' export format. Georg