>>>>> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

>> Looks like we need a layout.name.strip().

Amir> Is that a cvs commit I see?

I can do it, but I think the bug is in reLyX :) In fact, the arguments
to tags in layout files are space delimited and not
end-of-line-delimited; so reLyX should not have picked the final space
from the layout file. This contrasts with the .lyx file format where
everything is end-of-line delimited... You should check that all
parsing of layout files use space as delimiters and understands ""
around strings.

Amir> I don't know what this thing you're talking about is, but I
Amir> gather you need it either in buffer.C line 343 (when you read
Amir> "\layout foo") or layout.C line 1139 (sub NumberOfLayout). (I
Amir> assume that the strip already happens when you read the layout
Amir> file, and it's just a question of putting the strip in when you
Amir> read a .lyx file.

I'm not sure I want to fix buffer.C now, since this would only be a
stop-gap measure: we should change *all* the parsing to use correct
rules...

Amir> While we're talking about BUGS.lyx: sqrt is still listed in
Amir> BUGS.lyx. If Alejandro's patch works, that can probably be taken
Amir> out.

Not until Alejandro (or someone else) has documented it in some way...

Amir> While we're talking about BUGS: The file BUGS in the main
Amir> distribution directory currently has exactly one bug from
Amir> 0.11.51. Does this bug still exist? If it does, it probably
Amir> doesn't fall under the "fixed really quick" category, so it
Amir> ought to be moved to BUGS.lyx.

Maybe Asger could tell us about this one... It seems to be fixed, IMO.

Amir> JMarc, the page you mention in BUGS claims to have been last
Amir> updated on 1998-01-16. That's rather a long time ago, don't you
Amir> think?

Yes, there are not enough bugs in Lyx... I'll try to remember next
time.

JMarc

Reply via email to