>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Did we ever really have a "space based" syntax, or is just an Lars> artifact (bug) brought in since we use lyxlex for reading? Well, in 0.10.7 (I just checked) we read the name and immediately transform the _ to a space. I really think that LyX has always seen internally the underscore as a space. The existence of the underscore hack was related to the fact that lyxlex at that time could not read a string containing a space. When this quote syntax has been added, the Stlye command has been updated to use it. So as I see it, it is the underscore that has been a hack from the beginning (as another way of writing a space), not the quote thing. In particular, the .lyx files contain the space version of the name. Lars> I belive that addinng the quotes and the spaces in the layout Lars> files is the wrong move to make. Lars> The correct fix is to separate style name/id and style display Lars> name. I see little gain in making this change now, actually. Lars> IMHO this patch should not be in 1.3 nor in 1.4. So, your thinking is that you want to be able to use the Style name as an identifier later and therefore would like to promote the use of underscore instead of space in names. In this case, a possibility for 1.3.x (and maybe 1.4.0cvs) would be to change for target layouts_l10n.pot in po/Makefile to change underscores into space, and undo the patch to layout files. Is that right? JMarc