Am Freitag, 11. Juli 2014 um 11:04:36, schrieb Enrico Forestieri <for...@lyx.org> > On Thu, Jul 10, 2014 at 10:33:14PM +0200, Georg Baum wrote: > > > > This breaks the tex2lyx tests with a german locale, probably since > > support::convert<double>(std::string const s) wants now a comma instead of > > a period as decimal point, so the string "0.3359375" gets now converted to > > 0 instead of 0.3359375. Other conversions are probably broken as well, and > > unfortunately this is also in 2.1.1. > > I don't know how to run those tests and, most probably, also packagers. > So, this is not a big deal. > > As regards other possible brekages, I only see one instance of > convert<double> in the tex2lyx sources, namely in scale_as_percentage(), > and this is about converting a scale parameter for fonts. So, I tried > to import the attached latex document with either 2.1.0 and 2.1.1. > Both were broken for different reasons. The 2.1.0 version produced > a line "\font_sf_scale 92.5" which was later rejected as an integer > and treated as 0. The 2.1.1 version directly produced 0, thus avoiding > a warning ;-) > > So, it seems there is no regression... >
I am not so sure. Running tests under ctest, some of them fail, (and I don’t remember to fail them earlier). Setting LC_ALL to "C" prior to the tests, they all pass. Kornel
signature.asc
Description: This is a digitally signed message part.