]> git.lyx.org Git - lyx.git/blob - development/autotests/invertedTests
e4b79fbd41c273a4bf419c89ccf1d1fce22600cd
[lyx.git] / development / autotests / invertedTests
1 # Regular expressions for tests that are known to fail
2 #
3 # Patterns will be automatically enclosed with '^' and '$'.
4 # Matching tests get the label "inverted"
5 # or (if also matching a pattern in "suspendedTests") "suspended".
6 # They get also the test-property 'WILL_FAIL', i.e.
7 # they are reported as failing if the export works without error.
8 # https://cmake.org/cmake/help/v3.0/prop_test/WILL_FAIL.html
9
10 # ======================================================================
11 Sublabel: todo
12 # LyX bugs and problems with the sample documents that require attention
13 # ======================================================================
14 # * minor issues to explore and properly sort,
15 # * easyfix issues,
16 # * LyX bugs to report at trac (move pattern to section "lyxbugs" once done).
17
18 # Error in Japanese document if LyX-logo is preceded by foreign language
19 export/export/latex/ja_wrong_auto_encoding_(dvi|pdf(|3)).*
20
21 # Missing characters with Unicode fonts
22 # (the "hidden" replacement with FreeSerif does not help and results in bad
23 # typography for mathematical content):
24 # For details see the file "systemfonts-Math-missingchars.lyx"
25 export/doc/(|de/|es/|fr/)Math.*systemF
26 export/export/latex/systemfonts-Math-missingchars.*systemF
27
28 # missing character: There is no ^^A in font [lmroman12-regular]
29 # and all the line down to ^^Z and beyond...
30 # XeTeX artifact? works with LuaTeX, explore:
31 export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF
32
33 # Changes in TeX Live 2014 (see git blame for info) fixed
34 # IEEEtran-CompSoc_pdf4_systemF but not others.
35 # TODO Investigate if others can be fixed?
36 # * IEEEtran-Journal_pdf4_systemF compiles here (GM)
37 # * All IEEEtran-TransMag.* exports fail here:
38 #   missing commands \IEEEtitleabstractindextext, \IEEEdisplaynontitleabstractindextext
39 #   -> adapt template and style (GM)
40 export/templates/IEEEtran-(Journal|TransMag)_pdf4_systemF
41
42 # Example for lib/scripts/listerrors
43 # Requires noweb. Seems to be restricted to plain "latex".
44 # Find out why and whether the script could be improved.
45 export/examples/listerrors_(pdf[245]).*
46
47 # iconv fails, if a nomenclature inset contains an uncodable character
48 export/export/latex/iconv-error-nomenclature_pdf2
49
50 # `acmart` document class:
51 # (see also lyxbugs below and ignoredTests)
52 # issues with listsof, reported to the maintainer
53 # https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
54 # LyX gives the following terminal message:
55 #
56 #    TextClass.cpp (1385): The layout does not provide a list command for
57 #      the float `sidebar'. LyX will not be able to produce a float list.
58 #
59 check_load/templates/acmart
60
61
62 # input encoding tests
63 # --------------------
64 # Please test and correct!
65
66 # Failing for unknown reason
67 # Hebrew
68 export/export/latex/unicodesymbols/001-4-latin_cp1255_pdf2
69 export/export/latex/unicodesymbols/001-4-latin_cp862_pdf2
70 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp862_pdf2
71 export/export/latex/unicodesymbols/008-greek-and-coptic_cp862_pdf2
72 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1255_pdf2
73 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp862_pdf2
74 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_iso8859-8_pdf2
75 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp862_pdf2
76 # Arabic:
77 export/export/latex/unicodesymbols/001-4-latin_cp1256_pdf2
78 export/export/latex/unicodesymbols/001-4-latin_iso8859-6_pdf2
79 export/export/latex/unicodesymbols/005-7-ipa-modifiers-combining_cp1256_pdf2
80 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp1256_pdf2
81 export/export/latex/unicodesymbols/008-greek-and-coptic_cp1256_pdf2
82 export/export/latex/unicodesymbols/069-greek-extended-textalpha_cp1256_pdf2
83 export/export/latex/unicodesymbols/069-greek-extended_cp1256_pdf2
84 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1256_pdf2
85 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp1256_pdf2
86
87 # CJK:
88 export/export/latex/unicodesymbols/.*_euc-cn_pdf2
89 export/export/latex/unicodesymbols/.*_gbk_pdf2
90 export/export/latex/unicodesymbols/.*_jis_pdf2
91 export/export/latex/unicodesymbols/.*_euc-kr_pdf2
92 export/export/latex/unicodesymbols/.*_euc-tw_pdf2
93 export/export/latex/unicodesymbols/.*_euc-jp_pdf2
94 # pLaTeX
95 export/export/latex/unicodesymbols/.*_euc-jp-platex_pdf2
96 export/export/latex/unicodesymbols/.*_jis-platex_pdf2
97 export/export/latex/unicodesymbols/.*_shift-jis-platex_pdf2
98 export/export/latex/unicodesymbols/.*_utf8-platex_pdf2
99
100 # Arabic
101 # If we want to try to get it to work with pdfTeX:
102 # - set all non-Arab text parts to a different language (e.g. English)
103 # - define alternatives for hyperref (e.g. with textorpdfstring)
104 #     for correct handling of hyperref.
105 # see discussion here:
106 # https://www.mail-archive.com/search?l=mid&q=20161114035123.s5lt4ib4x4obtptp%40steph
107 export/doc/ar/(Intro|Shortcuts|Tutorial|UserGuide)_pdf4_texF
108 # This simple example doc is meant to test Arabic export of pdf2
109 export/export/latex/arabic_simple_(dvi3|pdf5)_(texF|systemF)
110 export/export/latex/arabic_simple_pdf4_texF
111 # See note about "Missing ␣" in file "ignoreLatexErrorsTests".
112 export/doc/ar/UserGuide_lyx(22|23)
113
114
115 # Polyglossia + LuaTeX does not support Farsi yet. See:
116 #     https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
117 # Why does farsi fail with Babel?
118 export/examples/fa/splash_(dvi|pdf).*
119
120 # nonstandard tests failing for unknown reason:
121 export/examples/aa_sample_(dvi3|pdf[45])_.*
122 export/templates/obsolete/ACM-siggraph_pdf5_(texF|systemF)
123 export/templates/IUCr-article_pdf4_systemF
124 export/templates/RJournal_(dvi3|pdf[45])_systemF
125 export/templates/aa_(dvi3|pdf[45])_.*
126 export/templates/kluwer_.*_systemF
127
128 # lyx2lyx tests:
129 # back-conversion fails for rotated float inset in a list
130 export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22)
131
132 # ================================================
133 Sublabel: lyxbugs
134 # LyX bugs with a Trac number.
135 # ================================================
136
137 #10355 xmllint detects failures
138 export/doc/attic/eu_UserGuide_xhtml
139 export/doc/(es|ja)/UserGuide_xhtml
140 export/examples/spreadsheet_xhtml
141 export/export/WrongDfnTagHandling_xhtml
142
143 #10371 Compilation error if longest label marker in labeling style
144 # contains underscores etc.
145 export/export/latex/LongestLabelWithUnderscore.*
146
147 #9871 LyX sends invalid Unicode to iconv when converting to ASCII
148 # most probably due to BabelPreamble code (language specific headings for
149 # theorems, problems , ... are written in the language's default encoding
150 # if they contain non-ASCII characters)
151 # Error 84 returned from iconv when converting from UCS-4LE to ascii:
152 # Invalid or incomplete multibyte or wide character
153 export/doc/(es|fr)/Additional_pdf4_texF
154 export/doc/(de|es|fr)/EmbeddedObjects_pdf4_texF
155 export/doc/es/Customization_pdf4_texF
156 # see also the discussion at:
157 # https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph
158 export/examples/es/linguistics_pdf4_texF
159
160 #6463 font encoding changes and combining accents
161 # problem remains for Cyrillic in a non-Cyrillic-using language
162 export/export/latex/cyrillic-accent-ascii_pdf2
163
164 #11454 luainputenc must be loaded after textcomp
165 export/export/latex/luainputenc-utf8_pdf5_texF
166 # (The version with Unicode fonts fails because some symbols are missing
167 # in LatinModern as well as DejaVu. This shows that there are use cases
168 # for traditional 8-bit fonts.)
169 export/export/latex/luainputenc-utf8_pdf5_systemF
170
171 #11455 "Unable to process argument!" with multiple 1.6.x roundtrips
172 export/templates/IEEEtran-Journal_lyx16
173
174 # ==============================================================
175 Sublabel: ert
176 # Export failures due to "raw" LaTeX use in ERT or preamble code
177 # ==============================================================
178 #
179 # "Wontfix" if demonstrating correct use and OK in the default output format.
180
181 # Non-ASCII in ERT, fails with inputenc==ASCII (e.g. XeTeX with tex-fonts)
182 #   Could not find LaTeX command for character 'í' (code point 0xed)
183 export/doc/(de|es)/Additional_pdf4_texF
184
185
186 # ================================================
187 Sublabel: texissues
188 # Export fails due to LaTeX limitations,
189 # ================================================
190 #
191 # e.g. non-ASCII in verbatim or listings, incompatible packages, ...
192 # "Wontfix" if documents demonstrate correct use in the default output format.
193
194 # Non-ASCII char in verbatim environment.
195 # Fails with ASCII (and hence also with XeTeX).
196 export/doc/(|de/|es/|fr/)UserGuide_pdf4_texF
197
198 # Hebrew docs do not currently work with LuaTeX (will be fixed in TeXLive-16)
199 # TODO: set working system fonts in the lyx sources
200 export/.*/he/.*(dvi3|pdf5).*
201
202 # ... nor with XeTeX and 8-bit TeX fonts (due to missing ASCII replacements)
203 export/.*/he/.*pdf4_texF
204
205 # Babel-Russian uses UTF-8 for auto-strings if it detects Xe/LuaTeX.
206 # This fails unless the inputencoding is set to utf-8, too.
207 export/doc/ru/(Intro|Tutorial)_(dvi3|pdf[45])_texF
208 export/examples/ru/(example_lyxified|splash)_(dvi3|pdf[45])_texF
209
210 # Babel-Spanish uses  UTF-8 for auto-strings if it detects Xe/LuaTeX.
211 # This leads to wrong output (see unreliableTests) and fails in some cases
212 # unless the inputencoding is set to utf-8, too.
213 # ! Undefined control sequence.
214 # <argument> ...art {link}{\Hy@tocdestname }{\nonumberline Ã\8d
215 #                                                   ndice alfabético}\hyper...
216 export/doc/es/(UserGuide|Math|EmbeddedObjects)_(dvi3|pdf5)_texF
217
218 # Gives the following error:
219 # # ! Package hpstatement Error: H or P statement "H251"
220 # # (hpstatement)                is not defined.
221 # seems to be polyglossia-related (dvi3 worked with babel)
222 export/examples/H-P-statements_.*_systemF
223
224 # These files use packages that are not compatible with the newest LuaTeX. We
225 # could potentially fix these by loading the luatex85 package early in the
226 # LyX-generated preamble, but it seems it's better to wait until the packages
227 # fix the root issue themselves.
228 # xy package:
229 .*(|fr/)xy(pic|figure).*pdf5.*
230
231 # Problem with Check and Slovak Babel support.
232 # (reported per mail to Petr Tesa\v{r}\'ik, 2016-09-06)
233 # All exports using babel fail.
234 # Without the Czech or Slovak text it compiles
235 # No problem with inserted German (or other foreign language) text
236 # No problem if the table is Slovak, too
237 export/export/latex/TableErrorIfSlovakTextInserted_(dvi|pdf[23]?|.*_texF)
238
239 # Polyglossia + LuaTeX issue
240 # Reported upstream here:
241 # https://github.com/reutenauer/polyglossia/issues/163
242 # These tests were broken at 3374b854
243 # See discussion here:
244 # https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org
245 export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF
246
247 # fontspec errors with `slides` class:
248 # LaTeX error: "kernel/command-already-defined"
249 # Lines 2684 ... 2690 in fontspec-xetex.sty
250 # Lines 2608 ... 2614 in fontspec-luatex.sty
251 export/templates/slides_.*_systemF
252
253 # Beamer: conflicts with some combinations of packages/settings/languages
254 export/templates/ja_beamer-conference-ornate-20min_(pdf2|pdf[45]).*
255 export/templates/es_beamer-conference-ornate-20min_pdf4_texF
256
257 # Arabic only works with XeTeX + system fonts (pdf4_systemF)
258 export/examples/ar/splash_(dvi.*|pdf|pdf[^4].*)
259 export/examples/ar/splash_pdf4_texF
260
261
262 # ================================================
263 Sublabel: externalissues
264 # Export fails due to non-LaTeX external tool,
265 # ================================================
266 #
267 # e.g. a bug or missing feature in ps2pdf
268
269 # ps2pdf gives the following and exits with error:
270 # Error: /invalidfileaccess in --file--
271 # ps2pdf succeeds if the -dNOSAFER flag is used. For discussion, see:
272 # https://www.mail-archive.com/search?l=mid&q=1506851183.3130.15.camel%40lyx.org
273 export/examples/ja/lilypond_pdf
274
275
276 # ======================================================================
277 Sublabel: attic
278 # Documents in the attic, kept for reference and format conversion test.
279 # However, many problems here are "wontfix".
280 # ======================================================================
281
282 # Fails because of missing .png graphic files.
283 # They were replaced by .svgz, but, as this file is in the attic, we do not
284 # convert to new lyx format. Plain latex and xetex create output (ignoring
285 # missing files) while (pdf|lua)latex exits with != 0
286 #export/doc/attic/eu_UserGuide_pdf[25].*
287
288 # Files in the attic with non-default output
289 # (i.e. could be ERT, package incompatiblity, ...)
290 export/doc/attic/it_(UserGuide_dvi3|UserGuide_pdf4)_systemF
291 export/doc/attic/sk_UserGuide_pdf4_texF
292 export/doc/attic/id_UserGuide_.*systemF