Rudi Gaelzer wrote:
Funny. My presentation, which I wrote using LyX, does not export to PDF running pdflatex from File -> Export -> pdflatex. The PDF it creates is tiny and obviously has errors.

However, if I do File -> Export -> LaTeX (pdflatex) and run pdflatex from Kile (KDE app), the PDF gets created all right.

I'm just curious: any reason for this behaviour?
I can only think of one thing.
When you use LyX, all works happens in a temp directory.
LyX copies the LyX file there, _and all files referenced from it_.

This works for graphichs and subdocuments, anything that
LyX supports natively.

It does not work for latex code you write yourself, as
LyX makes no attempt at understanding your ERT or
your preamble.

So, do you reference other files from ERT? Or
from the preamble?  That could be the reason.

Helge Hafting

Reply via email to