Geoffrey Lloyd wrote:
> It appears that when you do Export->pdflatex Lyx does not do what I
> expected.
> 
> Here is what I think should happen:
> 
> Lyx->Latex->pdf (using pdflatex) AND it should produce the same results
> as if I did by hand

Not necessarily.

When LyX knows that it's outputing latex for the pdflatex compiler, it
tunes one or two things specifically for it. Unfortunately, we don't have
an option to export to "LaTeX (pdflatex)". Thus, when you export the latex
file and run the conversion process by hand the results *may well* be
slightly different.

Paths to external graphics and databases will also differ, for obvious
reasons.

Compare the LaTeX file you get with Export->LaTeX with that in the temp
directory where the conversion takes place:

$ diff -u yourfile.tex /tmp/lyx_tmpdirXXXXXX/lyx_tmpbuf0/yourfile.tex

In the 1.4 series we go to great pains to make sure that absolutely
everything used by LyX to generate your pdf or dvi file is in the tmp
directory, so you can simply zip up this directory and give it to someone
else (a publisher, say) and they'll be able to generate the book.

-- 
Angus

Reply via email to