# Hebrew docs do not currently work with LuaTeX
-export/doc/he/Intro_pdf5_systemF
-export/doc/he/Intro_pdf5_texF
-export/doc/he/Intro_dvi3_systemF
-export/doc/he/Intro_dvi3_texF
-export/doc/he/Tutorial_pdf5_systemF
-export/doc/he/Tutorial_pdf5_texF
-export/doc/he/Tutorial_dvi3_systemF
-export/doc/he/Tutorial_dvi3_texF
-export/examples/he/example_lyxified_pdf5_systemF
-export/examples/he/example_lyxified_pdf5_texF
-export/examples/he/example_lyxified_dvi3_systemF
-export/examples/he/example_lyxified_dvi3_texF
-export/examples/he/example_raw_pdf5_systemF
-export/examples/he/example_raw_pdf5_texF
-export/examples/he/example_raw_dvi3_systemF
-export/examples/he/example_raw_dvi3_texF
-export/examples/he/splash_pdf5_systemF
+export/.*/he/(Intro|Tutorial|example).*(pdf5|dvi3)_.*
+export/.*/he/(splash).*(dvi3)_.*
export/examples/he/splash_pdf5_texF
-export/examples/he/splash_dvi3_systemF
-export/examples/he/splash_dvi3_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_systemF
-export/doc/id/Intro_pdf5_texF
-export/doc/id/Intro_dvi3_systemF
-export/doc/id/Intro_dvi3_texF
-export/doc/id/Shortcuts_pdf5_systemF
-export/doc/id/Shortcuts_pdf5_texF
-export/doc/id/Shortcuts_dvi3_systemF
-export/doc/id/Shortcuts_dvi3_texF
-export/doc/id/Tutorial_pdf5_systemF
-export/doc/id/Tutorial_pdf5_texF
-export/doc/id/Tutorial_dvi3_systemF
-export/doc/id/Tutorial_dvi3_texF
+export/.*/id/.*(dvi3)_.*
+export/.*/id/.*(pdf5)_texF
export/doc/id/UserGuide_pdf5_systemF
-export/doc/id/UserGuide_pdf5_texF
-export/doc/id/UserGuide_dvi3_systemF
-export/doc/id/UserGuide_dvi3_texF
-export/examples/id/splash_pdf5_systemF
-export/examples/id/splash_pdf5_texF
-export/examples/id/splash_dvi3_systemF
-export/examples/id/splash_dvi3_texF
#
# FIXME
# Similar to the Indonesian support, see:
# http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181595.html
-export/doc/hu/Intro_pdf5_systemF
-export/doc/hu/Intro_pdf5_texF
-export/doc/hu/Intro_dvi3_systemF
-export/doc/hu/Intro_dvi3_texF
-export/examples/hu/example_lyxified_pdf5_systemF
-export/examples/hu/example_lyxified_pdf5_texF
-export/examples/hu/example_lyxified_dvi3_systemF
-export/examples/hu/example_lyxified_dvi3_texF
-export/examples/hu/example_raw_pdf5_systemF
-export/examples/hu/example_raw_pdf5_texF
-export/examples/hu/example_raw_dvi3_systemF
-export/examples/hu/example_raw_dvi3_texF
-export/examples/hu/splash_pdf5_systemF
-export/examples/hu/splash_pdf5_texF
-export/examples/hu/splash_dvi3_systemF
-export/examples/hu/splash_dvi3_texF
-#
-# 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/es/europeCV_pdf4_systemF
-export/examples/es/europeCV_pdf4_texF
-export/examples/es/europeCV_pdf5_systemF
-export/examples/es/europeCV_pdf5_texF
-export/examples/es/europeCV_dvi3_systemF
-export/examples/es/europeCV_dvi3_texF
+export/.*/hu/.*(dvi3)_.*
+export/.*/hu/.*(pdf5)_texF
+#
+export/.*/es/europeCV_pdf_texF
#
# somehow lualatex is not able to compile with non-tex fonts
-export/doc/es/Math_dvi3_systemF
-export/doc/es/Tutorial_dvi3_systemF
-export/doc/es/UserGuide_dvi3_systemF
-export/examples/es/ejemplo_con_lyx_dvi3_systemF
+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_systemF
-export/templates/ectaart_pdf5_texF
-export/templates/ectaart_dvi3_systemF
-export/templates/ectaart_dvi3_texF
+export/templates/ectaart_(pdf5|dvi3)_.*
#
# LuaTeX does not support Farsi yet. See:
# https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
-# It also appears that XeTeX does not support using TeX fonts.
-export/examples/fa/splash_pdf5_systemF
-export/examples/fa/splash_pdf5_texF
-export/examples/fa/splash_dvi3_systemF
-export/examples/fa/splash_dvi3_texF
-export/examples/fa/splash_pdf4_texF
+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_pdf5_systemF
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/Customization_pdf4_systemF
-export/doc/Math_dvi3_systemF
-export/doc/Math_pdf4_systemF
-export/doc/attic/eu_Additional_pdf4_systemF
-export/doc/attic/eu_UserGuide_pdf4_systemF
-export/doc/attic/pl_Additional_pdf4_systemF
-export/doc/de/Customization_pdf4_systemF
-export/doc/de/EmbeddedObjects_pdf4_systemF
-export/doc/de/Math_dvi3_systemF
-export/doc/de/Math_pdf4_systemF
-export/doc/de/UserGuide_pdf4_systemF
-export/doc/es/Customization_pdf4_systemF
-export/doc/es/EmbeddedObjects_pdf4_systemF
-export/doc/es/Math_pdf4_systemF
+# 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/es/UserGuide_pdf4_systemF
-export/doc/fr/Customization_pdf4_systemF
-export/doc/fr/EmbeddedObjects_pdf4_systemF
-export/doc/fr/Math_dvi3_systemF
-export/doc/fr/Math_pdf4_systemF
-export/doc/fr/UserGuide_pdf4_systemF
export/doc/gl/Tutorial_dvi3_systemF
-export/doc/id/UserGuide_pdf4_systemF
-export/doc/nb/Intro_pdf4_systemF
-export/doc/ru/Intro_pdf4_texF
-export/doc/sk/Intro_pdf4_systemF
-export/doc/sv/Intro_pdf4_systemF
-export/examples/MultilingualCaptions_pdf4_systemF
-export/examples/aas_sample_pdf4_systemF
-export/examples/simplecv_pdf4_systemF
-export/examples/de/Lebenslauf_pdf4_systemF
-export/examples/es/ejemplo_con_lyx_pdf5_systemF
-export/examples/eu/adibide_lyx-atua_dvi3_systemF
-export/examples/eu/adibide_lyx-atua_pdf5_systemF
-export/examples/fr/Foils_pdf4_systemF
-export/examples/fr/ListesPuces_pdf4_systemF
-export/examples/fr/seminar_pdf4_systemF
-export/examples/fr/simplecv_pdf4_systemF
-export/examples/gl/exemplo_lyxificado_dvi3_systemF
-export/examples/gl/exemplo_lyxificado_pdf5_systemF
-export/examples/sr/Braille_pdf4_systemF
-export/examples/sr/splash_pdf4_systemF
-export/templates/IEEEtran-CompSoc_dvi3_systemF
-export/templates/IEEEtran-CompSoc_pdf4_systemF
-export/templates/IEEEtran-CompSoc_pdf5_systemF
-export/templates/IEEEtran-Journal_dvi3_systemF
-export/templates/IEEEtran-Journal_pdf4_systemF
-export/templates/IEEEtran-Journal_pdf5_systemF
-export/templates/IEEEtran-TransMag_dvi3_systemF
-export/templates/IEEEtran-TransMag_pdf4_systemF
-export/templates/IEEEtran-TransMag_pdf5_systemF
-export/templates/RJournal_dvi3_systemF
-export/templates/RJournal_pdf4_systemF
-export/templates/RJournal_pdf5_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 Russian LuaTeX TeX font support yet.
-export/examples/ru/splash_dvi3_texF
-export/examples/ru/splash_pdf5_texF
-export/doc/ru/Intro_dvi3_texF
-export/doc/ru/Intro_pdf5_texF
-export/doc/ru/Tutorial_dvi3_texF
-export/doc/ru/Tutorial_pdf5_texF
-#
# There is no Chinese LuaTeX or XeTeX TeX font support yet.
-export/doc/zh_CN/Intro_dvi3_texF
-export/doc/zh_CN/Intro_pdf4_texF
-export/doc/zh_CN/Intro_pdf5_texF
-export/doc/zh_CN/Tutorial_dvi3_texF
-export/doc/zh_CN/Tutorial_pdf4_texF
-export/doc/zh_CN/Tutorial_pdf5_texF
-export/templates/ctex_pdf4_texF
+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)