On Mon, Oct 26, 2015 at 09:24:23AM +0000, Guenter Milde wrote: > On 2015-10-26, Scott Kostyshak wrote: > > > OK. I just want to make sure we define "there are no regressions". These > > tests passed before edd37de8. So it is quite possible that documents > > that users have that compile with LyX 2.1.x suddenly fail to compile > > with LyX 2.2.0 because of edd37de8. In this sense, there is a > > regression. > > > So there is a trade-off: the bad side is that there is the possibility > > that user's documents suddenly fail to compile. The good side is that we > > now encourage the use of polyglossia by default which apparently has > > advantages over babel. Jürgen knowingly made this decision and he knows > > more than I do to be able to judge this tradeoff so I hesitantly accept > > it. > > Polyglossia has been the better (and sometimes only) choice for use with > Xe/LuaTeX Unicode fonts for a long time, but Babel is catching up in the > last years.
Good to know. > It may be that we need a new keyword for lib/languages, to tag > languages where Babel is superior to Polyglossia also with non-TeX fonts. > > Then, the "automatic" setting (which is also the default "default") could > take into account that some languages should use Babel also with non-TeX > fonts even if Polyglossia is available for them. Jürgen what do you think about this idea? > Could this prevent some of the regressions? Yes, but possibly only because there are underlying bugs in our language handling. Once those are fixed, I'm not sure if this would fix current regressions or not. The following are the regressions (as indicated by the tests) that I'm not sure will be fixed once LyX's language handling is fixed. In other words, I'm not sure if these fail because we use polyglossia incorrectly or because there is no way to use polyglossia correctly in these situations: export/examples/seminar_pdf5_systemF export/examples/fr/seminar_pdf5_systemF export/doc/fr/UserGuide_pdf5_systemF export/examples/fr/Foils_pdf5_systemF # kluwer gives the following error with polyglossia: # LaTeX Error: Command \ifdef already defined. export/templates/kluwer_pdf5_systemF Regardless of fixing regressions, it still seems like a good idea though. > (We need to look carefully, not > only if the relevant documents compile without error, but also if the > exported document is OK.) Agreed. Scott