On Mon, Oct 07, 2002 at 01:14:45AM +0930, Darren Freeman wrote: > Dear list, > > I am a newbie to LyX, I have only just finished the tutorial. > > I tried importing a Word file and failed with the following cut-and-paste > from the console: > > ----------8<-------------8<--------------8<-------------- > > reLyX directory is: /usr/share/lyx/reLyX > reLyX, the LaTeX to LyX translator. Revision date 2001/08/31 > Reading LaTeX command syntax > (124-228199735.tex: Splitting Preamble > Creating LyX preamble > Reading layout file > Cleaning... Expecting `\end{itemize}', got \end{enumerate} in ` > ' at /usr/share/lyx/reLyX/Text/TeX.pm line 402, <TeXOpenFile0002> line 62. > Translating... Expecting `\end{itemize}', got \end{enumerate} in ` > ' at /usr/share/lyx/reLyX/Text/TeX.pm line 402, <TeXOpenFile0003> line 62. > Problem with Layout Stack! > Compilation failed in require at /usr//bin/reLyX line 76. > Exited due to fatal Error! > > ----------8<-------------8<--------------8<-------------- > > Yes, the file really was called 124-228199735.doc as it is an academic > paper submission I wish to polish off using LyX (my supervisor LOVES LyX!!!!!). > > System info: > Fresh install of Mandrake 9.0 - barely changed anything > LyX version 1.2.1 > Athlon, KDE 3 > > Word file: > Saved with MS Word 2000, containing PNG images and around 10,000 words of text. > > I hope this hasn't been reported before as I am a bit of a n00b =) > > Have fun, > Darren Freeman
This is due to the use of wvWare before reLyX -- I think it produces a wrong LaTeX file. You could try to use wvCleanLatex (in the lib directory) manually, and look at the produced LaTeX file. And fix it manually if needed. (Alternatively, the intermediate LaTeX file should be somewhere in your /tmp: 124-228199735.tex I suppose.) Martin
msg45552/pgp00000.pgp
Description: PGP signature