2 Oct 15:47
> User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)
From: Uwe Stöhr <uwestoehr <at> web.de>
Subject: > User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)
Newsgroups: gmane.editors.lyx.documentation, gmane.editors.lyx.devel
Date: 2008-10-02 13:50:33 GMT
Subject: > User Guide does not compile due to Unicode-in-Math stuff (rc3 on mac)
Newsgroups: gmane.editors.lyx.documentation, gmane.editors.lyx.devel
Date: 2008-10-02 13:50:33 GMT
> 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)
RSS Feed