On 2015-11-09, Kornel Benko wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]
>> > Am Montag, 9. November 2015 um 15:50:09, schrieb Guenter Milde 
>> > <mi...@users.sf.net>
>> >> On 2015-11-09, Kornel Benko wrote:

> Thanks, I searched for attachment ...
> Applied.
> Running export tests ...
> Still 165 failed. Not really better.

The patch *should* disable XeTeX+TeX-fonts unless inputenc is explicitely
set to "ascii". Unfortunately, the patch does not work.  
This is why I said:

>> >> I hope someone familiar with the export routines can fix the
>> >> "exclusion" patch I sent.


However even if it worked, most XeTeX tests would still fail. 
But it would be better.

Intended behaviour:

* With the current default settings (TeX-fonts, inputenc="auto", the
  XeTeX view/export is disabled.
  
  +1 the fragile corner case with no advantage over "regular" pdflatex
     export is no longer easier to reach than the "proper" use of XeTeX
     (with non-TeX fonts).

* If the user sets Document>Settings>Language>Encoding to ASCII,
  XeTeX with non-TeX is still accessible.
     
  +1 the safe way to use XeTeX with non-TeX fonts works.

* Testing for XeTeX export without current default document settings will
  fail - "no export route found", because we explicitely close this
  "fragile" export route.
  
  +1 no false positives, no surprises.
     We expect this combination to fail (similar to pdflatex + non-TeX fonts)
  
  +1 default XeTeX-TeXF tests can safely be inverted.

  XeTeX export test would require documents with either 
  "inputenc" == "ascii" or "useNonTeXFonts" == "true"
  to get a "positive" result.

Günter

Reply via email to