On 12-Dec-2001 Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: >> An alternative (if this is possible): >> Use length field and unit choice as is, but allow inserting values >> like "2cm" in the length field (as it used to be). When the user >> applies such a value, LyX sets the length correctly, inserts the >> length in the field and sets the choice. >> IMHO this is not difficult, since it is the way we read old files >> (and the length strings). All we have to do is to remove >> (unsigned)_float_filter and reintroduce isValidGlueLength (?) filter >> from 1.1.6 > > One problem is probably that we have to filter out the unit-from-choice > value in this case. If someone inserts "2in" into the input field and > the choice is on "cm", it will be applied as "2incm", which is bogus of > course.
No I meant it as you meant it in your former mail. Actually your proposal of an extra input field is much better than my "STR" proposal. So I would agree completely with your proposal :) Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ I took a fish head to the movies and I didn't have to pay. -- Fish Heads, Saturday Night Live, 1977.