# 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
-export/.*/es/europeCV_(pdf[45]|dvi3)_.*
+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
-# 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/examples/ja/(lilypond|sweave|knitr)_pdf
#
# 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|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/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/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/.*/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).
# can do to add support for exporting them.
export/doc/hu/Tutorial_dvi3_.*F
export/doc/ja/.*_(pdf[245]|dvi3).*
-export/examples/chess-article_pdf2
-export/examples/chess-article_pdf5_texF
-export/examples/chess-article_pdf5_systemF
-export/examples/chessgame_pdf2
-export/examples/chessgame_pdf5_texF
-export/examples/chessgame_pdf5_systemF
-export/examples/docbook_article_dvi3_texF
-export/examples/docbook_article_dvi3_systemF
-export/examples/docbook_article_pdf2
-export/examples/docbook_article_pdf4_texF
-export/examples/docbook_article_pdf4_systemF
-export/examples/docbook_article_pdf5_texF
-export/examples/docbook_article_pdf5_systemF
-export/examples/instant_preview_dvi3_systemF
-export/examples/instant_preview_pdf2
-export/examples/instant_preview_pdf4_systemF
-export/examples/instant_preview_pdf5_texF
-export/examples/instant_preview_pdf5_systemF
-export/examples/listerrors_pdf2
-export/examples/listerrors_pdf4_texF
-export/examples/listerrors_pdf4_systemF
-export/examples/listerrors_pdf5_texF
-export/examples/listerrors_pdf5_systemF
-export/examples/powerdot-example_pdf2
-export/examples/powerdot-example_pdf5_texF
-export/examples/powerdot-example_pdf5_systemF
+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/tufte-book_dvi
-export/examples/tufte-book_dvi3_texF
-export/examples/tufte-book_dvi3_systemF
-export/examples/tufte-book_pdf
-export/examples/tufte-book_pdf3
-export/examples/tufte-book_pdf4_texF
-export/examples/tufte-book_pdf4_systemF
-export/examples/tufte-handout_dvi
-export/examples/tufte-handout_dvi3_texF
-export/examples/tufte-handout_dvi3_systemF
-export/examples/tufte-handout_pdf
-export/examples/tufte-handout_pdf3
-export/examples/tufte-handout_pdf4_texF
-export/examples/tufte-handout_pdf4_systemF
-export/examples/de/tufte-handout_dvi
-export/examples/de/tufte-handout_dvi3_texF
-export/examples/de/tufte-handout_dvi3_systemF
-export/examples/de/tufte-handout_pdf
-export/examples/de/tufte-handout_pdf3
-export/examples/de/tufte-handout_pdf4_texF
-export/examples/de/tufte-handout_pdf4_systemF
-export/examples/es/tufte-book_dvi
-export/examples/es/tufte-book_dvi3_texF
-export/examples/es/tufte-book_dvi3_systemF
-export/examples/es/tufte-book_pdf
-export/examples/es/tufte-book_pdf3
-export/examples/es/tufte-book_pdf4_texF
-export/examples/es/tufte-book_pdf4_systemF
-export/examples/es/tufte-handout_dvi
-export/examples/es/tufte-handout_dvi3_texF
-export/examples/es/tufte-handout_dvi3_systemF
-export/examples/es/tufte-handout_pdf
-export/examples/es/tufte-handout_pdf3
-export/examples/es/tufte-handout_pdf4_texF
-export/examples/es/tufte-handout_pdf4_systemF
-export/examples/fr/exemple-powerdot_pdf2
-export/examples/fr/exemple-powerdot_pdf5_texF
-export/examples/fr/exemple-powerdot_pdf5_systemF
-export/examples/ja/Braille_dvi3_texF
-export/examples/ja/Braille_dvi3_systemF
-export/examples/ja/Braille_pdf2
-export/examples/ja/Braille_pdf4_texF
-export/examples/ja/Braille_pdf4_systemF
-export/examples/ja/Braille_pdf5_texF
-export/examples/ja/Braille_pdf5_systemF
-export/examples/ja/FeynmanDiagrams_dvi3_texF
-export/examples/ja/FeynmanDiagrams_dvi3_systemF
-export/examples/ja/FeynmanDiagrams_pdf2
-export/examples/ja/FeynmanDiagrams_pdf4_texF
-export/examples/ja/FeynmanDiagrams_pdf4_systemF
-export/examples/ja/FeynmanDiagrams_pdf5_texF
-export/examples/ja/FeynmanDiagrams_pdf5_systemF
-export/examples/ja/MultilingualCaptions_dvi3_texF
-export/examples/ja/MultilingualCaptions_dvi3_systemF
-export/examples/ja/MultilingualCaptions_pdf2
-export/examples/ja/MultilingualCaptions_pdf4_texF
-export/examples/ja/MultilingualCaptions_pdf4_systemF
-export/examples/ja/MultilingualCaptions_pdf5_texF
-export/examples/ja/MultilingualCaptions_pdf5_systemF
-export/examples/ja/R-S-statements_dvi3_texF
-export/examples/ja/R-S-statements_dvi3_systemF
-export/examples/ja/R-S-statements_pdf2
-export/examples/ja/R-S-statements_pdf4_texF
-export/examples/ja/R-S-statements_pdf4_systemF
-export/examples/ja/R-S-statements_pdf5_texF
-export/examples/ja/R-S-statements_pdf5_systemF
-export/examples/ja/beamer_dvi3_texF
-export/examples/ja/beamer_dvi3_systemF
-export/examples/ja/beamer_pdf2
-export/examples/ja/beamer_pdf4_texF
-export/examples/ja/beamer_pdf4_systemF
-export/examples/ja/beamer_pdf5_texF
-export/examples/ja/beamer_pdf5_systemF
-export/examples/ja/knitr_dvi
-export/examples/ja/knitr_dvi3_texF
-export/examples/ja/knitr_dvi3_systemF
-export/examples/ja/knitr_pdf2
-export/examples/ja/knitr_pdf3
-export/examples/ja/knitr_pdf4_texF
-export/examples/ja/knitr_pdf4_systemF
-export/examples/ja/knitr_pdf5_texF
-export/examples/ja/knitr_pdf5_systemF
-export/examples/ja/lilypond_dvi
-export/examples/ja/lilypond_dvi3_texF
-export/examples/ja/lilypond_dvi3_systemF
-export/examples/ja/lilypond_pdf2
-export/examples/ja/lilypond_pdf3
-export/examples/ja/lilypond_pdf4_texF
-export/examples/ja/lilypond_pdf4_systemF
-export/examples/ja/lilypond_pdf5_texF
-export/examples/ja/lilypond_pdf5_systemF
-export/examples/ja/linguistics_dvi3_texF
-export/examples/ja/linguistics_dvi3_systemF
-export/examples/ja/linguistics_pdf2
-export/examples/ja/linguistics_pdf4_texF
-export/examples/ja/linguistics_pdf4_systemF
-export/examples/ja/linguistics_pdf5_texF
-export/examples/ja/linguistics_pdf5_systemF
-export/examples/ja/splash_dvi3_texF
-export/examples/ja/splash_dvi3_systemF
-export/examples/ja/splash_pdf2
-export/examples/ja/splash_pdf4_texF
-export/examples/ja/splash_pdf4_systemF
-export/examples/ja/splash_pdf5_texF
-export/examples/ja/splash_pdf5_systemF
-export/examples/ja/sweave_dvi
-export/examples/ja/sweave_dvi3_texF
-export/examples/ja/sweave_dvi3_systemF
-export/examples/ja/sweave_pdf2
-export/examples/ja/sweave_pdf3
-export/examples/ja/sweave_pdf4_texF
-export/examples/ja/sweave_pdf4_systemF
-export/examples/ja/sweave_pdf5_texF
-export/examples/ja/sweave_pdf5_systemF
-export/examples/ja/xypic_dvi3_texF
-export/examples/ja/xypic_dvi3_systemF
-export/examples/ja/xypic_pdf2
-export/examples/ja/xypic_pdf4_texF
-export/examples/ja/xypic_pdf4_systemF
-export/examples/ja/xypic_pdf5_texF
-export/examples/ja/xypic_pdf5_systemF
-export/examples/ko/splash_dvi
-export/examples/ko/splash_pdf
-export/examples/ko/splash_pdf2
-export/examples/ko/splash_pdf3
-export/templates/DocBook_article_dvi3_texF
-export/templates/DocBook_article_dvi3_systemF
-export/templates/DocBook_article_pdf2
-export/templates/DocBook_article_pdf4_texF
-export/templates/DocBook_article_pdf4_systemF
-export/templates/DocBook_article_pdf5_texF
-export/templates/DocBook_article_pdf5_systemF
-export/templates/JSS-article_dvi
-export/templates/JSS-article_dvi3_texF
-export/templates/JSS-article_dvi3_systemF
-export/templates/JSS-article_pdf
-export/templates/JSS-article_pdf3
-export/templates/attic/latex8_dvi
-export/templates/attic/latex8_dvi3_texF
-export/templates/attic/latex8_dvi3_systemF
-export/templates/ctex_pdf
-export/templates/ctex_pdf2
-export/templates/ctex_pdf3
+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-(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