----- Original Message ----- From: "Georg Baum" <[EMAIL PROTECTED]>
To: "Sanders, Maarten (M.J.L.)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: "Angus Leeming" <[EMAIL PROTECTED]>
Sent: Tuesday, October 18, 2005 3:40 PM
Subject: Re: Lyx command line question


Am Dienstag, 18. Oktober 2005 16:09 schrieb Sanders, Maarten (M.J.L.):
Georg/Angus,

From within the GUI things work fine. It is just the conversion on the
commandline that does not do the part where the gif file is converted to
some format pdflatex understands. Convert is present on my system.
This could be a bug but also be my understanding of the steps I need to
take do this from the commandline, e.g.:

$ lyx --export latex mylyxfile.lyx <--works
$ missing step?? <-- some step to convert all gifs to something pdflatex
understands

This should be done automatically by LyX.

$ pdflatex mylyxfile.tex <-- works, except for the gif

There is no missing step. commandline export should produce identical results
to GUI export.

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.

Subsequent running of pdflatex is outside of Lyx and so it will run, find the gifs and have problems.

The only way around this is to use a pdflatex compatible image format in the first place. THe reason for this is the following:

Within Lyx when you Export->pdflatex it converts the graphics files, then does the convert to tex with the new file extensions. However if you Export->tex the output will have the gof extensions and so regardless of what you do next pdflatex will still come across gif files unless you edit the tex file.

So I recommend you use png or jpg files in the original dicument.

Geoff


Georg


PS: Please always reply to the list


Reply via email to