# Hebrew docs do not currently work with LuaTeX
-export/doc/he/Intro_pdf5
-export/doc/he/Intro_dvi3
-export/doc/he/Tutorial_pdf5
-export/doc/he/Tutorial_dvi3
-export/examples/he/example_lyxified_pdf5
-export/examples/he/example_lyxified_dvi3
-export/examples/he/example_raw_pdf5
-export/examples/he/example_raw_dvi3
-export/examples/he/splash_pdf5
-export/examples/he/splash_dvi3
-#
-# Greek docs do not currently work with LuaTeX
-# This should be fixed for LyX 2.2
-# See http://marc.info/?l=lyx-devel&m=138506346715339&w=2
-export/doc/el/Intro_dvi3
-export/doc/el/Intro_pdf5
-export/examples/el/splash_dvi3
-export/examples/el/splash_pdf5
+export/.*/he/(Intro|Tutorial|example).*(pdf5|dvi3)_.*
+export/.*/he/(splash).*(dvi3)_.*
+export/examples/he/splash_pdf5_texF
#
# FIXME
# After LyX 2.1 is released, apply the patch and remove these
# See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181595.html
-export/doc/id/Intro_pdf5
-export/doc/id/Intro_dvi3
-export/doc/id/Shortcuts_pdf5
-export/doc/id/Shortcuts_dvi3
-export/doc/id/Tutorial_pdf5
-export/doc/id/UserGuide_dvi3
-export/examples/id/splash_pdf5
+export/.*/id/.*(dvi3)_.*
+export/.*/id/.*(pdf5)_texF
+export/doc/id/UserGuide_pdf5_systemF
#
# FIXME
# Similar to the Indonesian support, see:
# http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181595.html
-export/doc/hu/Intro_pdf5
-export/doc/hu/Intro_dvi3
-export/examples/hu/example_lyxified_pdf5
-export/examples/hu/example_lyxified_dvi3
-export/examples/hu/example_raw_pdf5
-export/examples/hu/example_raw_dvi3
-export/examples/hu/splash_pdf5
-export/examples/hu/splash_dvi3
-#
-export/examples/es/europeCV_pdf4
-export/examples/es/europeCV_pdf5
-export/examples/es/europeCV_dvi3
-# Export with XeTeX and LuaTeX (with either non-tex fonts or 8-bit
-# compatibility mode) does not work because the loading of inputenc with
-# utf8x is hardcoded in europecv.cls at the time of this writing. See:
-# http://comments.gmane.org/gmane.editors.lyx.devel/145896
-export/examples/fa/splash_pdf5
+export/.*/hu/.*(dvi3)_.*
+export/.*/hu/.*(pdf5)_texF
+#
+export/.*/es/europeCV_pdf_texF
+#
+# somehow lualatex is not able to compile with non-tex fonts
+export/.*/es/(Math|Tutorial|UserGuide|ejemplo_con_lyx)_dvi3_systemF
+
# See http://www.lyx.org/trac/ticket/8823
-export/examples/ja/lilypond_pdf
-export/examples/ja/sweave_pdf
-export/examples/ja/knitr_pdf
+export/examples/ja/(lilypond|sweave|knitr)_pdf
+# Incompatibility between luainputenc.sty and ectaart.cls
+# luainputenc.sty loads luatex.sty
+# Both files (luatex.sty and ectaart.cls) define
+# the latex-command \setattribute
+export/templates/ectaart_(pdf5|dvi3)_.*
+#
+# LuaTeX does not support Farsi yet. See:
+# https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
+export/examples/fa/splash_(pdf5|dvi3)_.*
+#
+# There is no non-TeX support for Ukrainian with LuaTeX. See:
+# https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181690.html
+export/doc/uk/Intro_dvi3_systemF
+#
+# The following documents likely fail because of excessive preamble code that
+# is only targeted at (pdf)latex. TODO these .lyx files could be fixed. Although
+# it is unlikely that a user would want to use system fonts to view LyX's
+# documents, fixing these would provide further tests for LyX's handling of
+# XeTeX/LuaTeX with system fonts.
+export/doc/(de/|es/|fr/)Customization_pdf4_systemF
+export/doc/(es/|fr/)Math_dvi3_systemF
+export/doc/(es/)Math_pdf4_systemF
+export/doc/(es|fr|id)/UserGuide_pdf4_systemF
+export/doc/es/Tutorial_pdf4_systemF
+export/doc/gl/Tutorial_dvi3_systemF
+export/doc/(nb|sk)/Intro_pdf4_systemF
+export/examples/(aas_sample)_pdf4_systemF
+export/examples/eu/adibide_lyx-atua_(dvi3)_systemF
+export/examples/fr/(Foils|ListesPuces|seminar|simplecv)_pdf4_systemF
+export/examples/gl/exemplo_lyxificado_(dvi3)_systemF
+export/templates/RJournal_(dvi3|pdf[45])_systemF
+# Changes in TeX Live 2014 (see git blame for info) fixed IEEEtran-CompSoc
+# pdf4_systemF but not others. TODO Investigate if others can be fixed?
+export/templates/IEEEtran-(Journal|TransMag)_pdf4_systemF
+export/templates/kluwer_pdf4_systemF
+#
+# There is no Chinese LuaTeX or XeTeX TeX font support yet.
+export/.*/zh_CN/.*(pdf[45]|dvi3)_texF
+#
+# These started failing after we implemented tests for formats
+# that are in the complement set to the default format (7ecbb068).
+# TODO it might be worth it to take a look at each individually and
+# see whether they are supposed to fail or if there is something LyX
+# can do to add support for exporting them.
+export/doc/hu/Tutorial_dvi3_.*F
+export/doc/ja/.*_(pdf[245]|dvi3).*
+export/examples/(chessgame|chess-article|powerdot-example)_pdf[25].*
+export/examples/(docbook_article)_(pdf[245]|dvi3).*
+export/examples/instant_preview_(dvi3|pdf4)_systemF
+export/examples/instant_preview_pdf[25].*
+export/examples/listerrors_(pdf[245]).*
+export/examples/seminar_pdf4_systemF
+export/examples/(|de/|es/)tufte-(book|handout)_(dvi.*|pdf|pdf3|pdf4.*)
+export/examples/fr/exemple-powerdot_pdf[25].*
+export/examples/ja/(.*)_(dvi3|pdf[245]).*
+export/examples/ja/(knitr|lilypond|sweave)_(dvi|pdf3)
+export/examples/ko/splash_(dvi||pdf[23]?)
+export/templates/DocBook_article_(dvi3_|pdf2|pdf[45]_).*
+export/templates/JSS-article_(dvi|dvi3_.*|pdf3?)
+export/templates/attic/latex8_(dvi|dvi3_.*)
+export/templates/ctex_pdf[23]?
+export/templates/ja_.*(pdf[245]|dvi3).*
+#
+# The following exports worked with TeX Live 2013, but not in 2014.
+# For a workaround, see:
+# https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html
+export/examples/aa_sample_(dvi3|pdf4|pdf5)_(texF|systemF)
+export/templates/aa_(dvi3|pdf4|pdf5)_(texF|systemF)
+#
+# These exports correctly fail now on TeX Live 2014. Although they compiled
+# without error on TeX Live 2013, the resulting PDFs had gibberish.
+export/doc/he/(Intro|Tutorial)_pdf4_texF
+export/examples/he/(example_lyxified|example_raw|splash)_pdf4_texF
+#
+# These exports correctly fail now that we've switched to polyglossia. Although
+# they compiled without error with babel, the resulting PDFs had gibberish.
+# Note that there is a problem with the LyX-generated preamble in the Russian
+# docs:
+# https://www.mail-archive.com/search?l=mid&q=n0j157%246a1%241%40ger.gmane.org
+export/doc/ru/Intro_pdf5_systemF
+export/doc/ru/Tutorial_pdf5_systemF
+export/doc/el/Intro_pdf5_systemF
+#
+# Inside these two files, we state that they should only be expected
+# to work with pdflatex and possibly lualatex.
+export/examples/PDF-(comment|form)_(dvi.*|pdf[^25]*)
+#
+export/templates/IUCr-article_pdf4_systemF
+#
+# Gives the following error:
+# # ! Package hpstatement Error: H or P statement "H251"
+# # (hpstatement) is not defined.
+# 1580:export/examples/H-P-statements_pdf5_systemF
+export/examples/H-P-statements_pdf[45]_systemF
+#
+# The math document now depends on the mhchem package which produces wrong
+# output with XeTeX/LuaTeX and both TeX fonts and non-TeX fonts:
+# https://www.mail-archive.com/search?l=mid&q=n0sne9%24iis%241%40ger.gmane.org
+export/doc(|/de|/es|/fr)/Math.*(texF|systemF)