]> git.lyx.org Git - lyx.git/blob - development/autotests/invertedTests
Corrected comment (missed at a48eefad)
[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 # missing glyphs: There is no ^^A in font [lmroman12-regular]
19 # and all the line down to ^^Z and beyond...
20 # XeTeX artifact? works with LuaTeX, explore:
21 export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF
22
23 # `acmart` document class:
24 # (see also lyxbugs below and ignoredTests)
25 # issues with listsof, reported to the maintainer
26 # https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
27 # LyX gives the following terminal message:
28 #
29 #    TextClass.cpp (1385): The layout does not provide a list command for
30 #      the float `sidebar'. LyX will not be able to produce a float list.
31 #
32 # which makes "check_load" and "lyx2lyx" fail (lyx2lyx for < 2.3 is ignored).
33 check_load/templates/Articles/Association_for_Computing_Machinery_.*
34 export/templates/Articles/Association_for_Computing_Machinery_.*_lyx23
35
36 # Failing LyX2LyX conversions for old versions:
37 #
38 # "beamer" lyx2lyx fails sometimes for versions < 2.1
39 # Back-conversion results in some layouts without name ("\begin_layout \n")
40 # which trigger a warning message leading to test failure.
41 export/examples/(|de/|fr/|ja/)Presentations/Beamer_lyx(16|20)
42 export/examples/Presentations/Beamer_.*Complex.*_lyx(16|20)
43 export/templates/(|de/|es/|fr/|ja/)Presentations/Beamer_lyx(16|20)
44 #
45 # modernCV fails for versions < 2.1
46 # * reversed order of \end_layout and \end_inset results in corrupt LyX file
47 # * reversed order of command arguments results in incompilable LaTeX
48 export/examples/(|es/)Curricula_Vitae/Modern_CV_(lyx(16|20)|dvi|dvi3.*F|pdf|pdf3)
49 export/examples/(|es/)Curricula_Vitae/Europe_CV_(dvi|dvi3.*F|pdf|pdf3)
50 #
51 # Back-conversion fails for rotated float inset in a list:
52 export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22)
53 # Additional empty lines (vs. Separator latexpar) with every round-trip
54 # before an ERT nested in a Description list:
55 export/export/lyx2lyx/lyx_2_3_test2_lyx(16|20)
56
57 # New problem with TL18: endless loop?
58 #    ! TeX capacity exceeded, sorry [input stack +size=5000].
59 # rsp.:
60 >   ! Undefined control sequence.
61 >   l.1 à
62 export/export/latex/inputenc-luatex-utf8_pdf5_texF
63
64 # nonstandard tests failing for unknown reason:
65 export/templates/Obsolete/ACM_SIGGGRAPH.*_pdf5_(texF|systemF)
66 export/templates/Articles/International_Union_of_Crystallography.*_pdf4_systemF
67 export/templates/Articles/R_Journal_(dvi3|pdf[45])_systemF
68 #export/templates/Articles/Kluwer_.*_systemF
69
70 # Thai with CJK package requires the babel option "thaicjk" instead of "thai".
71 # (see thaifont.txt in the CJK documentation for setup details).
72 export/export/latex/unicodesymbols/031-thai_th_(euc-|gbk|jis|utf8-cjk).*
73
74 # Package clashes when Japanese documents are compiled with non-TeX fonts,
75 #
76 export/doc/ja/(Additional|LaTeXConfig|Math|UserGuide).*_systemF
77 export/doc/ja/(Formula-numbering|Customization|EmbeddedObjects|Intro)_pdf4_systemF
78
79 # Test for command \pdfsave fails:
80 # ! Package xypdf Error: pdfTeX version 1.40.0 or higher is needed for the xypdf
81 export/examples/ja/Graphics_and_Insets/XY-Pic.*_systemF
82
83 # Does this still fail in TL19? What is the error?
84 export/doc/he/.*pdf5_systemF
85 export/.*/fa/Welcome_(dvi3|pdf5)_systemF
86
87
88 # ================================================
89 Sublabel: lyxbugs
90 # LyX bugs with a Trac number.
91 # ================================================
92
93 # Dedicated tests in export/latex/lyxbugs start with the ticket number
94 # (move to export/latex/lyxbugs-resolved when the problem is fixed).
95 # catchall:
96 export/export/latex/lyxbugs/[0-9].*
97
98
99 #8035 work around a Polyglossia bug:
100 # An error is reported if the document font does not announce support for a
101 # script (Cyrillic, Greek, ...) which Polyglossia thinks is required to
102 # typeset the document language. This is not required with LyX's check for
103 # missing glyphs and results in many false positives:
104 # a) with fonts including the required characters but
105 #    not the tag tested by Polyglossia,
106 # b) if the document language is "Serbian (Latin Script)",
107 #    the Cyrillic script is not required yet Polyglossia tests for support.
108 # The document "sr/Braille.lyx" is an example of case b).
109 # (For some reason, the false positive error is not thrown with PDF (luatex).)
110 #export/examples/sr/Modules/Braille_(dvi3|pdf4)_systemF
111
112 #10355 xmllint detects failures
113 export/doc/attic/eu_UserGuide_xhtml
114 export/doc/(es|ja)/UserGuide_xhtml
115 export/examples/External_Material/Spreadsheet_xhtml
116 export/export/WrongDfnTagHandling_xhtml
117
118 #11455 "Unable to process argument!" with multiple 1.6.x roundtrips
119 export/templates/Articles/IEEE_Transactions_Journal_lyx16
120
121 #11520 "listerrors" fails with pdflatex, lualatex, and xelatex
122 # Example for lib/scripts/listerrors
123 # Requires noweb. Seems to be restricted to plain "latex".
124 # Find out why and whether the script could be improved.
125 export/examples/Modules/Noweb_Listerrors_(pdf[245]).*
126
127 #11522 Support specification of complementing non-TeX fonts
128 #
129 # More than one non-TeX font required for the character set in many documents
130 # to prevent "missing glyph" errors with non-TeX fonts
131 #
132 #export/export/latex/inputenc-.*_systemF # problem remains but test now ignored
133 export/doc/(|de/|es/|fr/)Math.*systemF
134 # a minimal example for Math.lyx is in
135 #export/export/latex/lyxbugs/11522-systemfonts-Math-missingchars.*systemF
136 #
137 # Farsi: missing glyphs (em space and "English" quotes)
138 export/examples/fa/Welcome_pdf4_systemF
139 #
140 # CJK-quotes examples (missing in most Latin-script fonts)
141 export/doc/(|de/|es/|fr/)UserGuide_(dvi3|pdf4|pdf5)_systemF
142 #
143 # Japanese
144 export/examples/ja/Modules/Linguistics.*systemF
145 #
146 # Arabic (see also "texissues")
147 # "! Extra \else" and missing glyph "no ␣ in font Scheherazade":
148 # (the lyx2lyx test also tests compilation after round-trip)
149 export/doc/ar/UserGuide_pdf4_systemF
150 export/doc/ar/UserGuide_lyx(22|23)
151
152
153 # ==============================================================
154 Sublabel: ert
155 # Export failures due to "raw" LaTeX use in ERT or preamble code
156 # ==============================================================
157 #
158 # "Wontfix" if demonstrating correct use and OK in the default output format.
159
160
161 # ================================================
162 Sublabel: texissues
163 # Export fails due to LaTeX limitations,
164 # ================================================
165 #
166 # e.g. non-ASCII in verbatim or listings, incompatible packages, ...
167 # "Wontfix" if documents demonstrate correct use in the default output format.
168
169 # Xe/LuaTeX
170 ###########
171
172 # Babel-Russian uses UTF-8 for auto-strings if it detects Xe/LuaTeX.
173 # This fails unless the inputencoding is set to utf-8, too.
174 export/export/latex/languages/ru_auto-legacy-luatex.*_texF
175
176 # Babel-Ukrainian uses UTF-8 if it detects Xe/LuaTeX (for "\date").
177 # With 8-bit TeX fonts this results in:
178 # * garbled output with PDF (LuaTeX)
179 # * missing glyphs with XeTeX and DVI (LuaTeX)
180 # New in TL18 -> cf. unreliableTests.varying_versions.
181 # Workaround: suppressing auto-date, setting inputenc to "utf8", or using
182 #             date inset (new in LyX 2.4) in the source documents.
183 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_dvi3_texF
184
185 # Babel with non-TeX fonts fails for some supported languages
186 # Lithuanian: L7x font encoding also set with LuaTeX and non-TeX fonts
187 # (error but output OK)
188 export/export/latex/languages/supported-languages_babel_non-tex_(dvi3|pdf5)_systemF
189
190 # Babel-French fails with Xe/LuaTeX and TeX fonts
191 #   LaTeX Error: Command \at already defined. (and a lot more)
192 export/export/latex/languages/supported-languages_(dvi|pdf).*_texF
193 export/export/latex/languages/supported-languages_babel_(dvi|pdf).*_texF
194
195 # Babel + XeTeX and system fonts fails due to a babel bug:
196 # https://www.mail-archive.com/search?l=mid&q=20190831012945.zl76dbstyijfqgdh%40boogie
197 # The error is the following, although remoing the referenced language just leads
198 # to a different error:
199 #
200 #  ! File ended while scanning use of \bbl@inireader.
201 #  <inserted text>
202 #                  \par
203 #  l.3 \input{babel-german-switzerland}
204 #  I suspect you have forgotten a `}', causing me
205 export/export/latex/languages/supported-languages_babel_non-tex_pdf4_systemF
206
207
208 # Polyglossia + LuaTeX issue
209 # Reported upstream here:
210 # https://github.com/reutenauer/polyglossia/issues/163
211 # These tests were broken at 3374b854
212 # See discussion here:
213 # https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org
214 #export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF
215 # some Polyglossia languages work only with XeTeX and fail with LuaTeX:
216 # * The font "NotoSansEthiopic" cannot be found.
217 # * sanskrit: ! Undefined control sequence.
218 #             l.53 \newXeTeXintercharclass
219 # * RTL-languages: ! Undefined control sequence.
220 #             \setLR ->\@RTLfalse \luatexpardir
221 export/export/latex/languages/supported-languages_polyglossia_XeTeX_(dvi3|pdf5)_systemF
222
223
224 # Some packages fail with XeTeX/LuaTeX
225 # Reported upstream (https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html)
226 # Is there a new version fixing the problem?
227 export/examples/Articles/Astronomy_%26_Astrophysics_(dvi3|pdf5)_texF
228
229 # Gives the following error:
230 # # ! Package hpstatement Error: H or P statement "H251"
231 # # (hpstatement)                is not defined.
232 # seems to be polyglossia-related (dvi3 worked with babel)
233 export/examples/Modules/Hazard_and_Precautionary_Statements_.*_systemF
234
235 # These files use packages that are not compatible with the newest LuaTeX. We
236 # could potentially fix these by loading the luatex85 package early in the
237 # LyX-generated preamble, but it seems it's better to wait until the packages
238 # fix the root issue themselves.
239 # xy package:
240 export/examples/(|fr/)Graphics_and_Insets/XY-(Pic|Figure)_pdf5.*
241
242 # fontspec errors with `slides` class:
243 # LaTeX error: "kernel/command-already-defined"
244 # Lines 2684 ... 2690 in fontspec-xetex.sty
245 # Lines 2608 ... 2614 in fontspec-luatex.sty
246 export/templates/Presentations/Slides_.*_systemF
247
248 # expl3.sty: Compilation errors with XeTeX, TeX-fonts, inputenc utf8
249 # (TL 17 works).
250 export/export/latex/inputenc-xetex-utf8-expl3-bug_pdf4_texF
251
252
253 # Arabic
254 #
255 # Larger Arabic documents currently have non-TeX fonts and XeTeX
256 # as default output. To fix pdfTeX export:
257 # - set all non-Arab text parts to a different language (e.g. English)
258 # - define alternatives for hyperref (e.g. with textorpdfstring)
259 #   for correct handling of hyperref.
260 # - solve problem with ToC:
261 #      ! This can't happen (copying).
262 #      \AtBegShi@Output ...ipout \box \AtBeginShipoutBox
263 #                                                        \fi \fi
264 #      l.62 \tableofcontents
265 #                           {}
266 #      I'm broken. Please show this to someone who can fix
267 # see discussion at https://www.mail-archive.com/search?l=mid&q=20161114035123.s5lt4ib4x4obtptp%40steph
268
269 # Babel-Arabic loads "inputenc" which fails with LuaTeX
270 export/.*/ar/.*_(dvi3|pdf5)_texF
271 # no Arab charaters with luainputenc
272 export/export/latex/languages/supported-languages_(dvi3|pdf5)_texF
273 export/export/latex/languages/supported-languages_babel_auto-legacy_(dvi3|pdf5)_texF
274
275
276 # Farsi
277 # "invalid utf-8 sequence" with Babel-Farsi, LuaTeX, and TeX fonts.
278 # (XeTeX works, if inputenc is set to "utf8")
279 export/examples/fa/Welcome_(dvi3|pdf5)_texF
280
281 # Hebrew
282 # babel-hebrew loads "rlbabel.def" which fails with LuaTeX + TeX fonts:
283 # "! Right-to-Left Support Error: use TeX--XeT or e-TeX engine."
284 # (XeTeX works, if inputenc is set to "utf8")
285 export/.*/he/.*(dvi3|pdf5)_texF
286 export/export/latex/languages/he-.*(dvi3|pdf5)_texF
287 export/export/latex/languages/supported-languages_(dvi3|pdf5)_texF
288 export/export/latex/languages/supported-languages_babel_(dvi3|pdf5)_texF
289
290 # Ukrainian
291 # See comment in unreliableTests
292 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_pdf5_texF
293
294
295 # ================================================
296 Sublabel: externalissues
297 # Export fails due to non-LaTeX external tool,
298 # ================================================
299 #
300 # e.g. a bug or missing feature in ps2pdf
301
302 # ps2pdf gives the following and exits with error:
303 # Error: /invalidfileaccess in --file--
304 # ps2pdf succeeds if the -dNOSAFER flag is used. For discussion, see:
305 # https://www.mail-archive.com/search?l=mid&q=1506851183.3130.15.camel%40lyx.org
306 export/examples/ja/Modules/LilyPond_Book_pdf
307
308
309 # ======================================================================
310 Sublabel: attic
311 # Documents in the attic, kept for reference and format conversion test.
312 # However, many problems here are "wontfix".
313 # ======================================================================
314
315 # Fails because of missing .png graphic files.
316 # They were replaced by .svgz, but, as this file is in the attic, we do not
317 # convert to new lyx format. Plain latex and xetex create output (ignoring
318 # missing files) while (pdf|lua)latex exits with != 0
319 #export/doc/attic/eu_UserGuide_pdf[25].*
320
321 # Files in the attic with non-default output
322 # (i.e. could be ERT, package incompatiblity, ...)
323 export/doc/attic/it_(UserGuide_dvi3|UserGuide_pdf4)_systemF
324 export/doc/attic/id_UserGuide_.*systemF
325
326 # ================================================
327 Sublabel: dvips
328 # Comment by Jürgen Spitzmüller
329 # The document requests the dvips graphics driver,
330 # and of course this fails with any other backend.
331 #
332 # The document compiles if one sets the graphics driver to "Automatic"
333 # and remove the dvips class option. But then, the output is not correct
334 # (rotation of foils does not work).
335 export/examples/(|fr/)Presentations/Foils_pdf[45]_systemF
336