Line 1726 if the lyx document is a blank one. It is part of a "lstlisting" environment on the original LaTeX file. I going to try importing the document after removing this environment. ------------------------------------------------- Julio Rojas [EMAIL PROTECTED]
On Fri, Oct 24, 2008 at 12:54 PM, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > "Julio Rojas" <[EMAIL PROTECTED]> writes: > >> I was importing a LaTeX file with RC4 under Ubuntu and it crashed with >> the following message in the console: >> >> Warning: #LyX file created by tex2lyx 1.6.0rc4 >> LyX: Unknown alignment `None' [around line 103 of file >> /tmp/lyx_tmpdir.TJ7144/convert_layout.Lh7144 current token: 'None' >> context: ''] >> LyX: Unknown alignment `None' [around line 128 of file >> /tmp/lyx_tmpdir.TJ7144/convert_layout.Lh7144 current token: 'None' >> context: ''] > > These ones may be bugs in our layout conversion routines. Zhich layout > do you use? > >> mathed/MathMacroArgument.cpp(27): >> MathMacroArgument::MathMacroArgument: wrong Argument id: -16 >> mathed/MathMacroArgument.cpp(27): >> MathMacroArgument::MathMacroArgument: wrong Argument id: -16 > > Don't know about this one. > >> Line ~1726: Math parse error: found '}' unexpectedly > > This is probably the cause for the rest. If you can find the lyx file > produce in /tmp, you will see what this line is. Or you could try to run > tex2lyx by hand on your file, and then inspect the lyx file. > >> LyX Code: 8 name: unknown >> lassert.cpp(21): ASSERTION false VIOLATED IN insets/Inset.cpp:137 >> Assertion triggered in void lyx::doAssert(const char*, const char*, >> long int) by failing check "false" in file lassert.cpp:23 >> Aborted > > It seems that we have here a label inset which has not been correctly > initialized (no buffer_). This should not happen... > > JMarc >
