Re: tex2lyx regression bug in branch

2009-04-14 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: > Jean-Marc Lasgouttes schrieb: > >> I need more information. > > Try to import the attached one. This works with LyX 1.6.2 but not with > 1.6.3svn and 2.0svn. Uwe, did you make any progress on this bug? JMarc

Re: tex2lyx regression bug in branch

2009-04-04 Thread Uwe Stöhr
> This stuff is in the lib/syntax.default file (more precisely, enclosed > in \begin{mathenvironments}...\end{mathenvironments}). Interesting, I missed a comment in the code about this and gave up after 15 minutes of searching the code. > It may be that tex2lyx does not manage to read the file

Re: tex2lyx regression bug in branch

2009-03-31 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: > Jean-Marc Lasgouttes schrieb: > >> I need more information. > > Try to import the attached one. This works with LyX 1.6.2 but not with > 1.6.3svn and 2.0svn. It works perfectly (AFAICS) here. >>> Btw. where is the environment list "known_math_environments" stored? > > There

Re: tex2lyx regression bug in branch

2009-03-30 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: I need more information. Try to import the attached one. This works with LyX 1.6.2 but not with 1.6.3svn and 2.0svn. Btw. where is the environment list "known_math_environments" stored? There is only this line: CommandMap known_math_environments; But I want

Re: tex2lyx regression bug in branch

2009-03-30 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: > Since http://www.lyx.org/trac/changeset/28858/ formulas can no longer > be imported to LyX. The reason is that in math.cpp the routine > > bool is_math_env(string const & name) > { > return known_math_environments.find(name) != > known_math_environments.end(); > } > > n

tex2lyx regression bug in branch

2009-03-29 Thread Uwe Stöhr
Since http://www.lyx.org/trac/changeset/28858/ formulas can no longer be imported to LyX. The reason is that in math.cpp the routine bool is_math_env(string const & name) { return known_math_environments.find(name) != known_math_environments.end(); } now always gives false. I'm not abl