Masse Soendergaard wrote: > Hi, when I try to import a *.tex file I get the following message: > >> > reLyX directory is: /gbar/bohr/home3/csw/kde-gcc/share/lyx/reLyX reLyX, > the LaTeX to LyX translator. Revision date 2003/01/20 > > Reading LaTeX command syntax (133.tex: Splitting Preamble Didn't find > \begin{document} command! at > /gbar/bohr/home3/csw/kde-gcc/share/lyx/reLyX/MakePreamble.pm line 52, > <INFILE> line 1. Compilation failed in require at > /opt/csw/kde-gcc/bin/reLyX line 78, <INFILE> line 1. Exited due to fatal > Error! < > > How can I fix this problem?
I take it that your document can be compiled by latex? You might look here http://wiki.lyx.org/LaTeX/LatexToLyx for tex2lyx, the successor to reLyX. -- Angus