On 11/05/2010 06:07 PM, Vincent van Ravesteijn wrote:
Sorry if this has come up previously but I've encountered a problem with
lyx equation labels (lyx-1.6.7 on linux x86_64). When I use the label 'x=1'
for an equation, lyx changes it to 'x=00003D1'. If I edit and save the lyx
file in emacs, then the next time lyx opens the file, the label appears as
'x=1'. However, after editing and writing the file in lyx, the label reverts
back to 'x=00003D1'.
This isn't a bug. LyX escapes the '=', because it uses '=' as an escape when
there is Unicode in the label. And '=' is 3D in the ascii table.
Sorry, but this really is a bug.
If I save my document and load again, the label changes to
"x=000003D1", if I then save the file again and load it again, the
label changes to "x=-000003D00003D1", and so forth.
Worse, the references to this label are now BROKEN.
Ow! It sounds as if the translation isn't being done back on read in
that case.
rh