]> git.lyx.org Git - lyx.git/blob - development/autotests/invertedTests
ctests: invert ar UserGuide.lyx lyx22x and lyx23x
[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 # Requires CJK.
48 # Why does it fail with pdflatex and dvipdfm? CJK restriction? Workarounds?
49 # (Also fails with Xe/LuaTeX and TeX-fonts -- as expected, see ignoredTests)
50 export/examples/ko/splash_(dvi||pdf[23]?|lyx22|lyx23)
51
52 # iconv fails, if a nomenclature inset contains an uncodable character
53 export/export/latex/iconv-error-nomenclature_pdf2
54
55 # input encoding tests
56 # --------------------
57 # Please test and correct!
58
59 # Failing for unknown reason
60 # Hebrew
61 export/export/latex/unicodesymbols/001-4-latin_cp1255_pdf2
62 export/export/latex/unicodesymbols/001-4-latin_cp862_pdf2
63 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp862_pdf2
64 export/export/latex/unicodesymbols/008-greek-and-coptic_cp862_pdf2
65 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1255_pdf2
66 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp862_pdf2
67 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_iso8859-8_pdf2
68 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp862_pdf2
69 # Arabic:
70 export/export/latex/unicodesymbols/001-4-latin_cp1256_pdf2
71 export/export/latex/unicodesymbols/001-4-latin_iso8859-6_pdf2
72 export/export/latex/unicodesymbols/005-7-ipa-modifiers-combining_cp1256_pdf2
73 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp1256_pdf2
74 export/export/latex/unicodesymbols/008-greek-and-coptic_cp1256_pdf2
75 export/export/latex/unicodesymbols/069-greek-extended-textalpha_cp1256_pdf2
76 export/export/latex/unicodesymbols/069-greek-extended_cp1256_pdf2
77 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1256_pdf2
78 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp1256_pdf2
79
80 # CJK:
81 # Unicode-blocks 008 and 009 work fine with utf8-cjk
82 # everything else fails (special documentclass required?)
83 export/export/latex/unicodesymbols/00[15].*_utf8-cjk_pdf2
84 export/export/latex/unicodesymbols/0?[^0].*_utf8-cjk_pdf2
85 export/export/latex/unicodesymbols/.*_euc-cn_pdf2
86 export/export/latex/unicodesymbols/.*_gbk_pdf2
87 export/export/latex/unicodesymbols/.*_jis_pdf2
88 export/export/latex/unicodesymbols/.*_euc-kr_pdf2
89 export/export/latex/unicodesymbols/.*_euc-tw_pdf2
90 export/export/latex/unicodesymbols/.*_euc-jp_pdf2
91 # pLaTeX
92 export/export/latex/unicodesymbols/.*_euc-jp-platex_pdf2
93 export/export/latex/unicodesymbols/.*_jis-platex_pdf2
94 export/export/latex/unicodesymbols/.*_shift-jis-platex_pdf2
95 export/export/latex/unicodesymbols/.*_utf8-platex_pdf2
96
97 # Arabic
98 # If we want to try to get it to work with pdfTeX:
99 # - set all non-Arab text parts to a different language (e.g. English)
100 # - define alternatives for hyperref (e.g. with textorpdfstring)
101 #     for correct handling of hyperref.
102 # see discussion here:
103 # https://www.mail-archive.com/search?l=mid&q=20161114035123.s5lt4ib4x4obtptp%40steph
104 export/doc/ar/(Intro|Shortcuts|Tutorial|UserGuide)_pdf4_texF
105 # This simple example doc is meant to test Arabic export of pdf2
106 export/export/latex/arabic_simple_(dvi3|pdf5)_(texF|systemF)
107 export/export/latex/arabic_simple_pdf4_texF
108 # See note about "Missing ␣" in file "ignoreLatexErrorsTests".
109 export/doc/ar/UserGuide_lyx(22|23)
110
111
112 # Polyglossia + LuaTeX does not support Farsi yet. See:
113 #     https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
114 # Why does farsi fail with Babel?
115 export/examples/fa/splash_(dvi|pdf).*
116
117 # nonstandard tests failing for unknown reason:
118 export/examples/aa_sample_(dvi3|pdf[45])_.*
119 export/templates/obsolete/ACM-siggraph_pdf5_(texF|systemF)
120 export/templates/IUCr-article_pdf4_systemF
121 export/templates/RJournal_(dvi3|pdf[45])_systemF
122 export/templates/aa_(dvi3|pdf[45])_.*
123 export/templates/kluwer_.*_systemF
124
125 # lyx2lyx tests:
126 # back-conversion fails for rotated float inset in a list
127 export/export/lyx2lyx/lyx_2_3_test_lyx(16|21|22)
128
129 # ================================================
130 Sublabel: lyxbugs
131 # LyX bugs with a Trac number.
132 # ================================================
133
134 #10355 xmllint detects failures
135 export/doc/attic/eu_UserGuide_xhtml
136 export/doc/(es|ja)/UserGuide_xhtml
137 export/examples/spreadsheet_xhtml
138 export/export/WrongDfnTagHandling_xhtml
139
140 #10371 Compilation error if longest label marker in labeling style
141 # contains underscores etc.
142 export/export/latex/LongestLabelWithUnderscore.*
143
144 #9871 LyX sends invalid Unicode to iconv when converting to ASCII
145 # most probably due to BabelPreamble code (language specific headings for
146 # theorems, problems , ... are written in the language's default encoding
147 # if they contain non-ASCII characters)
148 # Error 84 returned from iconv when converting from UCS-4LE to ascii:
149 # Invalid or incomplete multibyte or wide character
150 export/doc/(es|fr)/Additional_pdf4_texF
151 export/doc/(de|es|fr)/EmbeddedObjects_pdf4_texF
152 export/doc/es/Customization_pdf4_texF
153 # see also the discussion at:
154 # https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph
155 export/examples/es/linguistics_pdf4_texF
156
157
158 #9637 textgreek and textcyr depend on font-encoding, not input encoding
159 #6463 font encoding changes and combining accents
160 # this leads to failure of ru/Intro with XeTeX (pdf4_texF)
161 !export/export/latex/ru-accent-ascii_pdf2
162 export/export/latex/ru-accent-ascii.*
163
164 #9681 textgreek and textcyr also required for encodable characters
165 # Greek fails with utf8 and utf8x encodings,
166 # Cyrillic fails with utf8 and Cyrillic encodings:
167 export/export/latex/unicodesymbols/008-greek-and-coptic_(utf8|utf8x)_pdf2
168
169 # ==============================================================
170 Sublabel: ert
171 # Export failures due to "raw" LaTeX use in ERT or preamble code
172 # ==============================================================
173 #
174 # "Wontfix" if demonstrating correct use and OK in the default output format.
175
176 # Non-ASCII in ERT, fails with inputenc==ASCII (e.g. XeTeX with tex-fonts)
177 #   Could not find LaTeX command for character 'í' (code point 0xed)
178 export/doc/(de|es)/Additional_pdf4_texF
179
180 # inputencoding="utf8-plain" with Xe/LuaTeX: characters with
181 # Unicode point > 256 lead to errors with 8-bit fonts
182 # (We keep this option for power users setting Unicode fonts in the preamble
183 # or document class file).
184 export/export/latex/utf8-plain-with-tex-fonts_.*_texF
185
186
187 # ================================================
188 Sublabel: texissues
189 # Export fails due to LaTeX limitations,
190 # ================================================
191 #
192 # e.g. non-ASCII in verbatim or listings, incompatible packages, ...
193 # "Wontfix" if documents demonstrate correct use in the default output format.
194
195 # Non-ASCII char in verbatim environment.
196 # Fails with ASCII (and hence also with XeTeX).
197 export/doc/(|de/|es/|fr/)UserGuide_pdf4_texF
198
199 # Hebrew docs do not currently work with LuaTeX (will be fixed in TeXLive-16)
200 # TODO: set working system fonts in the lyx sources
201 export/.*/he/.*(dvi3|pdf5).*
202
203 # ... nor with XeTeX and 8-bit TeX fonts (due to missing ASCII replacements)
204 export/.*/he/.*pdf4_texF
205
206 # Babel-Russian uses UTF-8 for auto-strings if it detects Xe/LuaTeX.
207 # This fails unless the inputencoding is set to utf-8, too.
208 export/doc/ru/(Intro|Tutorial)_(dvi3|pdf[45])_texF
209 export/examples/ru/(example_lyxified|splash)_(dvi3|pdf[45])_texF
210
211 # Babel-Spanish uses  UTF-8 for auto-strings if it detects Xe/LuaTeX.
212 # This leads to wrong output (see unreliableTests) and fails in some cases
213 # unless the inputencoding is set to utf-8, too.
214 # ! Undefined control sequence.
215 # <argument> ...art {link}{\Hy@tocdestname }{\nonumberline Ã\8d
216 #                                                   ndice alfabético}\hyper...
217 export/doc/es/(UserGuide|Math|EmbeddedObjects)_(dvi3|pdf5)_texF
218
219 # Gives the following error:
220 # # ! Package hpstatement Error: H or P statement "H251"
221 # # (hpstatement)                is not defined.
222 # seems to be polyglossia-related (dvi3 worked with babel)
223 export/examples/H-P-statements_.*_systemF
224
225 # These files use packages that are not compatible with the newest LuaTeX. We
226 # could potentially fix these by loading the luatex85 package early in the
227 # LyX-generated preamble, but it seems it's better to wait until the packages
228 # fix the root issue themselves.
229 # xy package:
230 .*(|fr/)xy(pic|figure).*pdf5.*
231
232 # Problem with Check and Slovak Babel support.
233 # (reported per mail to Petr Tesa\v{r}\'ik, 2016-09-06)
234 # All exports using babel fail.
235 # Without the Czech or Slovak text it compiles
236 # No problem with inserted German (or other foreign language) text
237 # No problem if the table is Slovak, too
238 export/export/latex/TableErrorIfSlovakTextInserted_(dvi|pdf[23]?|.*_texF)
239
240 # Polyglossia + LuaTeX issue
241 # Reported upstream here:
242 # https://github.com/reutenauer/polyglossia/issues/163
243 # These tests were broken at 3374b854
244 # See discussion here:
245 # https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org
246 export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF
247
248 # fontspec errors with slides class:
249 # LaTeX error: "kernel/command-already-defined"
250 # Lines 2684 ... 2690 in fontspec-xetex.sty
251 # Lines 2608 ... 2614 in fontspec-luatex.sty
252 export/templates/slides_.*_systemF
253
254 # Beamer: conflicts with some combinations of packages/settings/languages
255 export/templates/ja_beamer-conference-ornate-20min_(pdf2|pdf[45]).*
256 export/templates/es_beamer-conference-ornate-20min_pdf4_texF
257
258 # issues with listsof, reported to the maintainer
259 # https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
260 # LyX gives the following terminal message:
261 #
262 #    TextClass.cpp (1385): The layout does not provide a list command for
263 #      the float `sidebar'. LyX will not be able to produce a float list.
264 #
265 check_load/templates/acmart
266
267 # Arabic only works with XeTeX + system fonts (pdf4_systemF)
268 export/examples/ar/splash_(dvi.*|pdf|pdf[^4].*)
269 export/examples/ar/splash_pdf4_texF
270
271
272 # ================================================
273 Sublabel: externalissues
274 # Export fails due to non-LaTeX external tool,
275 # ================================================
276 #
277 # e.g. a bug or missing feature in ps2pdf
278
279 # ps2pdf gives the following and exits with error:
280 # Error: /invalidfileaccess in --file--
281 # ps2pdf succeeds if the -dNOSAFER flag is used. For discussion, see:
282 # https://www.mail-archive.com/search?l=mid&q=1506851183.3130.15.camel%40lyx.org
283 export/examples/ja/lilypond_pdf
284
285
286 # ======================================================================
287 Sublabel: attic
288 # Documents in the attic, kept for reference and format conversion test.
289 # However, many problems here are "wontfix".
290 # ======================================================================
291
292 # Fails because of missing .png graphic files.
293 # They were replaced by .svgz, but, as this file is in the attic, we do not
294 # convert to new lyx format. Plain latex and xetex create output (ignoring
295 # missing files) while (pdf|lua)latex exits with != 0
296 #export/doc/attic/eu_UserGuide_pdf[25].*
297
298 # Files in the attic with non-default output
299 # (i.e. could be ERT, package incompatiblity, ...)
300 export/doc/attic/it_(UserGuide_dvi3|UserGuide_pdf4)_systemF
301 export/doc/attic/sk_UserGuide_pdf4_texF
302 export/doc/attic/id_UserGuide_.*systemF