On 2019-07-09, Jean-Marc Lasgouttes wrote:
> Le 09/07/2019 à 13:32, Guenter Milde a écrit :
>> Dear LyX developers,

>> recent discussion about failing tests with the linguistics.module led to the
>> suggestion:

>>    Drop support for XeTeX + TeX fonts + inputenc utf8.

> I do not have much knowledge on this.

> What is the way forward that we offer for existing documents?

This depends.

a) In most cases, the use of XeTeX + TeX fonts is not intended: Googling
   for advise with font problems users may get the tip "try using XeTeX".
   With LyX, the simples way is to click the "View PDF (XeTeX)" button
   but this will not help -- "use XeTeX" means actually "use fontspec"
   (non-TeX fonts) for most people.

   So, the change will reduce unintended use:

   * A document with the LyX defaults (inputenc utf8, TeX fonts, output
     format "default") will work as before with default output and all
     export formats except XeTeX.
      
   * with a document with inputenc utf8, TeX fonts, and default output format
     "PDF (XeTeX)", the "View" toolbar button is greyed out. "View other"
     lists the available alternatives. The user may opt to either 
     
     * check "use non-TeX fonts", 
     * change the default output format to one of the available alternatives 
       PDF (pdflatex), PDF (LuaTeX), PDF (ps2pdf), ...
     * or change the input encoding to ASCII.

b) if "XeTeX + TeX fonts" was actually required or used:

     * try LuaTeX instead of XeTeX (LuaTeX+TeX-fonts works because 
       LuaTeX is designed as drop-in replacement for pdftex.
       LyX uses "luainpuenc" instead of "inputenc".)
       
     * or change the input encoding to ASCII.
       Documents that worked with XeTeX+TeX-fonts under 2.3 will continue
       to work if the user changes the input encoding to ASCII.
   
   
   
Günter

Reply via email to