Uwe Stöhr wrote:
> I cannot compile the userguide in rc3 due to some unicode-in-math problems.
 >
 > In the userguide.lyx we have:
 > \begin_inset Formula \[
 > \lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}\]
 > \end_inset

I will change this to

 > \lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p^2}{4}-q}\]

Hehe - now I understand where all my confusion comes from. Thunderbird automatically displays "p-hat-2" as p followed by a raised 2.

But the current version compiles here and it should compile.

 > ! Undefined control sequence.
 > <argument> p\lyxmathsym
 >                         {\texttwosuperior }
 > l.4285 ...\frac{p\lyxmathsym{\texttwosuperior}}{4}
 >                                                   -q}\]

Could you please check if Lyx creates in the LateX output the following:

[EMAIL PROTECTED]
  [EMAIL PROTECTED]@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

No, it does not create this. The only occurence of lyxmathsym is in line 4285 where it is used. Enrico wrote in the devel-thread that "This is already fixed but the fix didn't go into rc3.", but I am not sure what he exactly refered to.

If yes, does it work when you use the math option "Use AMS" instead of "Use AMS automatically"?

No change.

If not, what is your LaTeX distribution?

MacTeX aka TexLive 2007

p.s. we have for documentation related tissues the lyx-docs mailing list

OK. But how should I know if it is a doc or a lyx-bug. ;-)

/Konrad

Reply via email to