>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> BTW: In 1.4, we now tranlate local values ("1,2") correctly
Juergen> (to "1.2"). This happens in widgetsToLength, but
Juergen> unfortunately only for non-glueLengths (glue Lengths with
Juergen> localized values are not validated). We could do something
Juergen> like the following in widgetsToLength:

Juergen> if (isValidGlueLength(fromqstr(length))) { string len =
Juergen> subst(fromqstr(length), ',', '.'); return len;
Juergen> }

Argh, please, no! We should certainly not have such code in the frontends.

Juergen> but I have a feeling that this is not the ideal solution. Do
Juergen> you have an idea on how to do the translation in
Juergen> LyX(Glue)Length?

I guess it is possible to put the sbust command somewhere at the
beginning of isValidLength and isValidGlueLength.

JMarc

Reply via email to