+
+# ===========================================
+Sublabel: special
+# Documents that do not work with all exports
+# ===========================================
+
+# XeTeX with TeX fonts
+######################
+# XeTeX with TeX-fonts works only for input encodings "utf8-plain" and "ascii".
+# Ignore all (except dedicated XeTeX tests):
+export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
+!export/export/.*xetex.*_pdf4_texF
+export/.*/(|ar|ca|cs|da|de|en|el|es|eu|fa|fr|gl|he|hu|id|it|lt|nb||nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk).*_pdf4_texF
+
+# Only PDFLaTeX
+###############
+# 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
+
+# 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?)
+
+# No dvipdf[m]
+##############
+# Beamer does not work with dvipdf[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
+
+# Only Postscript (and ps2pdf)
+#################
+# Document uses Postscript specials
+# Does not compile with pdflatex or non-TeX fonts (see note in the document source).
+export/examples/Graphics_and_Insets/Instant_Preview_pdf[25].*
+export/examples/Graphics_and_Insets/Instant_Preview_(dvi3|pdf4)_systemF
+
+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)|(pdf5|dvi3)_texF)
+
+# pLaTeX
+########
+# ignore with pdflatex and Xe/LuaTeX with 8-bit fonts:
+#
+export/export/latex/.*platex.*(pdf2|texF)
+export/export/latex/languages/ja[-_].*_(pdf2|texF)
+#
+# Most Japanese documents use language "japanese" which is tied to "platex"
+# (automatically invoked instead of "latex" to create a DVI file).
+# For a discussion of alternatives for Japanese with LaTeX , see also
+# https://tex.stackexchange.com/questions/320021/xelatex-using-japanese-ldf-for-babel-causes-invalid-characters-errors
+#
+export/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29_pdf2
+# Exceptions:
+# The "!" means: "Protect these tests from being matched by future patterns in this file".
+# Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
+!export/examples/Language_Support/Mixing_Japanese_with_other_Languages_.*(dvi|pdf[23]?)
+export/examples/Language_Support/Mixing_Japanese_with_other_Languages_.*systemF
+# the rest:
+export/.*/ja/.*_(pdf2|texF)
+
+# Japanese knitr.lyx and sweave.lyx support only XeLaTeX with system fonts
+# because they use the "bxjsarticle" class and non-TeX fonts
+!export/examples/ja/Modules/Rnw.*knitr.*_(lyx.*|xhtml|pdf4_systemF)
+export/examples/ja/Modules/Rnw.*knitr.*
+!export/examples/ja/Modules/Sweave.*_(lyx.*|xhtml|pdf4_systemF)
+export/examples/ja/Modules/Sweave.*
+
+# The LuaTeX-ja package, which is loaded by bxjs* class, is not designed
+# to be used with dvilua(la)tex:
+# https://www.mail-archive.com/search?l=mid&q=20200917155146.ec1bd9f9b5d5f5936513e5dd%40yahoo.co.jp
+# These started to fail due to a "luatex" package update in the TL20 cycle.
+export/.*/(ja|zh_CN)/.*_dvi3_systemF
+export/export/latex/CJK/zh_CN-toc.*_dvi3_systemF
+
+# CJK fails (sometimes) with Xe/LuaTeX and 8-bit fonts:
+#####
+export/examples/Language_Support/Mixing_Japanese_with_other_Languages_.*(dvi3|pdf5)_texF
+export/.*/(ko|zh_CN)/.*(dvi3|pdf[45])_texF
+export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf[45])_texF
+export/export/latex/CJK/en-de-el-ru-ko_utf8_.*_texF
+
+# export of minted documents to 2.2.x is not guaranteed to work (and currently
+# fails for our two minted example files), as explained here:
+# 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)
+export/templates/Books/Springer_.*/(0[^0]|1.)_.*
+check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
+export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*