I worked with this for some time and actually thought I had it "fixed". If I open a LyX document and delete the first few lines of text and type it back in then print (or view dvi) it comes out fine. No errors are generated. But if I save the document and open it again and print (or dvi view) I get the \begin{document} error. Could it have to do with my tex package? I running tetex-0.4pl8-11 which came with Red Hat 5.1. Perhaps it's time to upgrade. Not knowing raw LaTex I wouldn't know how to add something to the preamble. Chris Jean-Marc Lasgouttes wrote: > > >>>>> "Chris" == ctdole <[EMAIL PROTECTED]> writes: > > Chris> My printer has been broken for some time now and it has been a > Chris> really long time since I've printed anything. I borrowed a > Chris> friends printer and when trying to print Lyx documents that I > Chris> wrote with Lyx 1.0.1 under my recently compiled Lyx 1.0.2pre3 I > Chris> get a Missing \begin{document} error. If I create a new > Chris> document with 1.0.2pre3 and try to print I don't get an error, > Chris> I can also print under Netscape so I know it's not the > Chris> printer. If I insert \begin{document} in the preamble I get the > Chris> same error. So basically I can't print any of the documents I > Chris> wrote under 1.0.1. > > Could you send a short document showing this problem? I guess there is > something in your LaTeX preamble which should not be there... > > JMarc -- Hell is other people. -Jean Paul Sartre >From his 1947 play No Exit , recalled on his death 15 Apr 80
#This file was created by <ctdole> Fri Apr 30 12:02:26 1999 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing onehalf \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \align right \series bold \emph on Prolouge. \layout Standard \protected_separator \layout Standard They met in a small cafe in Paris one drizzling, bleak afternoon. It, seemingly, was a good idea to get out of the weather and into the sanctuary of the cafe, surrounded by the warm smell of coffee and pastries. \layout Standard When she came in, brunette curls flustered by the wind and her trench coat speckled with mist, it would be the way he would always remember her. The smooth high cheekbones and the wide smile she drew. Her wide eyes showed no despair at the lack of an available table. His first thoughts were of lust, but he saw something in her eyes. She cast a maturity in her presence which revealed her as more than a bystander to life's random whims. \layout Standard <<snip>> \the_end