On Thu, Dec 31, 2015 at 01:38:56PM +0100, Georg Baum wrote: > Am 28.12.2015 um 08:27 schrieb Scott Kostyshak: > >On Mon, Dec 28, 2015 at 08:25:11AM +0100, Kornel Benko wrote: > >>Am Montag, 28. Dezember 2015 um 02:02:45, schrieb Scott Kostyshak > >><skost...@lyx.org> > >>>On Sun, Dec 27, 2015 at 05:39:06PM +0100, Kornel Benko wrote: > >>>>Am Sonntag, 27. Dezember 2015 um 11:23:36, schrieb Scott Kostyshak > >>>><skost...@lyx.org> > >>>>> > >>>>>I see. I still think something is wrong with that format increase > >>>>>though, or perhaps the trip back to 503. To reproduce, do: > >>>>> > >>>>>cd lib/examples/fr > >>>>>lyx -e lyx21x Foils.lyx > >>>>>mv Foils.21.lyx Foils.lyx > >>>>> > >>>>>Then > >>>>>$ ctest -R "fr/Foils" > >>>>> 3481 - EXAMPLES_export/examples/fr/Foils_pdf4_systemF (Failed) > >>>>> 3483 - EXAMPLES_export/examples/fr/Foils_pdf5_systemF (Failed) > >>>> > >>>>Hmm... Setting 'babel' as language package cures it for system fonts > >>>>though. > >>> > >>>So you think there is no bug? I don't understand the logic. > >> > >>Sure there was a bug. I only played a little and found _one_ workaround. > >>But since Jürgen has corrected lyx2lyx, the bug did not show again. > > > >Ah I did not realize. He fixed this bug too? Great. > > I do not understand. What was wrong with lyx2lyx? I could not see any > relevant commit. > > The duplication of font settings from 500 to 501 is wanted. A round trip > 500->501->500 should produce an identical file, and this is what does indeed > happen when I try by hand.
The test fails after doing lyx2lyx: cd lib/examples/fr lyx -e lyx21x Foils.lyx mv Foils.21.lyx Foils.lyx After doing a (manual) bisect, I narrowed the failure down to the 500 vs. 501 format change: cd lib/examples/fr && git checkout Foils.lyx && /home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx -t 501 Foils.lyx > Foils.501.lyx && /home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx -t 500 Foils.lyx > Foils.500.lyx When I copy Foils.501.lyx to Foils.lyx and then run the tests, the tests pass. When I copy Foils.500.lyx to Foils.lyx and then run the tests, the tests fail. I don't know if the difference comes from our testing framework or lyx2lyx or LyX. These are the failing tests: ctest -R 'fr/Foils.lyx' 3487 - EXAMPLES_export/examples/fr/Foils_pdf4_systemF (Failed) 3489 - EXAMPLES_export/examples/fr/Foils_pdf5_systemF (Failed) Scott
signature.asc
Description: PGP signature