I'm running reLyX Revision date 1999/05/02 on red hat 6.0 linux on an intel machine (dual pentium) with "perl, version 5.005_03 built for i386-linux". The following simple tex file test.tex causes reLyX to fail: %-------------------------------------------------------------- \documentclass[12pt]{article} \begin{document} \newcommand{\beq}{\begin{equation}} will lyx work on this file? \end{document} %-------------------------------------------------------------- I get the same failure with an identical output (diff on outputs returns nothing) if I use \def\beq{\begin{equation}} rather than using \newcommand. On the other hand, if the \newcommand statement is deleted reLyX exits successfully and writes a .lyx file. I'll put the output of 'reLyX -d test.tex' below. Any help would be appreciated. Thanks -- Ken Kenneth D. Miller telephone: (415) 476-8217 Dept. of Physiology fax: (415) 476-4929 UCSF internet: [EMAIL PROTECTED] 513 Parnassus www: http://www.keck.ucsf.edu/~ken San Francisco, CA 94143-0444 --------------------------------------------------------------------------- --------------------------------------------------------------------------- reLyX, the LaTeX to LyX translator. Revision date 1999/05/02 Reading LaTeX command syntax from /usr/share/lyx/reLyX/syntax.default In Directory /coltrane/ken/tmp/ (test.tex: Splitting Preamble from LaTeX file test.tex into test.relyx1 and test.relyx2 Creating LyX preamble from test.relyx1 Reading layout file /usr/share/lyx/layouts/article.layout Cleaning TeX file (test.relyx2 --> test.relyx3) Use of uninitialized value at /usr/bin/../share/lyx/reLyX/Text/TeX.pm line 358, <TeXOpenFile0002> chunk 5. Expecting `\end', got `}'=`' in ` ' at /usr/bin/../share/lyx/reLyX/Text/TeX.pm line 358, <TeXOpenFile0002> chunk 5. Expecting `}', got \end in `' at /usr/bin/../share/lyx/reLyX/Text/TeX.pm line 397, <TeXOpenFile0002> chunk 7. Can't locate object method "environment" via package "Text::TeX::Begin::Group" at /usr/bin/../share/lyx/reLyX/Text/TeX.pm line 400, <TeXOpenFile0002> chunk 7. Exited due to fatal Error! Regular environments: fussypar sloppypar slide titlepage Math command | translation \ensuremath \ge \geq \| \Vert \sb _ \ \,\, \le \leq \vert | \gets \leftarrow \to \rightarrow \sp ^ Put preamble into file test.relyx1 Put rest of file into test.relyx2 document class is article Document option 12pt Reading included layout file /usr/share/lyx/layouts/stdclass.inc Reading included layout file /usr/share/lyx/layouts/stdlists.inc Reading included layout file /usr/share/lyx/layouts/stdsections.inc Reading included layout file /usr/share/lyx/layouts/stdstarsections.inc Reading included layout file /usr/share/lyx/layouts/stdstruct.inc Reading included layout file /usr/share/lyx/layouts/lyxmacros.inc Reading included layout file /usr/share/lyx/layouts/stdlayouts.inc Reading included layout file /usr/share/lyx/layouts/obsolete.inc