>>Date: Thu, 18 Nov 1999 08:44:48 +0100
>>From: Fran�ois Patte <[EMAIL PROTECTED]>
>>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>>Subject: missing begin{document}
>>
>>Sometimes (many times) I get the message: error when I want to see the
>>dvi (or ps) file. When I try to see what is this error the answer:
>>missing \begin{document}.
>>
>>What is the meaning of this message? What can I do if this kind of error
>>is due to lyx and not to me? I'm not responsible for the preamble and if
>>I try to add this latex command I get two error messages instead of one.
>>
>>Worse: in this case I can't do anything. I can't copy and paste from
>>this lyx window to another lyx window (which, strangly, has no error
>>message!), I can't export my text "as it is" to use latex to recover, I
>>can't copy and paste to emacs. My work is lost!
>>
>>I run (french) version 1.0.3-1
>>
>>Thank you.
>>
>>-- Fran�ois Patte. UFR de math�matiques et informatique.
>>45 rue des St P�res. 75270 Paris Cedex 06
>>Tel: 01 44 55 35 59 -- Fax: 01 44 55 35 35
>>http://www.math-info.univ-paris5.fr/~patte
>>
You probably begin to create output in the dvi before the \begin{document}
(e.g. just have some plain text in the preamble which LaTeX tries
to process).
Looks like a preamble error, but we need to know more.
The best would be to export as LaTeX (this should be possible)
and to run latex on the exported file.
You may have a look at the latex log file, but exporting to latex
provides simpler messages.
--
Jean-Pierre