Uwe Stöhr | 2 Oct 15:47

> User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)

 > 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}\]

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:

\DeclareRobustCommand{\lyxmathsym}[1]{\ifmmode\begingroup\def\b <at> ld{bold}
   \def\rmorbf##1{\ifx\math <at> version\b <at> 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}

If yes, does it work when you use the math option "Use AMS" instead of "Use AMS automatically"?
If not, what is your LaTeX distribution?

(Continue reading)

Konrad Hofbauer | 2 Oct 16:09

Re: > User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)

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:
> 
> \DeclareRobustCommand{\lyxmathsym}[1]{\ifmmode\begingroup\def\b <at> ld{bold}
>   \def\rmorbf##1{\ifx\math <at> version\b <at> ld\textbf{##1}\else\textrm{##1}\fi}
>   \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
>   {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
(Continue reading)

Enrico Forestieri | 2 Oct 20:04

Re: > User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)

On Thu, Oct 02, 2008 at 04:09:53PM +0200, Konrad Hofbauer wrote:

> 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.

I meant that the problem you report was fixed at r26577, but rc3
corresponds to r26576.

--

-- 
Enrico


Gmane