Re: exporting pdflatex vs. lyx-latex-pdflatex

2007-11-22 Thread Helge Hafting

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


Re: exporting pdflatex vs. lyx-latex-pdflatex

2007-11-22 Thread Helge Hafting

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


Re: exporting pdflatex vs. lyx->latex->pdflatex

2007-11-22 Thread Helge Hafting

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


exporting pdflatex vs. lyx-latex-pdflatex

2007-11-21 Thread Rudi Gaelzer
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?

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


exporting pdflatex vs. lyx-latex-pdflatex

2007-11-21 Thread Rudi Gaelzer
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?

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


exporting pdflatex vs. lyx->latex->pdflatex

2007-11-21 Thread Rudi Gaelzer
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?

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741