Guenter Milde wrote: > On 2012-02-15, Georg Baum wrote: >> Jean-Marc Lasgouttes wrote: > >>> Georg, Juergen, I'd like some feedback on the soundness of the patch. I >>> know next to nil about xetex, and I do not know what is the current >>> state of the art wrt tex2lyx. > >> Unfortunately I know next to nothing about use_non_tex_fonts. After >> reading the code and user guide a bit I see that using xetex is only >> possible if use_non_tex_fonts is true, so your patch looks fine. > > It is the other way round: using xetex or luatex is also possible without > use_non_tex_fonts (which actually means use_fontspec). OTOH, with > use_non_tex_fonts True, it one of xetex or luatex must be used.
For luatex I agree, but for xetex I don't believe that you are right. Do you have an example .lyx file, where use_non_tex_fonts is false, but xetex is still used? If you are right, the patch introduces a regression. Georg