ctests failing on current master

Udicoudco udifoglle at gmail.com
Mon Sep 2 10:20:33 UTC 2024


On Mon, Sep 2, 2024 at 12:20 PM Scott Kostyshak <skostysh at lyx.org> wrote:
>
> On Sun, Sep 01, 2024 at 11:47:57PM GMT, Udicoudco wrote:
> > On Sun, Sep 1, 2024 at 11:16 PM Scott Kostyshak <skostysh at lyx.org> wrote:
> > >
> > > On Sun, Sep 01, 2024 at 01:58:34PM GMT, Jürgen Spitzmüller wrote:
> > > > Kornel Benko schrieb am 28.08.2024 12:44 (GMT +02:00):
> > > > > Am Tue, 27 Aug 2024 22:21:35 +0200
> > > > > schrieb Scott Kostyshak <skostysh at lyx.org>:
> > > > >
> > > > >> The following tests are failing for me on current master. Note that I haven't
> > > > >> updated
> > > > >> my TeX Live distribution for a couple of months. And I saw a couple of notes
> > > > >> mentioning
> > > > >> the new babel system so perhaps I just need to update. I will try that next
> > > > >> week.
> > > >
> > > > [...]
> > > >
> > > > >> export/doc/es/Additional_lyx22
> > > > >> export/doc/es/Additional_lyx23
> > > > > Pass
> > > >
> > > > This has been fixed meanwhile (sorry, I am travelling currently, so I could not respond here until today;
> > >
> > > No worries, hope your travels go smoothly.
> > >
> > > > the fix to Spanish is in for a couple of days).
> > > >
> > > > >> export/doc/ja/Customization_pdf5_systemF
> > > > >> export/doc/ja/EmbeddedObjects_pdf5_systemF
> > > >
> > > > This uncovered a polyglossia bug which I have fixed in the development version (https://github.com/reutenauer/polyglossia/commit/8b51b7979dad2a). I have not tested yet whether this solves all Japanese (or even the Chinese) tests, but it might be worthwhile to recheck with polyglossia master.
> > > >
> > > > Note that the actual output of Japanese and Chinese texts with polyglossia is still unusable due to the missing linebreak handling (https://github.com/reutenauer/polyglossia/issues/635), but it should at least produce something without error now.
> > >
> > > Sounds good, I now have polyglossia master, but I still did not update
> > > TL yet. I get the following failures (with polyglossia 4270ebab).
> >
> > Note that I've reverted the fix in polyglossia,
> > as it was faulty.
> >
> > > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN-toc_pdf4_systemF (Failed)
> > > UNRELIABLE.WRONG_OUTPUT_export/export/latex/CJK/zh_CN-toc_pdf5_systemF (Failed)
> > > export/export/latex/languages/ja-listings-uncodable-error_dvi3_systemF (Failed)
> > > export/export/latex/languages/ja-listings-uncodable-error_pdf4_systemF (Failed)
> > > export/export/latex/languages/ja-listings-uncodable-error_pdf5_systemF (Failed)
> > > UNRELIABLE.VARYING_VERSIONS_export/export/latex/languages/supported-languages_babel_non-tex_dvi3_systemF (Failed)
> > > UNRELIABLE.VARYING_VERSIONS_export/export/latex/languages/supported-languages_babel_non-tex_pdf4_systemF (Failed)
> > > UNRELIABLE.VARYING_VERSIONS_export/export/latex/languages/supported-languages_babel_non-tex_pdf5_systemF (Failed)
> > > DEFAULTOUTPUT_export/export/latex/languages/supported-languages_polyglossia-XeTeX_pdf4_systemF (Failed)
> > > export/doc/EmbeddedObjects_dvi3_systemF (Failed)
> > > export/doc/EmbeddedObjects_pdf5_systemF (Failed)
> > > export/doc/de/EmbeddedObjects_dvi3_systemF (Failed)
> > > export/doc/de/EmbeddedObjects_pdf5_systemF (Failed)
> > > export/doc/es/EmbeddedObjects_dvi3_systemF (Failed)
> > > export/doc/es/EmbeddedObjects_pdf5_systemF (Failed)
> > > export/doc/es/Tutorial_dvi3_systemF (Failed)
> > > export/doc/es/Tutorial_pdf4_systemF (Failed)
> > > export/doc/es/Tutorial_pdf5_systemF (Failed)
> > > export/doc/fr/EmbeddedObjects_dvi3_systemF (Failed)
> > > export/doc/fr/EmbeddedObjects_pdf5_systemF (Failed)
> > > export/doc/ja/EmbeddedObjects_pdf5_systemF (Failed)
> > > export/doc/zh_CN/Intro_pdf4_systemF (Failed)
> > > export/doc/zh_CN/Intro_pdf5_systemF (Failed)
> > > export/doc/zh_CN/Tutorial_pdf4_systemF (Failed)
> > > export/doc/zh_CN/Tutorial_pdf5_systemF (Failed)
> > > export/examples/es/Curricula_Vitae/Modern_CV_lyx22 (Failed)
> > > export/examples/es/Curricula_Vitae/Modern_CV_lyx23 (Failed)
> > > export/examples/es/Curricula_Vitae/Modern_CV_pdf2 (Failed)
> > > export/examples/es/Curricula_Vitae/Modern_CV_pdf5_texF (Failed)
> > > export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx22 (Failed)
> > > export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_pdf5_systemF (Failed)
> > > export/examples/ja/Graphics_and_Insets/Feynman_Diagrams_pdf4_systemF (Failed)
> > > export/examples/ja/Graphics_and_Insets/Feynman_Diagrams_pdf5_systemF (Failed)
> > > export/templates/ja/Articles/Japanese_Article_%28JS_Bundle_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Articles/Japanese_Article_%28JS_Bundle_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_pdf5_systemF (Failed)
> > > export/templates/ja/Books/Japanese_Book_%28JS_Bundle_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Books/Japanese_Book_%28JS_Bundle_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_pdf5_systemF (Failed)
> > > export/templates/ja/Reports/Japanese_Report_%28JS_Bundle_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Reports/Japanese_Report_%28JS_Bundle_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%29_pdf5_systemF (Failed)
> > > export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23 (Failed)
> > > DEFAULTOUTPUT_export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_pdf5_systemF (Failed)
> >
> > Looks like most (or all?) failing tests are ones
> > using system fonts, perhaps this common factor
> > is the source of the problem?
> >
> > What fonts for example are you using for the japanese tests?
> > What is the error you get with the Japanese Customization doc
> > test?
>
> I get the following error:
>
>   ! Package polyglossia Error: The current main roman font, name, does not
>   (polyglossia)                contain the "CJK" script!
>   (polyglossia)                Please define \cjkfont with \newfontfamily
>   (polyglossia)                command

Hmmm, and is this new?

> >
> > Or even better, is there a way to manually run a specific test?
>
> I don't know if there is a general way.
>
> > If I simply open the Japanese customization guide and check
> > the use non-TeX fonts box, I don't see any fonts selected,
> > so I could not tell what fonts were being used in the test
> > that was failing.
>
> Strange, when I click on the use non-TeX fonts box, I get the attached
> (that is, I did not select those "IPA*" fonts myself). Maybe it is
> because those fonts aren't installed on your system that LyX does not
> show them to you?

I indeed do not have them installed. After installing the fonts, they
do appear in the GUI.
I remembered that LyX indicates such situation by showing the selected
font in the GUI
with a "not installed" string or something similar.

In any case, Inspecting the font I see

otfinfo -s ipamincho.ttf
    hani        CJK Ideographic
    kana        Hiragana/Katakana
    kana.JAN    Hiragana/Katakana/Japanese
    latn        Latin

which means the font does contain the CJK script (hani),
and I don't get any error compiling the Japanese Customization
manual.

Can you inspect the font you have installed, Scott?

I installed it from
https://en.maisfontes.com/ipaexmincho.font

> I'm sorry, I wish the tests were easier to run manually and to
> understand. Indeed, it is confusing. But we're not sure how to make
> things easier. I think if others are interested in running the tests, we
> can figure out how to make things more clear and easy. We documented
> some information in Development.lyx, but things are still confusing.

Oh that's totally fine, I don't think I've ever encountered
a testing suit that is really easy to use and maintain...

Udi
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list