On Tue, Jan 09, 2001 at 02:07:10PM +0100, Joeri R. Verbiest wrote:
> When I open a new file and to view dvi and pdf than it works.
> But if I save the document newfile to newfile.lyx or another file name,
> and if I to view pdf or dvi, than it doesn't work, gives error: missing
> \begin{document}.
> Stange. Is this a bug?
>
Hi Joeri,
that is all right. Lyx uses its own format in the .lyx files. You have
to use the Export as LaTeX feature in order to produce a file which
can be fed into LaTeX.
Alternative: having a .lyx file you just open it with lyx and use the
view PS function.
HTH
Frank