2016-09-10 08:40:40 +00:00
|
|
|
# Regular expressions for test combinations known to fail permanently
|
2019-04-03 06:36:46 +00:00
|
|
|
# or to be irrelevant
|
2013-08-25 16:18:19 +00:00
|
|
|
#
|
2015-12-18 17:08:52 +00:00
|
|
|
# Patterns will be automatically enclosed with '^' and '$'.
|
|
|
|
# Combinations matching these patterns will be skipped
|
|
|
|
# by the cmake test configuration.
|
|
|
|
|
|
|
|
|
2016-09-26 20:57:41 +00:00
|
|
|
# ================================================
|
|
|
|
Sublabel: problematic
|
|
|
|
# Documents that cause problems for the test suite
|
|
|
|
# ================================================
|
|
|
|
|
|
|
|
# problems exporting to lyx16x
|
2019-03-21 16:41:14 +00:00
|
|
|
export/examples/Modules/Noweb_lyx16
|
|
|
|
export/examples/Modules/Noweb2LyX_lyx16
|
2016-09-26 20:57:41 +00:00
|
|
|
|
2018-01-24 19:56:21 +00:00
|
|
|
# Tests created for lyx2lyx-tests only
|
|
|
|
!export/export/lyx2lyx/lyx_.*_test_lyx[12][1236]
|
|
|
|
.*/export/lyx2lyx/lyx_.*_test.*
|
|
|
|
|
2016-09-26 20:57:41 +00:00
|
|
|
# Ignore MergedManuals_xhtml because the test is very time-consuming
|
|
|
|
# and the underlying subdocuments are already tested
|
2019-02-12 08:34:34 +00:00
|
|
|
# Ignore MergedManuals_lyx2[2-9] too
|
|
|
|
# due to following xhtml export of converted file
|
|
|
|
export/doc/(ja/|)MergedManuals_(xhtml|lyx2[2-9])
|
|
|
|
|
2016-09-26 20:57:41 +00:00
|
|
|
|
|
|
|
# ===========================================
|
|
|
|
Sublabel: special
|
|
|
|
# Documents that do not work with all exports
|
|
|
|
# ===========================================
|
|
|
|
|
2019-04-12 16:06:43 +00:00
|
|
|
# Only PDFLaTeX
|
|
|
|
###############
|
2016-09-26 20:57:41 +00:00
|
|
|
# Inside these two files, we state that they should only be expected
|
|
|
|
# to work with pdflatex and possibly lualatex.
|
2019-03-21 16:41:14 +00:00
|
|
|
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
|
2016-09-26 20:57:41 +00:00
|
|
|
|
2019-04-11 11:37:39 +00:00
|
|
|
# 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?)
|
|
|
|
|
2019-04-12 16:06:43 +00:00
|
|
|
# No dvipdf[m]
|
|
|
|
##############
|
|
|
|
# Beamer does not work with dvipdf[m] (wrong output or compilation errors).
|
2019-04-11 11:37:39 +00:00
|
|
|
# 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
|
2019-01-10 21:37:03 +00:00
|
|
|
|
2019-04-12 16:06:43 +00:00
|
|
|
# Only Postscript (and ps2pdf)
|
|
|
|
#################
|
2016-09-26 20:57:41 +00:00
|
|
|
# Document uses Postscript specials
|
2019-03-21 16:41:14 +00:00
|
|
|
# Does not compile with pdflatex or non-TeX fonts (see note in the document source).
|
2019-03-22 22:57:29 +00:00
|
|
|
export/examples/Graphics_and_Insets/Instant_Preview_pdf[25].*
|
|
|
|
export/examples/Graphics_and_Insets/Instant_Preview_(dvi3|pdf4)_systemF
|
2019-03-21 16:41:14 +00:00
|
|
|
|
2019-03-23 09:05:18 +00:00
|
|
|
export/examples/Articles/Chess/Game_2_pdf[25].*
|
2019-03-21 16:41:14 +00:00
|
|
|
export/examples/(|fr/)Presentations/Powerdot_pdf[25].*
|
|
|
|
export/examples/Modules/Chessboard_(lyx(16|20|21|22|23)|(pdf3|pdf5|dvi3)_texF)
|
|
|
|
|
2019-04-12 16:06:43 +00:00
|
|
|
# XeTeX with TeX fonts
|
|
|
|
######################
|
2019-04-11 11:37:39 +00:00
|
|
|
# XeTeX with TeX-fonts works only for input encodings "utf8" and "ascii".
|
2019-04-29 18:55:48 +00:00
|
|
|
# Generally, documentation and templates use "auto-legacy" 8-bit encodings.
|
2019-04-11 11:37:39 +00:00
|
|
|
# 1. Exceptions to the following pattern (test cases with the right encoding):
|
2019-04-12 16:06:43 +00:00
|
|
|
!export/examples/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|ru|sk|sl|sr|sv|uk|zh_CN)/Welcome_pdf4_texF
|
|
|
|
# encoding right but packages clash:
|
|
|
|
#!export/examples/ja/Multilingual_Typesetting_.*CJK.*_pdf4_texF
|
2019-04-11 11:37:39 +00:00
|
|
|
# 2. Catchall patterns to ignore the other tests:
|
2019-04-29 18:55:48 +00:00
|
|
|
export/(doc|examples|templates)/.*_pdf4_texF
|
|
|
|
export/(doc|examples|templates)/(|ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ja|ko|nb|nl|pl|pt|pt_BR|pt_PT|ro|sk|sl|sr|sv|uk|zh_CN)/.*pdf4_texF
|
|
|
|
# dedicated tests with inputencoding "auto-legacy":
|
2019-05-03 12:04:11 +00:00
|
|
|
export/export/latex/languages/supported-languages_babel_auto-legacy_pdf4_texF
|
2016-09-02 15:25:35 +00:00
|
|
|
|
2019-04-29 18:55:48 +00:00
|
|
|
# CJK fails (sometimes) with Xe/LuaTeX and 8-bit fonts:
|
2019-04-12 08:03:44 +00:00
|
|
|
export/examples/ja/Multilingual_Typesetting_.*CJK.(dvi3|pdf5)_texF
|
2019-04-29 18:55:48 +00:00
|
|
|
export/.*/zh_CN/.*(dvi3|pdf[45])_texF
|
|
|
|
export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf[45])_texF
|
|
|
|
|
|
|
|
|
2015-12-18 17:08:52 +00:00
|
|
|
|
2019-04-12 16:06:43 +00:00
|
|
|
# pLaTeX
|
|
|
|
########
|
|
|
|
# ignore with pdflatex and Xe/LuaTeX with 8-bit fonts:
|
2019-03-24 22:07:03 +00:00
|
|
|
#
|
2019-04-12 16:06:43 +00:00
|
|
|
export/export/latex/.*platex.*(pdf2|texF)
|
2019-04-29 18:55:48 +00:00
|
|
|
export/export/latex/languages/ja[-_].*_(pdf2|texF)
|
2019-04-12 16:06:43 +00:00
|
|
|
#
|
|
|
|
# Most Japanese documents use language "japanese" wich is tied to "platex"
|
2019-04-02 14:38:52 +00:00
|
|
|
# (automatically invoked instead of "latex" to create a DVI file).
|
2019-04-12 16:06:43 +00:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# Exceptions:
|
|
|
|
# The "!" means: "Protect these tests from being matched by future patterns in this file".
|
2019-04-11 16:19:44 +00:00
|
|
|
# Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
|
2019-04-12 08:03:44 +00:00
|
|
|
!export/examples/ja/Multilingual_Typesetting_.*CJK.*(dvi|pdf[23]?)
|
|
|
|
!export/examples/ja/Multilingual_Typesetting_.*CJK.*systemF
|
2019-04-12 16:06:43 +00:00
|
|
|
# the rest:
|
2019-04-12 08:03:44 +00:00
|
|
|
export/.*/ja/.*_(pdf2|texF)
|
2019-04-12 16:06:43 +00:00
|
|
|
|
|
|
|
# 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.*
|
2019-04-12 08:03:44 +00:00
|
|
|
|
2015-12-21 10:52:00 +00:00
|
|
|
|
2019-01-13 18:04:26 +00:00
|
|
|
# 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
|
2019-03-21 16:41:14 +00:00
|
|
|
export/examples/Insets/Minted.*lyx22
|
2019-01-13 18:04:26 +00:00
|
|
|
|
2019-01-10 21:37:03 +00:00
|
|
|
# Subdocuments that are not expected to work as stand-alone documents:
|
2015-12-21 10:52:00 +00:00
|
|
|
export/mathmacros/Spacechild[123].*
|
2019-03-21 16:41:14 +00:00
|
|
|
# chapters of Springer books (svmono, svmult) (except 00_Main_File)
|
2019-03-25 18:32:59 +00:00
|
|
|
export/templates/Books/Springer_.*/(0[^0]|1.)_.*
|
2019-03-29 10:55:20 +00:00
|
|
|
check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
|
|
|
|
export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*
|
2019-01-10 21:37:03 +00:00
|
|
|
# Used only as include file for some tests
|
|
|
|
.*/export/IncludeMissingEndTagDiv.*
|
|
|
|
|
2019-01-06 07:19:06 +00:00
|
|
|
# Bibliography.lyx is not expected to compile. See the following for discussion:
|
|
|
|
# https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
|
|
|
|
# Ignore all formats except xhtml export
|
2019-03-25 18:32:59 +00:00
|
|
|
export/templates/Theses/PhD_Thesis/Bibliography_[^x].*
|
2015-12-28 07:16:49 +00:00
|
|
|
|
2015-12-30 13:49:52 +00:00
|
|
|
# Document class "Docbook article (SGML)" does not work with LaTeX:
|
2019-03-24 21:20:09 +00:00
|
|
|
export/examples/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
|
|
|
|
export/templates/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
|
2016-05-30 07:50:22 +00:00
|
|
|
|
2019-01-10 21:37:03 +00:00
|
|
|
# `acmart` and `copernicus` are not supported by LyX < 2.3
|
2019-03-29 10:55:20 +00:00
|
|
|
export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22)
|
2019-03-21 16:41:14 +00:00
|
|
|
export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22)
|
2019-04-11 11:37:39 +00:00
|
|
|
# Seems, like only latex and pdflatex compilations work
|
|
|
|
#! Missing number, treated as zero.
|
|
|
|
# in copernicus.cls:199
|
|
|
|
# \ifnum\pdfoutput=\z@
|
|
|
|
export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF)
|
|
|
|
|
2016-09-26 20:57:41 +00:00
|
|
|
|
2019-01-08 22:05:55 +00:00
|
|
|
|
2016-09-26 20:57:41 +00:00
|
|
|
# ============================================================
|
|
|
|
Sublabel: obsolete
|
|
|
|
# Documents relying on no longer available packages or classes
|
|
|
|
# ============================================================
|
|
|
|
|
2019-03-28 12:28:37 +00:00
|
|
|
# aastex6.cls is obsoleted by aastex62.cls
|
|
|
|
export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.*
|
|
|
|
check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29
|
|
|
|
export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.*
|
|
|
|
check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29
|
2019-04-11 11:37:39 +00:00
|
|
|
# Version 6.2 is not supported in LyX 1.6
|
2019-03-21 16:41:14 +00:00
|
|
|
export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
|
|
|
|
export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
|
2016-09-26 20:57:41 +00:00
|
|
|
|
2019-03-28 12:28:37 +00:00
|
|
|
# latex8.sty is obsoleted by IEEEconf
|
2019-04-07 05:59:46 +00:00
|
|
|
export/templates/Obsolete/Latex8_Article.*(dvi|pdf|lyx2[23]).*
|
2016-09-26 20:57:41 +00:00
|
|
|
|
|
|
|
# ==============================================================
|
|
|
|
Sublabel: irrelevant
|
|
|
|
# Dedicated test samples that don't need testing in all variants
|
|
|
|
# ==============================================================
|
2016-09-10 08:40:40 +00:00
|
|
|
|
2019-04-29 18:55:48 +00:00
|
|
|
# LaTeX
|
2019-03-28 12:28:37 +00:00
|
|
|
# don't check loading, lyx2lyx, or export to other LyX versions or HTML
|
2016-09-15 15:17:34 +00:00
|
|
|
check_load/export/latex/.*
|
|
|
|
lyx2lyx/export/latex/.*
|
2019-03-28 12:28:37 +00:00
|
|
|
export/export/latex/.*(lyx..|xhtml)
|
2019-04-10 19:02:10 +00:00
|
|
|
|
|
|
|
# don't test with non-TeX fonts:
|
2019-05-03 12:04:11 +00:00
|
|
|
export/export/latex/languages/supported-languages_babel_(pdf|dvi)._systemF
|
|
|
|
export/export/latex/languages/supported-languages_babel_auto-legacy_.*_systemF
|
|
|
|
|
|
|
|
# don't test with TeX fonts:
|
|
|
|
export/export/latex/languages/supported-languages_babel_non-tex_.*(dvi|pdf.?|texF)
|
2019-05-08 10:07:20 +00:00
|
|
|
export/export/latex/languages/supported-languages_polyglossia_.*(dvi|pdf.?|texF)
|
2019-04-29 18:55:48 +00:00
|
|
|
|
|
|
|
# HTML
|
|
|
|
# don't check loading, lyx2lyx, or export to other LyX versions or DVI/PDF
|
|
|
|
check_load/export/xhtml/.*
|
|
|
|
lyx2lyx/export/xhtml/.*
|
|
|
|
export/export/xhtml/.*(lyx..|dvi.*|pdf.*)
|