]> git.lyx.org Git - features.git/blob - development/autotests/unreliableTests
Update tests and documentation for supported languages.
[features.git] / development / autotests / unreliableTests
1 # Regular expressions for tests that should not be executed with
2 # ctest -L export or ctest -L inverted because they do not work as expected
3 # (either unreliable or invalid).
4 #
5 # Patterns will be automatically enclosed with '^' and '$'.
6 # Matching tests get the label "unreliable" and do not get the label "export".
7 #
8 # TODO: Name problem: *invalid* tests (wrong output) are not *unreliable*.
9 #   Use "unfit" or "unapplicable" as better label and name of pattern file?
10
11
12 Sublabel: nonstandard
13 #####################
14 # Documents with additional requirements,
15 # e.g. a class or package file not in TeXLive.
16 # TODO: rename to "extra" or "exotic"?
17
18 # aa.cls (not in TeXLive).
19 export/examples/Articles/Astronomy_%26_Astrophysics.*
20 export/templates/Articles/Astronomy_%26_Astrophysics.*
21
22 # AEA.cls (see https://wiki.lyx.org/Examples/AEA)
23 export/templates/Articles/American_Economic_Association_(AEA).*
24
25 # copernicus.cls (not in TeXLive)
26 # see https://publications.copernicus.org/for_authors/manuscript_preparation.html
27 export/templates/Articles/Copernicus_Publications_Manuscript_Preparation_.*
28
29 # ectaart.cls
30 # see https://wiki.lyx.org/Examples/Econometrica
31 export/templates/Articles/Econometrica.*
32
33 # iucr.cls (not in TeXLive)
34 export/templates/Articles/International_Union_of_Crystallography.*
35
36 # ws-ijmpc.cls, w-ijmpd.cls
37 # see https://wiki.lyx.org/Examples/IJMP
38 export/templates/Articles/Int._Journal_of_Modern_Physics_C.*
39 export/templates/Articles/Int._Journal_of_Modern_Physics_D.*
40
41 # iopart.cls, iopams.sty, setstack.sty
42 # see https://wiki.lyx.org/Layouts/Iopart
43 export/templates/Articles/Institute_of_Physics_.*
44
45 # jasatex.cls
46 # see https://wiki.lyx.org/Layouts/JASATeX
47 export/templates/Articles/Journal_of_the_Acoustical_Society_of_America.*
48
49 # jss.cls
50 export/templates/Articles/Journal_of_Statistical_Software_.*
51
52 # LilyPond-book version 2.13 or newer.
53 export/examples/(|ja/)Modules/LilyPond_Book_(dvi|pdf|lyx2[23]).*
54
55 # maa-monthly.sty (not in TeXLive)
56 # http://www.maa.org/sites/default/files/pdf/pubs/maa-monthly.sty
57 export/templates/Articles/Mathematical_Monthly.*
58
59 # knitr, RJournal.sty (not in TeXLive)
60 # incompatible with fontspec?
61 export/templates/Articles/RJournal_.*
62
63 # R (http://www.r-project.org)
64 # R package knitr (http://yihui.name/knitr)
65 export/examples/(|ja/)Modules/Sweave_(dvi|pdf|lyx2[23]).*
66 export/examples/(|ja/)Modules/Rnw.*knitr.*_(dvi|pdf|lyx2[23]).*
67
68 # obsolete versions of documentclass or style files
69 export/templates/Obsolete/.*
70
71 # svjour3.cls, svglov2.clo
72 # see https://wiki.lyx.org/Examples/Springer
73 export/templates/Articles/Springers_Global_Journal_Template.*
74
75 # svmono.cls
76 templates/examples/Books/Springer_Monographs.*
77 # svmult.cls
78 templates/examples/Books/Springer_Contributed_Books.*
79
80 # TeXLive does not set up Hebrew 8-bit TeX fonts
81 # We use the external package "culmus-latex"
82 # https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/
83 # With current "culmus-latex", dvipdfm fails because some of the fonts are
84 # type1 *.pfa while dvipdfm only works with *.pfb fonts:
85 #   dvipdfmx:warning: Could not locate a virtual/physical font for TFM "david".
86 #   dvipdfmx:warning: >> This font is mapped to a physical font "DavidCLM-Medium.pfa".
87 #   dvipdfmx:warning: >> Please check if kpathsea library can find this font: DavidCLM-Medium.pfa
88 # but: `kpsewhich DavidCLM-Medium.pfa` finds the font!
89 # Converting with `t1binary` (from t1utils) helps.
90 export/export/latex/unicodesymbols/.*_he.*pdf2
91 export/export/latex/(supported-languages|he-scrarticle).*
92 export/.*/he/.*((dvi|pdf.?)|_texF)
93 export/export/latex/languages/supported-languages_.*_pdf3
94
95
96 # Japanese (platex)
97 # dvips requires special font setup for kanji.
98 # Debian's texlive-lang-japanese does this automatically, tlmgr not.
99 # Without proper font setup setup,
100 # * the Postscript file has wrong and missing characters
101 #   (without error or warning),
102 # * as a consequence, `ps2pdf` fails for some documents:
103 export/.*/ja/.*_pdf
104
105
106 Sublabel: needauth
107 ##################
108 # Tests that require authorisation to call external programs.
109 export/examples/External_Material/Gnuplot.*
110 export/examples/Graphics_and_Insets/Minted_File_Listing.*
111 export/examples/Graphics_and_Insets/Minted_Listings.*
112
113
114 Sublabel: erratic
115 #################
116 # Tests depending on local configuration, or the phase of the moon.
117
118 # Manual export fails the first time but works the second time. (Why?)
119 export/doc/es/(Customization|Intro)_pdf4_texF
120
121
122 Sublabel: varying_versions
123 ##########################
124 # Test depending on e.g. OS or version of a non-TeX-Live dependency.
125 # Note that a full, up-to-date TeX Live installation is required so this
126 # sublabel is about versions of other dependencies.
127
128 # Encoding cp858 only supported by some iconv variants
129 # Gnu iconv only supports it, if configured with "--enable-extra-encodings"
130 # (see https://www.gnu.org/software/libiconv/)
131 export/export/latex/cp858_pdf2
132
133 # Seminar export with LaTeX fails in latest TeXLive:
134 export/examples/(|fr/)seminar_(dvi|pdf).*
135
136 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
137 # * garbled output with LuaTeX + TeX fonts (since TL18)
138 # * missing chars with XeTeX + TeX fonts (see invertedTests)
139 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
140 export/(doc|examples)/uk/(Intro|Welcome)_.*_texF
141
142 # new problem with TL18 (see invertedTests)
143 export/export/latex/luainputenc-utf8_pdf5_texF
144
145 # Compilation errors under TeXLive-19 with XeTeX, TeX-fonts, inputenc utf8,
146 # and expl3.sty (TL 17 works).
147 export/export/latex/xetex-inputenc-utf8-expl3-bug_pdf4_texF
148
149 # aastex: hard-coded version in class name:
150 # 2018-05-12 aastex6.cls -> aastex62.cls
151 export/examples/Articles/American_Astronomical_Society_.*
152 export/templates/Articles/American_Astronomical_Society_.*
153
154 # `acmart` calls "libertine" as default font.
155 # With TeXLive < 18, this clashes with LyX setting up 8-bit TeX fonts
156 # PDF (luatex) and PDF (xetex) (compilation error or wrong fonts).
157 # See also #9744 allow parallel configuration of TeX and non-TeX fonts.
158 export/templates/Articles/Association_for_Computing_Machinery_pdf[45]_texF
159
160
161 Sublabel: wrong_output
162 ######################
163 # Export does not fail but the resulting document has errors.
164 #
165 # These tests are actually not "unreliable" (different result for different
166 # runs) but *invalid* (not measuring what they should measure).
167
168 # seminar.sty uses Postscript specials or PGF resulting in problems with slide
169 # size and orientation depending on the output format and viewing application.
170 # For details see Troubleshooting and the Appendix in examples/seminar.lyx.
171 export/examples/(|fr/)Presentations/Seminar_(dvi|pdf).*
172
173 # Babel-Spanish uses UTF-8 encoded strings if it detects Xe/LuaTeX.
174 # With "language default" (=="latin9"), Babel strings  come out wrong
175 # when compiling with Xe/LuaTeX and TeX-fonts.
176 export/export/latex/es_auto-legacy_texF
177
178 # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
179 # * garbled output with LuaTeX + TeX fonts (since TL18)
180 #   (date and chapter headings)
181 # * missing chars with XeTeX + TeX fonts (see invertedTests)
182 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_.*_texF
183 export/doc/uk/Intro_.*_texF
184
185
186 # LyX issues
187 # **********
188
189 #6197: „amssymb” with Polish babel: name clash \lll ("<<<" vs. "ł")
190 # Wrong output with pdflatex
191 # missing character with XeTeX/LuaTeX and Babel (-> invertedTests)
192 export/export/latex/6197-polish-amssymb_(dvi|pdf).?
193
194 # Non-ASCII char in verbatim environment is dropped (with a warning when
195 # doing this interactively) with ASCII (and hence also with XeTeX).
196 export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_texF
197
198 # The following document mixes inTitle layouts and leads to
199 # likely unintended output. See #10347
200 export/export/mixing_inTitle_layouts_(pdf|dvi).*
201
202 # Characters with accents are not output
203 # Reported to LuaTeX mailing list here:
204 # https://www.mail-archive.com/search?l=mid&q=20160831134006.4fewxothddqfeyw4%40steph
205 # (not expecting much attention because DVI is not given high priority)
206 export/doc/es/Customization_dvi3_systemF
207 export/examples/(|es/)Curricula_Vitae/Europe_CV_dvi3_.*F
208
209 # `acmart` requires PDFlatex:
210 # * Missing page number in DVI, Postscript, and PDF (ps2pdf)
211 # * "PDF (ps2pdf)" fails (problem with Postscript) in TeXLive < 2018
212 #   "Postscript" not tested by ctest autotests
213 export/templates/Articles/Association_for_Computing_Machinery_dvi.*
214 export/templates/Articles/Association_for_Computing_Machinery_pdf
215
216 # lyx2lyx back-conversion of "Date" info-inset writes
217 # the name of the day in English instead of Japanese.
218 export/examples/ja/Multilingual_Typesetting_.*_lyx.*
219
220 # No localization of auto-strings with Chinese language under 8-bit TeX
221 # (ctex font issue with texlive-lang-chinese (from Debian) under pdflatex)
222 # and only partial localization with non-tex-fonts:
223 export/export/latex/CJK/zh_CN-toc.*
224 export/doc/zh_CN/(Intro|Tutorial)_(dvi|pdf).?
225
226 # Missing Chinese characters in the DVI (LuaTex)
227 export/doc/zh_CN/(Intro|Tutorial)_dvi3_systemF
228
229 # CJK languages don't change/reset the "language" (which is problematic for
230 # documents in a language that uses a non-standard font encoding)
231 # In a Greek document, Latin letters in a text part set to "Chinese"
232 # come out as Greek letters:
233 export/export/latex/CJK/el-zh_CN_utf8-cjk.*