From 9e21ed546d1b1f08e3ce2e7038e40eea3da004c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= Date: Thu, 11 Apr 2019 13:37:39 +0200 Subject: [PATCH] ctests: update ignoredTests patterns and comments. --- development/autotests/ignoredTests | 47 ++++++++++++++++-------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/development/autotests/ignoredTests b/development/autotests/ignoredTests index 47fcd50b4c..bef23a9eb1 100644 --- a/development/autotests/ignoredTests +++ b/development/autotests/ignoredTests @@ -31,25 +31,21 @@ Sublabel: special # Documents that do not work with all exports # =========================================== -# XeTeX with TeX-fonts works only for input encodings "utf8" and "ascii". -# special test cases for XeTeX with 8-bit fonts (ignore matches in this file): -!export/.*(utf8|ascii)_pdf4_texF -!export/examples/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/Welcome_pdf4_texF -# Documentation and templates use "auto" 8-bit encodings. -.*_pdf4_texF -export/(doc|examples|templates)/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/.*pdf4_texF - # Inside these two files, we state that they should only be expected # to work with pdflatex and possibly lualatex. export/examples/Modules/PDF_Form_(dvi.*|pdf[^25]*) export/examples/(|de/|fr/)Modules/PDF_Comments_dvi3_.*F export/examples/(|de/|fr/)Modules/PDF_Comments_pdf5_texF -# Seems, like only latex and pdflatex compilations work -#! Missing number, treated as zero. -# in copernicus.cls:199 -# \ifnum\pdfoutput=\z@ -export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF) +# jss.cls (not on CTAN) +# "All documents need to be processed by pdflatex" [jss.pdf] +export/templates/Articles/Journal_of_Statistical_Software_.*(dvi|dvi3_.*|pdf3?) + +# Beamer does not work with divpdf[m] (wrong output or compilation errors). +# See `texdoc beamer`. +# TODO: Should the export do PDF (dvipdfm) be made unavailable for Beamer or +# just a warning be given in the example or documentation? +export/.*/(|de/|es/|fr/|ja/).*Beamer.*pdf3 # Document uses Postscript specials # Does not compile with pdflatex or non-TeX fonts (see note in the document source). @@ -60,12 +56,17 @@ export/examples/Articles/Chess/Game_2_pdf[25].* export/examples/(|fr/)Presentations/Powerdot_pdf[25].* export/examples/Modules/Chessboard_(lyx(16|20|21|22|23)|(pdf3|pdf5|dvi3)_texF) -# jss.cls (not on CTAN) -# "All documents need to be processed by pdflatex" [jss.pdf] -export/templates/Articles/Journal_of_Statistical_Software_.*(dvi|dvi3_.*|pdf3?) +# XeTeX with TeX-fonts works only for input encodings "utf8" and "ascii". +# Generally, documentation and templates use "auto" 8-bit encodings. +# 1. Exceptions to the following pattern (test cases with the right encoding): +!export/.*(utf8|ascii)_pdf4_texF +!export/examples/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/Welcome_pdf4_texF +# 2. Catchall patterns to ignore the other tests: +.*_pdf4_texF +export/(doc|examples|templates)/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/.*pdf4_texF # CJK fails with LuaTeX or XeTeX and 8-bit fonts: -export/examples/ja/Multilingual_Typesetting_.*_texF +export/examples/ja/Multilingual_Typesetting_.*CJK.*_texF export/.*/ko/.*texF export/.*/zh_CN/.*texF export/export/latex/CJK/zh_CN-toc_.*_texF @@ -94,7 +95,6 @@ export/export/latex/unicodesymbols/.*-platex_pdf2 # https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE export/examples/Insets/Minted.*lyx22 - # Subdocuments that are not expected to work as stand-alone documents: export/mathmacros/Spacechild[123].* # chapters of Springer books (svmono, svmult) (except 00_Main_File) @@ -116,6 +116,12 @@ export/templates/Articles/DocBook_Article_.*(dvi3|pdf[245]).* # `acmart` and `copernicus` are not supported by LyX < 2.3 export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22) export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22) +# Seems, like only latex and pdflatex compilations work +#! Missing number, treated as zero. +# in copernicus.cls:199 +# \ifnum\pdfoutput=\z@ +export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF) + # ============================================================ @@ -123,15 +129,12 @@ Sublabel: obsolete # Documents relying on no longer available packages or classes # ============================================================ -# aastex.cls is obsoleted by aastex6.cls -export/attic/doc/aastex6_sample_(dvi|pdf|lyx(16|20|21|22|23)).* -check_load/attic/doc/aastex6_sample - # aastex6.cls is obsoleted by aastex62.cls export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.* check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29 export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.* check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29 +# Version 6.2 is not supported in LyX 1.6 export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16 export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16