New export errors with TL19

Guenter Milde milde at users.sf.net
Fri Dec 13 22:49:30 UTC 2019


On 2019-12-13, Kornel Benko wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Fri, 13 Dec 2019 16:34:25 +0100
> schrieb Jürgen Spitzmüller <spitz at lyx.org>:

>> Am Fr., 13. Dez. 2019 um 13:23 Uhr schrieb Kornel Benko <kornel at lyx.org>:

>> > > >
>> > export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
>> > > >
>> > >
>> > > What error do you get? This compiles for me.

Sure? It should be impossible: XeTeX export is disabled with TeX fonts
and "inputencoding" legacy-default.

>> > Manual compilation is OK, in test env it fails
>> >
>> > The reason is the sequence of setting for pdf4_texF format
>> > To verify, try following:
>> > 1.) open the file
>> > autotests/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex.lyx
>> > 2.) deselect non-tex fonts

Now, input encoding is legacy-default,
the toolbar button "View PDF (XeTeX)" is grey (and inactive),
File>Export no longer contains "PDF (XeTeX)" and
Document>Settings>Formats>Default output format changed to "Default".

>> > 3.) save the file
>> > 4.) open the file try to select output format to pdf(xetex)
>> >         not possible !!!
>> > 5.) select tex-fonts

I suppose you meant select "non-TeX fonts"?

>> > 6.) select output format to pdf(xetex)
>> > 7.) de-select non-tex fonts

Now, again:
input encoding is legacy-default,
the toolbar button "View PDF (XeTeX)" is grey (and inactive),
File>Export no longer contains "PDF (XeTeX)" and
Document>Settings>Formats>Default output format changed to "Default".

>> > 8.) compilation OK

Maybe you started the compilation with the "View" or "Update" button?
As the default output changed to "Default", this works but does not use XeTeX.

>> So is this a problem in the test design are a bug a real user can encounter?

A real user will just realize that she cannot compile the document with XeTeX
(the toolbar button is grey).

The problem in the test design is, that in order to maximize the test
coverage with the existing sample documents, every document is
tested with all export formats supported by LyX unless manually excluded.

As no standard documentation document supports XeTeX with
TeX-fonts, it would be more clean to drop the auto-creation of "pdf4_texF"
tests from documents with "\use_non_tex_fonts true".


OTOH, the XeTeX specific "swapped columns" problem documented in 
wrong_output_3059-rtl-tables-xetex.lyx is solved (thank you, Jürgen).
We may remove the this document. 
(Mind, that 3059-language-in-tables.lyx still fails because #3059 is not
solved.)


Thanks,

Günter




More information about the lyx-devel mailing list