# Hebrew docs do not currently work with LuaTeX
-export/.*/he/.*(pdf5|dvi3)_.*
+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/.*/id/.*(pdf5|dvi3)_.*
+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/.*/hu/.*(pdf5|dvi3)_.*
+export/.*/hu/.*(dvi3)_.*
+export/.*/hu/.*(pdf5)_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
-# TODO If David Carlisle takes over ownership, report these to him.
-export/.*/es/europeCV_(pdf[5]|dvi3)_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|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
#
# 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|dvi3)_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/(|de/|es/|fr/)Customization_pdf4_systemF
-export/doc/(|de/|es/|fr/)Math_(dvi3|pdf4)_systemF
-export/doc/attic/(eu|pl)_Additional_pdf4_systemF
-export/doc/(de|es|fr)/EmbeddedObjects_pdf4_systemF
-export/doc/(de|es|fr|id)/UserGuide_pdf4_systemF
-export/doc/attic/eu_UserGuide_pdf4_systemF
+export/doc/(de/|es/|fr/)Customization_pdf4_systemF
+export/doc/(es/|fr/)Math_dvi3_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|sv)/Intro_pdf4_systemF
-export/doc/ru/Intro_pdf4_texF
-export/examples/(MultilingualCaptions|aas_sample|simplecv)_pdf4_systemF
-export/examples/de/Lebenslauf_pdf4_systemF
-export/examples/es/ejemplo_con_lyx_pdf5_systemF
-export/examples/eu/adibide_lyx-atua_(dvi3|pdf5)_systemF
-export/examples/fr/(Foils|ListesPuces|seminar|simplecv)_pdf4_systemF
-export/examples/gl/exemplo_lyxificado_(dvi3|pdf5)_systemF
-export/examples/sr/Braille_pdf4_systemF
-export/examples/sr/splash_pdf4_systemF
+export/doc/(nb|sk)/Intro_pdf4_systemF
+export/examples/eu/adibide_lyx-atua_(dvi3)_systemF
+export/examples/fr/(Foils|ListesPuces|seminar)_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/.*/ru/(splash|Intro|Tutorial)_(pdf5|dvi3)_texF
-#
# There is no Chinese LuaTeX or XeTeX TeX font support yet.
export/.*/zh_CN/.*(pdf[45]|dvi3)_texF
-export/templates/ctex_pdf4_texF
#
# These started failing after we implemented tests for formats
# that are in the complement set to the default format (7ecbb068).
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
-# David Carlisle might fix the europeCV package.
-export/examples/Foils_dvi3_systemF
-export/examples/Foils_pdf4_systemF
-export/examples/Foils_pdf5_systemF
-export/examples/fr/Foils_dvi3_systemF
-export/examples/fr/Foils_pdf5_systemF
-export/examples/aa_sample_dvi3_texF
-export/examples/aa_sample_dvi3_systemF
-export/examples/aa_sample_pdf4_texF
-export/examples/aa_sample_pdf4_systemF
-export/examples/aa_sample_pdf5_texF
-export/examples/aa_sample_pdf5_systemF
-export/examples/europeCV_dvi3_texF
-export/examples/europeCV_pdf5_texF
-export/templates/aa_dvi3_texF
-export/templates/aa_dvi3_systemF
-export/templates/aa_pdf4_texF
-export/templates/aa_pdf4_systemF
-export/templates/aa_pdf5_texF
-export/templates/aa_pdf5_systemF
+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_pdf4_texF
-export/doc/he/Tutorial_pdf4_texF
-export/examples/he/example_lyxified_pdf4_texF
-export/examples/he/example_raw_pdf4_texF
-export/examples/he/splash_pdf4_texF
+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-(form)_(dvi.*|pdf[^25]*)
+export/examples/PDF-comment_dvi3_.*F
+#
+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.*systemF