Ctest export failing with TL19

Guenter Milde milde at users.sf.net
Mon Nov 18 21:25:15 UTC 2019

On 2019-11-17, Jürgen Spitzmüller wrote:
> Am Samstag, den 16.11.2019, 11:02 +0100 schrieb Kornel Benko:

>> So, the remaining are:
>>         export/export/latex/languages/th-en_utf8_pdf4_systemF

> This works for me with Systemfonts/XeTeX.

Works fine here (TL18) as well. 

"Hand-Compiling" fails the first time after changing "use non-TeX fonts" to
"true" but works the second time (when the .aux file is updated).

>>         export/examples/Articles/American_Mathematical_Society_%28AMS
>> %29_dvi3_systemF
>>         export/examples/Articles/American_Mathematical_Society_%28AMS
>> %29_pdf4_systemF
>>         export/examples/Articles/American_Mathematical_Society_%28AMS
>> %29_pdf5_systemF

> This seems to be an old bug (rather in amsart than polyglossia):
> https://tug.org/pipermail/xetex/2008-December/011579.html

> In this thread, the amsclass maintainer promised (in 2008) to fix it in
> the next release of amsart. This apparently didn't happen. (The
> advertised fix still works, 

OTOH, the tests pass here with TL18 (without the advertised fix).

>>         export/examples/Presentations/Foils_pdf4_systemF
>>         export/examples/Presentations/Foils_pdf5_systemF

> This is because the dvips option is used. Removing it makes the
> document compile with XeTeX and LuaTeX.

Is the output correct without dvips option:

* with TeX fonts,
* with non-TeX fonts?

If yes, we just remove the dvips option, 
if no we should set "PDF (ps2pdf)" as output format.

>>         export/examples/fr/Modules/Braille_dvi3_systemF
>>         export/examples/fr/Modules/Braille_pdf4_systemF
>>         export/examples/fr/Modules/Braille_pdf5_systemF

> The document has a preamble definition which switches to the
> English language. With babel, English is loaded via the english class
> option. This does not work with polyglossia.

However, it seems to work in TL18 (the tests pass here).

OTOH, "hand compiling" with non-TeX fonts works only for XeTeX, with LuaTeX,
I get a pop-up window telling me: "The external program lualatex finiished
with an error. It is recommended you fix the cause of the external program's
error (check the logs)." (both with TeX fonts and non-TeX fonts).
"Document>LaTeX Log" is still grey.

When opening LyX from an X-terminal, the output there is

  Unable to read environment locale: exit now.
  support/Systemcall.cpp (291): Systemcall: 'lualatex "Braille.tex"' finished with exit code 1
  Error: LaTeX failed
  The external program
  finished with an error. It is recommended you fix the cause of the external program's error (check the logs). 

>>         export/examples/ko/cjk-ko-doc_pdf4_systemF

> The preamble tries to load Latin Modern Roman when fontspec is used.
> This does not work with XeTeX, as XeTeX (as opposed to LuaTeX) does not
> find fonts in the texmf tree (only fonts installed in the OS). 

This explains why it works fine here (I have LM otf fonts installed

> Using another font which we can assume is widely installed on OSes will
> fix it.

Done (using DejaVu Sans).


More information about the lyx-devel mailing list