Re: isValidLength question

2006-05-14 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Freitag, 12. Mai 2006 17:24 schrieb Jean-Marc Lasgouttes: >> Since it eventually uses unitFromString, I'd say it uses LyX >> format. Georg> Thanks. I think I now understand why it works, and am going to Georg> add the attached docu

Re: isValidLength question

2006-05-13 Thread Jean-Marc Lasgouttes
> I think I now understand why it works, and am going to add the > attached documentation for clarification. Looks good. JMarc Georg

Re: isValidLength question

2006-05-12 Thread Georg Baum
Am Freitag, 12. Mai 2006 17:24 schrieb Jean-Marc Lasgouttes: > Since it eventually uses unitFromString, I'd say it uses LyX format. Thanks. I think I now understand why it works, and am going to add the attached documentation for clarification. Georg Index: src/lyxlength.h =

Re: isValidLength question

2006-05-12 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> From lyxlength.h: bool isValidLength(std::string const & data, Georg> LyXLength * result = 0); Georg> Is 'data' in LyX format or in TeX format? I think that Georg> isValidLength is used with both: In src/tabular.C with lengths Georg>

isValidLength question

2006-05-12 Thread Georg Baum
>From lyxlength.h: bool isValidLength(std::string const & data, LyXLength * result = 0); Is 'data' in LyX format or in TeX format? I think that isValidLength is used with both: In src/tabular.C with lengths in LyX format and in src/mathed/math_parser.C with lengths in TeX format. What is correct?