On 12/08/2010 06:12 AM, Rudi Gaelzer wrote:
Hi. Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.
I believe it was solved, yes.
rh
On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck <rgh...@comcast.net
<mailto:rgh...@comcast.net>> wrote:
On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:
The LyX version offered on the Fedora 14 repositories has now
upgraded to 2.0.0beta1.
When I load a 1.6x multi-document project into the beta
version and try to process it, I get the following error:
Paragraph ended before \gather* was complete.
Missing $ inserted.
Missing \endgroup inserted.
Display math should end with $$.
Misplaced \cr.
Misplaced \noalign.
Misplaced \noalign.
Extra }, or forgotten \endgroup.
Missing $ inserted.
Of course, the document processed just fine with LyX 1.6x.
When I backtraced the error line from the exported tex source,
I found that the problem was in a gather* environment that
contains an aligned sub-environment. It seems that the lyx ->
tex conversion is generating an incorrect source code.
Moreover, LyX stops displaying the equations the moment a
sub-environment is created. You can verify that very quickly.
Here's the offending cell:
\begin{gather*}
\frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
1+p_{\perp}\frac{d}{dt}\sen\phi\vu
2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu
2\right),\\
\begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} &
=-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
m_{\alpha}}\\
\cos\phi p_{\perp}\frac{d\phi}{dt} &
=-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
m_{\alpha}},
\end{aligned}
\end{gather*}
Processing the tex source directly, It complained that the
paragraph was ended before \gather* was complete. I just had
to remove the empty line before \end{gather*} and the document
processed all right.
I guess this is a bug...
A known bug. It has been fixed for the next release. Still, thanks
for the report.
Richard
--
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343
Registered Linux user # 153741