Andre Poenitz wrote:

>On Tue, Oct 15, 2002 at 11:42:39AM -0400, Anand Rangarajan wrote:
>  
>
>>I just checked my reLyX imported file and the label that shows up in my 
>>lyx file is a_{1 and not a_{1} (as in your case with lyx 1.3CVS). 
>>    
>>
>
>'a_{1'  with unbalanced braces?
>
>This is even worse than I thought...
>
>Andre'
>
>  
>
Yes, the label is "a_{1" and NOT "a_{1}" in my imported file. In my 
original posting, if you look at the resulting lyx file, you'll see the 
unbalanced braces.

I've enclosed the reLyX-derived LyX file and the LaTeX source again. You 
can clearly see the unbalanced braces on line 30 in lyx2_eqbug.lyx.

The error messages produced by relyx are:
-------------------------Start relyx error 
messages-------------------------------------------

Tokens:
\begin[{,1][e,11][q,11][u,11][a,11][t,11][i,11][o,11][n,11][},2][
,10][
,10][X,11][=,12][0,12]\label[{,1][e,11][q,11][:,12][1,12][_,8][{,1][a,11][},2][}
,2]
<#> [
,10]\end[{,1][e,11][q,11][u,11][a,11][t,11][i,11][o,11][n,11][},2]
found '}' unexpectedly, array: '[char X mathalpha][char =
mathalpha][char 0 mathalpha]'


--------------------------End relyx error 
messages------------------------------------

Anand


Attachment: lyx2_eqbug.tex
Description: TeX document

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 11
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula \begin{equation}
X=0\label{eq:1_{a}\end{equation}

\end_inset 

 Equation\SpecialChar ~
(
\begin_inset LatexCommand \ref{eq:1_a}

\end_inset 

)'s label seems wrong.
 
\the_end

Reply via email to