> Hi LyX-team!
> 
> Congratulations to version 1.0.0! Now you are getting somewhere!
> What I like best is the possibility to import and export .tex files.

Thanks!

> I have however encountered some bugs when importing .tex files:
> 
> 1. Labels are changing:
> 1.1 \psfrag{x_1}{$x_1$} is changed to \psfrag{x_{1}}{...} by LyX 
> and it does not work.
> 1.2 \includegraphics[width=9cm]{my_file.eps} is changed to 
> \includegraphics[width=9cm]{my_{f}ile.eps} which can not be found.
> 1.3 Same with equation labels. 
> \label{eq:my_equation} -> \label{eq:my_{e}quation}. 
> However the \ref{eq:my_equation} does not change and the cross
> reference does not work

If you look at BUGS in the reLyX directory (reLyX is the tex importing
utility), you'll see that _ is incorrectly
handled in commands that reLyX doesn't know how to translate, like psfrag
and includegraphics. 1.3 is something I hadn't noticed, but it's all
basically the same bug. It's pretty hard to fix, and unfortunately there's
not an easy workaround (other than not using _ in filenames and labels).

> 2. Long equations are not handled properly. The following \split 
> example does not work:

[snip]

This is a problem with the LyX math editor, which doesn't yet support those
fancy environments. I'm pretty sure that the next version of LyX will
support them, but that may take a while.

> 3. Including graphics causes an error. I don't know why but the following
> does not work:
> 
> \begin{figure}[tbh]
>   \begin{center}
>     \includegraphics[width=9cm]{figures/new_vs_old_metric.eps}
>     \caption{Simulated BER performance when using the new metric (solid) versus
>       the metric in (\ref{eq:lc_3}) (dashed) for
>       $\sigma_m^2=0,0.1,0.2,0.4$.  Also shown is the performance with
>       perfect channel estimates (dash-dotted), $N=420$, 8 iterations.}
>     \label{fig:new_vs_old_metric}
>   \end{center}
> \end{figure}
> 
> Everything looks fine but when I run update-dvi I get an error message.
> If I create a new figure-float in LyX and copy everything into the
> new figure-floate and remove the old one, then it works just fine.

Do you mean that you have all of this stuff in TeX mode inside LyX figure
float? And is it more than just the errors in #1 above?

-Amir Karger

Reply via email to