On Wed, Mar 24, 1999 at 01:25:23PM +0100, Stefan Horbelt wrote:
> 
> -------------------------------------------
> relyx-BUG: $$
> 
> Relyx does not like:
> length $\sqrt{3} $$(\sin \alpha =1/\sqrt{2} ,\sin \beta =1/\sqrt{3})$.The
> 
> but it likes:
> length $\sqrt{3} (\sin \alpha =1/\sqrt{2} ,\sin \beta =1/\sqrt{3})$.The

I can get out of this by saying that $x$$y$ isn't "well-behaved" LaTeX. The
reason we can't support it is that $$ is a valid (if deprecated) LaTeX
token, which is equivalent to "\[" (just like $ is equivalent to "\)").

Fix this either by removing the $$ or putting a space between them. Running:

        perl -wpe 's/\$\$//g' in.tex > out.tex

for example ought to fix it, as long as you don't have any $$ in the file
that you want to keep.

> ------------------------
> relyx-BUG: nested \mathbox{..$..$..}
> 
> in eqnarray:
> 
> relyx does not like:
> \mbox{(dual}\rightarrow\mbox{B-spline)}\\
> 
> better:
> \mbox{(dual$\rightarrow$B-spline)}\\

Can you send a code sample that definitely breaks?

    \begin{eqnarray}
    a & = & b \\
    x & = & \mbox{(dual}\rightarrow\mbox{B-spline)}
    \end{eqnarray}

worked for me. It *might* be because I've done some bug fixing, but I don't
think I've fixed any math bugs since the 1/25/99 version.

> ---------------------------
> relyx-BUG:
> 
> relyx does not recognize \includegraphics{} that is used by lyx

This is the second time in the last couple weeks that we got a bug report
that's actually a feature request. It would only be a bug if the reLyX man 
page claimed to support \includegraphics. I'm afraid there are a bunch of
things that LyX does that reLyX doesn't support. Check out the reLyX TODO.

It so happens that I'm working on \includegraphics right now. However, even
once that works, there still isn't support for \resizebox and \rotatebox,
which are used by LyX. Why? Well, partly because when you read a \scalebox,
how do you know whether the thing inside is just a figure (which LyX can do)
or if it's a figure plus text, or just text, or something completely
different (which LyX can't do)? (Of course, in the future, LyX will probably
just use the fancy \includegraphics from the graphicx package. At that
point, reLyX will (hopefully) be able to support what LyX outputs, but
*still* may not be able to handle \resizebox.)

I agree that it's lame that you can't import everything you export. My goal
is to at least make things close.

By the way, if you know Perl, maybe we could speed up the reLyX development...

[lyx (known?) bug snipped]

-Amir

Reply via email to