It seem to me that this must be the correct fix. Can someone please verify that.
Index: tex2lyx/text.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/tex2lyx/text.C,v retrieving revision 1.30 diff -u -p -b -r1.30 text.C --- tex2lyx/text.C 19 Dec 2003 10:40:07 -0000 1.30 +++ tex2lyx/text.C 6 Jan 2004 22:12:55 -0000 @@ -160,7 +160,7 @@ bool translate_len(string const & length // a normal length if (unit.empty() || unit[0] != '\\') return true; - const string::size_type i = unit.find(" ", i); + string::size_type const i = unit.find(' '); string const endlen = (i == string::npos) ? string() : string(unit, i); if (unit == "\\textwidth") { valstring = percentval;
-- Lgb