Dear Scott, dear LyX team, On 2015-10-10, Scott Kostyshak wrote: > On Sat, Oct 10, 2015 at 08:23:03PM +0000, Guenter Milde wrote:
>> Please consider Ticket #9744: "allow parallel configuration of TeX and >> non-TeX fonts" >> Try "View>PDF (XeTeX)" with the LyX manuals to see why this is >> important (compiling fails, because the combination of XeTeX and >> TeX-fonts is poorly supported by both, LaTeX and LyX). >> I propose a new config value "automatic" for "use non-TeX fonts". The >> effect of useNonTeXFonts == "automatic" would be to use TeX fonts with >> 8-bit engines and non-TeX fonts with Unicode-enabled engines (XeTeX, >> LuaTeX). > I agree that this would be nice to fix for 2.2.0. Let's see if we can > convince someone to work on it. Here is my attempt: > In LyX 2.2.0 one of the changes that could be noticeable to users is > that we now report missing characters (#9610). I realised that this not only applies to compilation with Xe/LuaTeX which is a good thing -- it also catches cases like small letters missing in most math-script fonts (To fix the description in lib/RELEASE-NOTES, just trim the sentence.) > Without this fix, users might not be aware that their compiled PDF will > not show some characters. Although some users might be annoyed by > seeing errors they did not see before, (1) it is important to give > these errors to them so they know about the problem and (2) there is a > "Show Output Anyway" button so if they want to view their PDF as they > did in 2.1.x, they still can. This are the two new features I like most. > Fixing #9744 would have the following advantages: > 1. It would allow fixing some of the missing glyphs errors. It is not > clear how many users will run into this particular issue (see Günter's > comment here: http://www.lyx.org/trac/ticket/9610#comment:18). > 2. It would fix compilation of the manuals, as well as many of our > tests. I am afraid that while this change will prevent compilation errors, the result is different from before, so any tests that compare the output (or the tex file) must be adapted. I have a partial fix for the "Xe/LuaTeX with TeX-fonts" problem. The fix prevents compilation errors with luatex and improves he situation a bit for xetex (the difference is, that there is "luainputenc" but no "xetexinputenc" in TeXLive and the standard "inputenc" package currently refuses to work with xetex unless the encoding is utf8). Should I commit the patch or wait? Günter