Re: Error while importing in RC4

2008-10-25 Thread Julio Rojas
Reported as bug 5408: http://bugzilla.lyx.org/show_bug.cgi?id=5408 - Julio Rojas [EMAIL PROTECTED] On Sat, Oct 25, 2008 at 12:00 AM, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > "Julio Rojas" <[EMAIL PROTECTED]> writes: > >> Should I file this

Re: Error while importing in RC4

2008-10-24 Thread Jean-Marc Lasgouttes
"Julio Rojas" <[EMAIL PROTECTED]> writes: > Should I file this as a bug? As a requested feature? As a bug. JMarc

Re: Error while importing in RC4

2008-10-24 Thread Julio Rojas
Should I file this as a bug? As a requested feature? - Julio Rojas [EMAIL PROTECTED] On Fri, Oct 24, 2008 at 5:00 PM, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > "Julio Rojas" <[EMAIL PROTECTED]> writes: > > The problem is here: > >>> a \begi

Re: Error while importing in RC4

2008-10-24 Thread Jean-Marc Lasgouttes
"Julio Rojas" <[EMAIL PROTECTED]> writes: The problem is here: >> a \begin{verbatim} $src set packetSize_ 10 \end{verbatim} tex2lyx does not know what verbatim is and thinks that the $ starts an equation. After that, it is impossible to recover. JMarc

Re: Error while importing in RC4

2008-10-24 Thread Julio Rojas
I forgot to add the problematic lyx file. - Julio Rojas [EMAIL PROTECTED] On Fri, Oct 24, 2008 at 3:45 PM, Julio Rojas <[EMAIL PROTECTED]> wrote: > Check the attached file. If I remove the itemize environment or the > figure environment, the result

Re: Error while importing in RC4

2008-10-24 Thread Julio Rojas
Check the attached file. If I remove the itemize environment or the figure environment, the resulting lyx file is read perfectly. If both are left untouched, the resulting lyx file is unreadable. Tweaking a little more I can see that if I leave only the itemize environment, the imported lyx file pu

Re: Error while importing in RC4

2008-10-24 Thread Jean-Marc Lasgouttes
"Julio Rojas" <[EMAIL PROTECTED]> writes: > The problem is, obviously, reading the LyX file generated by tex2lyx. It would be nice if you could do some bisection and find a short .tex file that generates these errors. JMarc

Re: Error while importing in RC4

2008-10-24 Thread Julio Rojas
Well, removing the listing removes the error on line 1726, but still LyX crashes with the following error: found unknown math environment 'figure' LyX Code: 8 name: unknown lassert.cpp(21): ASSERTION false VIOLATED IN insets/Inset.cpp:137 Assertion triggered in void lyx::doAssert(const char*, cons

Re: Error while importing in RC4

2008-10-24 Thread rgheck
Julio Rojas wrote: 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. The line being reported there probably is not the line of the original file, since the

Re: Error while importing in RC4

2008-10-24 Thread Julio Rojas
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

Re: Error while importing in RC4

2008-10-24 Thread Jean-Marc Lasgouttes
"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_la

Error while importing in RC4

2008-10-24 Thread Julio Rojas
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: Un