Dear Scott, maybe it is not the time now, yet there are two more patches for the ctests and examples in the pipeline...
After applying the second one (aas_sample), I experienced a test failure: The following tests FAILED: 1945 - EXAMPLES_export/examples/aas_sample_pdf4_systemF (Failed) Errors while running CTest However, manually changing the fonts to "non-TeX" and running export with XeTeX worked without error! Looking at the Testing/Temporary/ log, I see kpathsea:make_tex: Invalid fontname `FreeMono:', contains ':' support/Systemcall.cpp (291): Systemcall: 'xelatex "aas_sample_pdf4_systemF.tex"' finished with exit code 1 This explains a bit: The "hidden" font replacements lead to failure! (BTW: in the Document>Settings>Fonts GUI, I can see FreeSerif and FreeSans, but not FreeMono (instead there is FreeCourier) despite FreeMono beeing installed at the system.) Günter >From 931b3a76d2f1b861937f722b269ef604d628d26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= <mi...@lyx.org> Date: Tue, 12 Jan 2016 13:13:42 +0100 Subject: [PATCH] ctests: label tests with not-on-CTAN requirements as "nonstandard". --- development/autotests/suspiciousTests | 19 +------------------ development/autotests/unreliableTests | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/development/autotests/suspiciousTests b/development/autotests/suspiciousTests index 37eb968..f3f578a 100644 --- a/development/autotests/suspiciousTests +++ b/development/autotests/suspiciousTests @@ -64,34 +64,17 @@ export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF # -> adapt template and style (GM) export/templates/IEEEtran-(Journal|TransMag)_pdf4_systemF -# requires knitr, requires rjournal.sty (not on CTAN) -# incompatible with fontspec? -export/templates/RJournal_(dvi3|pdf[45])_systemF - # Requires ctex (Chinese). # Default output format is XeTeX. -> Only system fonts? # Does (dvi|pdf3_texF|dvi3_texF) produce sensible results? export/templates/ctex_(pdf[23]?|pdf4_texF) -# Requires aa.cls (not on CTAN). -# Fails with XeTeX/LuaTeX -# Reported upstream (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html) -# Is there a new version fixing the problem? -# Move to unreliable:nonstandard? -export/examples/aa_sample_(dvi3|pdf[45])_.* -export/templates/aa_(dvi3|pdf[45])_.* - -# Requires iucr.cls (not on CTAN) -# Is there a new version fixing the problem? -# Does LuaTeX produce sensible results? -export/templates/IUCr-article_pdf4_systemF - # Example for lib/scripts/listerrors # Requires noweb. Seems to be restricted to plain "latex". # Find out why and whether the script could be improved. export/examples/listerrors_(pdf[245]).* -# "Dangerous" setting "language default (no inpuentc) +# "Dangerous" setting "language default (no inpuentc)" # non-ASCII characters fail with LuaTeX # (work "per accident" with other routes) # set to "language default" to use inputenc/luainputenc! diff --git a/development/autotests/unreliableTests b/development/autotests/unreliableTests index a5c6154..3060b6e 100644 --- a/development/autotests/unreliableTests +++ b/development/autotests/unreliableTests @@ -1,11 +1,15 @@ # Regular expressions for tests that should not be executed with -# ctest -L export or ctest -L inverted because they are inapt +# ctest -L export or ctest -L inverted because they do not work as expected # (either unreliable or invalid). # # Patterns will be automatically enclosed with '^' and '$'. -# Matching tests get the label "unreliable". +# Matching tests get the label "unreliable" and do not get the label "export". +# +# TODO: Name problem: *invalid* tests (wrong output) are not *unreliable*. +# Use "unfit" as better label and name of pattern file? Sublabel: nonstandard +# # Documents with additional requirements, # e.g. a class or package file not on CTAN. # TODO: rename to "extra"? @@ -22,6 +26,22 @@ export/templates/ectaart_(dvi3|pdf5)_(tex|system)F # https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323 export/examples/fa/splash_(dvi|pdf|pdf[23]|(dvi3|pdf4|pdf5)_(texF|systemF)) +# requires knitr, requires rjournal.sty (not on CTAN) +# incompatible with fontspec? +export/templates/RJournal_(dvi3|pdf[45])_systemF + +# Requires aa.cls (not on CTAN). +# Fails with XeTeX/LuaTeX +# Reported upstream (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html) +# Is there a new version fixing the problem? +export/examples/aa_sample_(dvi3|pdf[45])_.* +export/templates/aa_(dvi3|pdf[45])_.* + +# Requires iucr.cls (not on CTAN) +# Is there a new version fixing the problem? +# Does LuaTeX produce sensible results? +export/templates/IUCr-article_pdf4_systemF + Sublabel: erratic # Tests depending on local configuration, OS, TeX distribution, -- 2.5.1 >From d89065fa4e81ee830cfd369bde975f83585451d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= <mi...@lyx.org> Date: Tue, 12 Jan 2016 22:18:08 +0100 Subject: [PATCH] Use \inputencoding auto for examples/aas_sample.lyx Also sort and commen related ctest pattern. --- development/autotests/suspiciousTests | 15 +++++++-------- lib/examples/aas_sample.lyx | 24 ++++++++++-------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/development/autotests/suspiciousTests b/development/autotests/suspiciousTests index f3f578a..7b61165 100644 --- a/development/autotests/suspiciousTests +++ b/development/autotests/suspiciousTests @@ -74,12 +74,6 @@ export/templates/ctex_(pdf[23]?|pdf4_texF) # Find out why and whether the script could be improved. export/examples/listerrors_(pdf[245]).* -# "Dangerous" setting "language default (no inpuentc)" -# non-ASCII characters fail with LuaTeX -# (work "per accident" with other routes) -# set to "language default" to use inputenc/luainputenc! -export/examples/aas_sample_(dvi3|pdf5)_(texF|systemF) - # Requires CJK. # Why does it fail with pdflatex and dvipdfm? CJK restriction? Workarounds? # (Also fails with Xe/LuaTeX and TeX-fonts -- as expected, see ignoredTests) @@ -91,8 +85,6 @@ export/mathmacros/testcases_speed_(lyx16|lyx21|dvi|pdf|pdf[23]|(dvi3|pdf[45])_(t check_load/mathmacros/testcases_speed - - Sublabel: lyxbugs # # LyX bugs with a Trac number. @@ -192,6 +184,13 @@ export/templates/JSS-article_(dvi|dvi3_.*|pdf3?) # http://tex.stackexchange.com/questions/202142/problems-compiling-tufte-title-page-in-xelatex export/examples/(|de/|es/)tufte-(book|handout)_(dvi.*|pdf|pdf3|pdf4.*) +# Wasysym - LuaTeX incompatibility +# Missing character reported for $_\sun$ +# (the sun-character is printed in \normalsize (i.e. not scaled) +# with any export format -- only LuaTeX reports a missing character). +export/examples/aas_sample_(dvi3|pdf5)_(texF|systemF) + + Sublabel: multilingual # diff --git a/lib/examples/aas_sample.lyx b/lib/examples/aas_sample.lyx index 2d2042b..8cffaa7 100644 --- a/lib/examples/aas_sample.lyx +++ b/lib/examples/aas_sample.lyx @@ -15,7 +15,7 @@ \maintain_unincluded_children false \language english \language_package default -\inputencoding default +\inputencoding auto \fontencoding global \font_roman "default" "default" \font_sans "default" "default" @@ -69,16 +69,16 @@ \papersides 1 \paperpagestyle default \tracking_changes false -\output_changes false \html_math_output 0 \html_css_as_file 0 +\output_changes false \html_be_strict false \end_header \begin_body \begin_layout Title -Collapsed Cores in Globular Clusters, Gauge-Boson Couplings, and AAS\SpecialCharNoPassThru TeX +Collapsed Cores in Globular Clusters, Gauge-Boson Couplings, and AAS\SpecialChar TeX Examples \end_layout @@ -240,8 +240,7 @@ This is a preliminary report on surface photometry of the major fraction \end_layout \begin_layout Keywords -clusters: globular, peanut\threehyphens -bosons: bozos +clusters: globular, peanut—bosons: bozos \end_layout \begin_layout Section @@ -746,7 +745,7 @@ reference "bozomath" \end_inset . - More information on the AAS\SpecialCharNoPassThru TeX + More information on the AAS\SpecialChar TeX macros package are available at \begin_inset Flex URL status collapsed @@ -1313,7 +1312,7 @@ name "tbl-2" \align center \begin_inset Tabular <lyxtabular version="3" rows="7" columns="13"> -<features rotate="0" tabularvalignment="middle"> +<features tabularvalignment="middle"> <column alignment="center" valignment="top" width="0pt"> <column alignment="right" valignment="top" width="0pt"> <column alignment="right" valignment="top" width="0pt"> @@ -2282,7 +2281,7 @@ reference "tbl-2" \end_inset - that was generated with the \SpecialCharNoPassThru LaTeX + that was generated with the \SpecialChar LaTeX table environment \end_layout @@ -2344,8 +2343,7 @@ We can also attach a long-ish paragraph of explanatory material to a table. \backslash tablerefs to append a list of references. The following references were from a different table: I've patched them - in here to show how they look, but don't take them too seriously\threehyphens -I certainly + in here to show how they look, but don't take them too seriously—I certainly have not. \end_layout @@ -2374,8 +2372,7 @@ status collapsed \begin_layout Plain Layout -% \SpecialCharNoPassThru LyX - can load deluxetable files verbatim. +% LyX can load deluxetable files verbatim. To see this in action, uncomment the following \end_layout @@ -2420,8 +2417,7 @@ status collapsed \begin_layout Plain Layout -) and copy the file table.tex from the AAS\SpecialCharNoPassThru TeX - 5.0 distribution into +) and copy the file table.tex from the AASTeX 5.0 distribution into \end_layout \end_inset