Hello,

reLyx can not handle the following simple LaTeX document:
- -------------------------------------------------------
\documentclass{article}

\title{Bug report about reLyx crashing on item}
\author{Alain Le Guennec}
\date{April 28, 2000}

\begin{document}

The following list causes reLyx to crash.
\begin{itemize}
\item [{[1]}] Apparently, reLyx does not like this item.
\end{itemize}

\end{document}
- -------------------------------------------------------


When trying to import this LaTeX file within LyX 1.0.4,
I get the following error message:

reLyX, the LaTeX to LyX translator. Revision date 1999/05/02

Reading LaTeX command syntax 
(relyxbug.tex: Splitting Preamble
Creating LyX preamble
Reading layout file 
Cleaning... Use of uninitialized value at 
/usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 358, <TeXOpenFile0002> chunk 8.
Expecting `\end', got `}'=`' in `] Apparently, reLyx does not like this item.
\end{itemize}

' at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 358, <TeXOpenFile0002> chunk 8.
Expecting `\end{document}', got \end{itemize} in `

' at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 402, <TeXOpenFile0002> chunk 8.
Got negative depth at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 680, 
<TeXOpenFile0002> chunk 8.
Use of uninitialized value at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 397, 
<TeXOpenFile0002> chunk 8.
Use of uninitialized value at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 397, 
<TeXOpenFile0002> chunk 8.
Expecting `', got \end in `
' at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 397, <TeXOpenFile0002> chunk 8.
Can't call method "environment" on an undefined value at 
/usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 400, <TeXOpenFile0002> chunk 8.
Exited due to fatal Error!

I can compile the above document with latex2e without any problem.

Best regards,

-- 
        Alain Le Guennec, not speaking for IRISA.

Reply via email to