> 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. Did you move
> the binary? You could also try to do a full rebuild to make sure
> everything is alright.
I haven't changed anything, I only replaced the lyx.exe in the existing LyX installation.
syntax.default is not changed, also not its path or file permissions. And the problem persists, in
trunk and branch importing formulas fail. When I use the lyx.exe of LyX 1.6.2, it works fine.
I now also did now a complete rebuild in trunk and still have this bug. I debugged a bit and LyX
finds syntax.default and can read it successfully, but stops somewhere with this meaningless message:
Error 0 returned from iconv when converting from UTF-8 to UCS-4LE: No error
Converted input:
Stopped at: 0xc3
Unconverted input:
Converted output:
But 00C3 is a capital A with a tilde, that I don't have in the file.
(Btw. "Error 0 returned from iconv when converting from UTF-8 to UCS-4LE: No
error"
is just funny.)
Can anybody else confirm (perhaps it is Windows specific) what I see in current branch and trunk
that the formulas of this file cannot be imported by tex2lyx any longer?:
\documentclass{article}
\begin{document}
\begin{eqnarray*}
\label{eq:scalinglnlambda}
A & = & B \\
& = & C \nonumber \end{eqnarray*}
\begin{eqnarray}
\label{eq:scalinglnlambdal-1}
A & = & B \\
& = & C \nonumber \end{eqnarray}
\end{document}
regards Uwe