]> git.lyx.org Git - lyx.git/blob - development/autotests/ignoredTests
Update documentation for Japanese with other languages.
[lyx.git] / development / autotests / ignoredTests
1 # Regular expressions for test combinations known to fail permanently
2 # or to be irrelevant
3 #
4 # Patterns will be automatically enclosed with '^' and '$'.
5 # Combinations matching these patterns will be skipped
6 # by the cmake test configuration.
7
8
9 # ================================================
10 Sublabel: problematic
11 # Documents that cause problems for the test suite
12 # ================================================
13
14 # problems exporting to lyx16x
15 export/examples/Modules/Noweb_lyx16
16 export/examples/Modules/Noweb2LyX_lyx16
17
18 # Tests created for lyx2lyx-tests only
19 !export/export/lyx2lyx/lyx_.*_test_lyx[12][1236]
20 .*/export/lyx2lyx/lyx_.*_test.*
21
22 # Ignore MergedManuals_xhtml because the test is very time-consuming
23 # and the underlying subdocuments are already tested
24 # Ignore MergedManuals_lyx2[2-9] too
25 # due to following xhtml export of converted file
26 export/doc/(ja/|)MergedManuals_(xhtml|lyx2[2-9])
27
28 # Legacy encoding cp858 only supported by some iconv variants.
29 # (Gnu iconv only supports it, if configured with "--enable-extra-encodings"
30 #  see https://www.gnu.org/software/libiconv/)
31 export/export/latex/inputenc-cp858_pdf2
32
33
34 # ===========================================
35 Sublabel: special
36 # Documents that do not work with all exports
37 # ===========================================
38
39 # Only PDFLaTeX
40 ###############
41 # Inside these two files, we state that they should only be expected
42 # to work with pdflatex and possibly lualatex.
43 export/examples/Modules/PDF_Form_(dvi.*|pdf[^25]*)
44 export/examples/(|de/|fr/)Modules/PDF_Comments_dvi3_.*F
45 export/examples/(|de/|fr/)Modules/PDF_Comments_pdf5_texF
46
47 # jss.cls (not on CTAN)
48 # "All documents need to be processed by pdflatex" [jss.pdf]
49 export/templates/Articles/Journal_of_Statistical_Software_.*(dvi|dvi3_.*|pdf3?)
50
51 # No dvipdf[m]
52 ##############
53 # Beamer does not work with dvipdf[m] (wrong output or compilation errors).
54 # See `texdoc beamer`.
55 # TODO: Should the export do PDF (dvipdfm) be made unavailable for Beamer or
56 # just a warning be given in the example or documentation?
57 export/.*/(|de/|es/|fr/|ja/).*Beamer.*pdf3
58
59 # Only Postscript (and ps2pdf)
60 #################
61 # Document uses Postscript specials
62 # Does not compile with pdflatex or non-TeX fonts (see note in the document source).
63 export/examples/Graphics_and_Insets/Instant_Preview_pdf[25].*
64 export/examples/Graphics_and_Insets/Instant_Preview_(dvi3|pdf4)_systemF
65
66 export/examples/Articles/Chess/Game_2_pdf[25].*
67 export/examples/(|fr/)Presentations/Powerdot_pdf[25].*
68 export/examples/Modules/Chessboard_(lyx(16|20|21|22|23)|(pdf3|pdf5|dvi3)_texF)
69
70 # XeTeX with TeX fonts
71 ######################
72 # XeTeX with TeX-fonts works only for input encodings "UTF-8" and "ASCII".
73 # Ignore documents with other inputencoding values:
74 export/export/latex/languages/supported-languages_babel_auto-legacy_pdf4_texF
75 export/examples/fr/Example_%28raw%29_pdf4_texF
76
77 # pLaTeX
78 ########
79 # ignore with pdflatex and Xe/LuaTeX with 8-bit fonts:
80 #
81 export/export/latex/.*platex.*(pdf2|texF)
82 export/export/latex/languages/ja[-_].*_(pdf2|texF)
83 #
84 # Most Japanese documents use language "japanese" wich is tied to "platex"
85 # (automatically invoked instead of "latex" to create a DVI file).
86 # For a discussion of alternatives for Japanese with LaTeX , see also
87 # https://tex.stackexchange.com/questions/320021/xelatex-using-japanese-ldf-for-babel-causes-invalid-characters-errors
88 #
89 # Exceptions: 
90 # The "!" means: "Protect these tests from being matched by future patterns in this file".
91 # Export by plain- and pdflatex engines works with language "japanese-cjk", e.g.
92 !export/examples/ja/Multilingual_Typesetting_with_CJK_(dvi|pdf[23]?)
93 !export/examples/ja/Multilingual_Typesetting_with_CJK_.*systemF
94 # the rest:
95 export/.*/ja/.*_(pdf2|texF)
96
97 # Japanese knitr.lyx and sweave.lyx support only XeLaTeX with system fonts
98 # because they use the "bxjsarticle" class and non-TeX fonts
99 !export/examples/ja/Modules/Rnw.*knitr.*_(lyx.*|xhtml|pdf4_systemF)
100 export/examples/ja/Modules/Rnw.*knitr.*
101 !export/examples/ja/Modules/Sweave.*_(lyx.*|xhtml|pdf4_systemF)
102 export/examples/ja/Modules/Sweave.*
103
104
105 # CJK fails (sometimes) with Xe/LuaTeX and 8-bit fonts:
106 #####
107 export/examples/ja/Multilingual_Typesetting_.*CJK.(dvi3|pdf5)_texF
108 export/.*/zh_CN/.*(dvi3|pdf[45])_texF
109 export/export/latex/CJK/zh_CN-toc_*.(dvi3|pdf[45])_texF
110
111
112 # export of minted documents to 2.2.x is not guaranteed to work (and currently
113 # fails for our two minted example files), as explained here:
114 # https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE
115 export/examples/Insets/Minted.*lyx22
116
117 # Subdocuments that are not expected to work as stand-alone documents:
118 ##############
119 export/mathmacros/Spacechild[123].*
120 # chapters of Springer books (svmono, svmult) (except 00_Main_File)
121 export/templates/Books/Springer_.*/(0[^0]|1.)_.*
122 check_load/templates/Books/Springer_.*/(0[^0]|1.)_.*
123 export/templates/Theses/PhD_Thesis/(Acknowledgments|Appendix|Summary|Bibliography|Chapter_[12])_lyx.*
124 # Used only as include file for some tests
125 .*/export/IncludeMissingEndTagDiv.*
126
127 # Bibliography.lyx is not expected to compile. See the following for discussion:
128 #   https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
129 # Ignore all formats except xhtml export
130 export/templates/Theses/PhD_Thesis/Bibliography_[^x].*
131
132 # "Docbook article (SGML)" document class does not work with LaTeX
133 ##########################
134 export/examples/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
135 export/templates/Articles/DocBook_Article_.*(dvi3|pdf[245]).*
136
137 # `acmart` and `copernicus` are not supported by LyX < 2.3
138 export/templates/Articles/Association_for_Computing_Machinery.*_lyx(16|20|21|22)
139 export/templates/Articles/Copernicus_Publications_.*_lyx(16|20|21|22)
140 # Seems, like only latex and pdflatex compilations work
141 #! Missing number, treated as zero.
142 # in copernicus.cls:199
143 # \ifnum\pdfoutput=\z@
144 export/templates/Articles/Copernicus_.*(dvi3|pdf4|pdf5)_(texF|systemF)
145
146
147
148 # ============================================================
149 Sublabel: obsolete
150 # Documents relying on no longer available packages or classes
151 # ============================================================
152
153 # aastex6.cls is obsoleted by aastex62.cls
154 export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.*
155 check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29
156 export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.*
157 check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29
158 # Version 6.2 is not supported in LyX 1.6
159 export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
160 export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16
161
162 # latex8.sty is obsoleted by IEEEconf
163 export/templates/Obsolete/Latex8_Article.*(dvi|pdf|lyx2[23]).*
164
165 # ==============================================================
166 Sublabel: irrelevant
167 # Dedicated test samples that don't need testing in all variants
168 # ==============================================================
169
170 # LaTeX
171 # don't check loading, lyx2lyx, or export to other LyX versions or HTML
172 check_load/export/latex/.*
173 lyx2lyx/export/latex/.*
174 export/export/latex/.*(lyx..|xhtml)
175
176 # don't test with non-TeX fonts:
177 export/export/latex/languages/supported-languages_babel_(pdf|dvi)._systemF
178 export/export/latex/languages/supported-languages_babel_auto-legacy_.*_systemF
179
180 # don't test with TeX fonts:
181 export/export/latex/languages/supported-languages_babel_non-tex_.*(dvi|pdf.?|texF)
182 export/export/latex/languages/supported-languages_polyglossia_.*(dvi|pdf.?|texF)
183
184 # HTML
185 # don't check loading, lyx2lyx, or export to other LyX versions or DVI/PDF
186 check_load/export/xhtml/.*
187 lyx2lyx/export/xhtml/.*
188 export/export/xhtml/.*(lyx..|dvi.*|pdf.*)