On 2011-10-12, Olivier Ripoll wrote: > Hi, > I'm using Uwe's binary (LyX 2.0.1 on Win7 64bits, Miktex 2.9), so > perhaps it's the cause of this inconsistency.
> About the Document-> Settings-> Language, section B9 of the User's guide > states: > --------------- > Default is the package babel. > Automatic selects the most suitable language package for the view/export > format you will use. For example for the XeTeX formats the package > polyglossia will be used instead of babel. > --------------- > However, when I use Default or Automatic, generating the pdf with XeTeX > result in failures, with an error message mentionning polyglossia(*). > If I switch to "Always Babel", compilation works fine. So I have the > impression that either the documentation is wrong or that LyX does not > do as expected. The documentation just tells this: ... > polyglossia will be used instead of babel. But maybe could be made more clear, like Default: Automatic selects the most suitable language package for the view/export format you will use. Defaults to the package babel. With "use non-TeX fonts" the package polyglossia will be used instead. > (*) It seems XeTeX and polyglossia have had issues in the past weeks, > but may have been fixed very recently. But that's besides the point. Yes, there is a polyglossia bug (using a package without requiring it) that was exposed with the latest update to fontspec. It has nothing to do with XeTeX (except that polyglossia is for use with XeTeX/LuaTeX). Günter