]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/invertedTests
ctests: dedicated test for problem with textgreek and textcyrillic.
[lyx.git] / development / autotests / invertedTests
index e0b45b9cff94f701d9010971bc3aab18120518cb..cc685c4aa72cb85c14c69ada52f1f07b428a8738 100644 (file)
@@ -19,8 +19,6 @@ Sublabel: todo
 export/export/latex/ja_wrong_auto_encoding_(dvi|pdf(|3)).*
 
 # Missing characters with Unicode fonts
-# (the "hidden" replacement with FreeSerif does not help and results in bad
-# typography for mathematical content):
 # For details see the file "systemfonts-Math-missingchars.lyx"
 export/doc/(|de/|es/|fr/)Math.*systemF
 export/export/latex/systemfonts-Math-missingchars.*systemF
@@ -30,36 +28,80 @@ export/export/latex/systemfonts-Math-missingchars.*systemF
 # XeTeX artifact? works with LuaTeX, explore:
 export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF
 
-# Changes in TeX Live 2014 (see git blame for info) fixed
-# IEEEtran-CompSoc_pdf4_systemF but not others.
-# TODO Investigate if others can be fixed?
-# * IEEEtran-Journal_pdf4_systemF compiles here (GM)
-# * All IEEEtran-TransMag.* exports fail here:
-#   missing commands \IEEEtitleabstractindextext, \IEEEdisplaynontitleabstractindextext
-#   -> adapt template and style (GM)
-export/templates/IEEEtran-(Journal|TransMag)_pdf4_systemF
 
 # Example for lib/scripts/listerrors
 # Requires noweb. Seems to be restricted to plain "latex".
 # Find out why and whether the script could be improved.
 export/examples/listerrors_(pdf[245]).*
 
-# Requires CJK.
-# Why does it fail with pdflatex and dvipdfm? CJK restriction? Workarounds?
-# (Also fails with Xe/LuaTeX and TeX-fonts -- as expected, see ignoredTests)
-export/examples/ko/splash_(dvi||pdf[23]?)
-
 # iconv fails, if a nomenclature inset contains an uncodable character
 export/export/latex/iconv-error-nomenclature_pdf2
 
+# `acmart` document class:
+# (see also lyxbugs below and ignoredTests)
+# issues with listsof, reported to the maintainer
+# https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
+# LyX gives the following terminal message:
+#
+#    TextClass.cpp (1385): The layout does not provide a list command for
+#      the float `sidebar'. LyX will not be able to produce a float list.
+#
+# which makes "check_load" and "lyx2lyx" fail (lyx2lyx for < 2.3 is ignored).
+check_load/templates/acmart
+export/templates/acmart_lyx23
+
+# Failing LyX2LyX conversions for old versions:
+#
+# "beamer" lyx2lyx fails sometimes for versions < 2.1
+# Back-conversion results in some layouts without name ("\begin_layout \n")
+# which trigger a warning message leading to test failure.
+export/examples/(|de/|fr/|ja/)beamer_lyx(16|20)
+export/templates/.*beamer-conference-ornate-20min_lyx(16|20)
+export/examples/beamerlyxexample1_lyx(16|20)
+#
+# modernCV fails for versions < 2.1
+# * reversed order of \end_layout and \end_inset results in corrupt LyX file
+# * reversed order of command arguments results in incompilable LaTeX
+export/examples/(|es/)modernCV_lyx(16|20)
+
+# Farsi font encoding LAE should be added also to custom font encoding
+# (similar to the Greek font encoding LGR).
+export/export/latex/fa-OT1_pdf2
+
+# CJK for multilingual documents:
+#
+# input-encoding "utf8" should work for documents using a CJK language
+# also if the main language does not require CJK:
+export/export/latex/CJK/en-de-el-ru-.*_utf8_pdf2
+#
+# some "language default" legacy encodings fail (missing fonts)
+export/export/latex/CJK/ko_default_pdf2
+
+# Arabic (see also "texissues")
+# "! Extra \else" and missing glyph "no ␣ in font Scheherazade":
+export/doc/ar/UserGuide_pdf4_systemF
+# the lyx2lyx test also tests compilation after round-trip:
+export/doc/ar/UserGuide_lyx(22|23)
+
+
+# Common Unicode fonts don't support all characters supported by
+# lib/unicodesymbols in one font. (This shows that there are use cases for
+# 8-bit fonts or GUI support for selecting more than one system font.)
+# Write an enhancement ticket and move to lyxissues (together with other
+# "missing symbols" tests in the LyX documentation).
+export/export/latex/luainputenc-utf8_pdf5_systemF
+
+# New problem with TL18: endless loop?
+#    ! TeX capacity exceeded, sorry [input stack +size=5000].
+export/export/latex/luainputenc-utf8_pdf5_texF
+
+
 # input encoding tests
 # --------------------
 # Please test and correct!
 
 # Failing for unknown reason
 # Hebrew
-export/export/latex/unicodesymbols/001-4-latin_cp1255_pdf2
-export/export/latex/unicodesymbols/001-4-latin_cp862_pdf2
 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp862_pdf2
 export/export/latex/unicodesymbols/008-greek-and-coptic_cp862_pdf2
 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1255_pdf2
@@ -67,27 +109,12 @@ export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency
 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_iso8859-8_pdf2
 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp862_pdf2
 # Arabic:
-export/export/latex/unicodesymbols/001-4-latin_cp1256_pdf2
-export/export/latex/unicodesymbols/001-4-latin_iso8859-6_pdf2
 export/export/latex/unicodesymbols/005-7-ipa-modifiers-combining_cp1256_pdf2
 export/export/latex/unicodesymbols/008-greek-and-coptic-with-textalpha_cp1256_pdf2
-export/export/latex/unicodesymbols/008-greek-and-coptic_cp1256_pdf2
 export/export/latex/unicodesymbols/069-greek-extended-textalpha_cp1256_pdf2
-export/export/latex/unicodesymbols/069-greek-extended_cp1256_pdf2
 export/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency_cp1256_pdf2
 export/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows_cp1256_pdf2
 
-# CJK:
-# Unicode-blocks 008 and 009 work fine with utf8-cjk
-# everything else fails (special documentclass required?)
-export/export/latex/unicodesymbols/00[15].*_utf8-cjk_pdf2
-export/export/latex/unicodesymbols/0?[^0].*_utf8-cjk_pdf2
-export/export/latex/unicodesymbols/.*_euc-cn_pdf2
-export/export/latex/unicodesymbols/.*_gbk_pdf2
-export/export/latex/unicodesymbols/.*_jis_pdf2
-export/export/latex/unicodesymbols/.*_euc-kr_pdf2
-export/export/latex/unicodesymbols/.*_euc-tw_pdf2
-export/export/latex/unicodesymbols/.*_euc-jp_pdf2
 # pLaTeX
 export/export/latex/unicodesymbols/.*_euc-jp-platex_pdf2
 export/export/latex/unicodesymbols/.*_jis-platex_pdf2
@@ -95,23 +122,6 @@ export/export/latex/unicodesymbols/.*_shift-jis-platex_pdf2
 export/export/latex/unicodesymbols/.*_utf8-platex_pdf2
 
 
-# Arabic
-# If we want to try to get it to work with pdfTeX:
-# - set all non-Arab text parts to a different language (e.g. English)
-# - define alternatives for hyperref (e.g. with textorpdfstring)
-#     for correct handling of hyperref.
-# see discussion here:
-# https://www.mail-archive.com/search?l=mid&q=20161114035123.s5lt4ib4x4obtptp%40steph
-export/doc/ar/(Intro|Shortcuts|Tutorial)_pdf4_texF
-# This simple example doc is meant to test Arabic export of pdf2
-export/export/latex/arabic_simple_(dvi3|pdf5)_(texF|systemF)
-export/export/latex/arabic_simple_pdf4_texF
-
-# Polyglossia + LuaTeX does not support Farsi yet. See:
-#     https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
-# Why does farsi fail with Babel?
-export/examples/fa/splash_(dvi|pdf).*
-
 # nonstandard tests failing for unknown reason:
 export/examples/aa_sample_(dvi3|pdf[45])_.*
 export/templates/obsolete/ACM-siggraph_pdf5_(texF|systemF)
@@ -120,24 +130,39 @@ export/templates/RJournal_(dvi3|pdf[45])_systemF
 export/templates/aa_(dvi3|pdf[45])_.*
 export/templates/kluwer_.*_systemF
 
+# lyx2lyx tests:
+# back-conversion fails for rotated float inset in a list
+export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22)
+
 
 # ================================================
 Sublabel: lyxbugs
 # LyX bugs with a Trac number.
 # ================================================
 
-#8823 documents requiring pre-processing fail with Japanese
-export/examples/ja/(knitr|lilypond|sweave)_(dvi|pdf3?)
-
-#10355 xmllint detects failures
-export/doc/attic/eu_UserGuide_xhtml
-export/doc/(es|ja)/UserGuide_xhtml
-export/examples/spreadsheet_xhtml
-export/export/WrongDfnTagHandling_xhtml
-
-#10371 Compilation error if longest label marker in labeling style
-# contains underscores etc.
-export/export/latex/LongestLabelWithUnderscore.*
+#6197: „amssymb” with Polish babel name clash \lll ("<<<" vs. "ł")
+# Wrong output with pdflatex (-> unreliableTests),
+# missing character with XeTeX/LuaTeX and Babel (OK with Polyglossia)
+export/export/latex/6197-polish-amssymb_pdf._texF
+
+#8035 work around a Polyglossia bug:
+# An error is reported if the document font does not announce support for a
+# script (Cyrillic, Greek, ...) which Polyglossia thinks is required to
+# typeset the document language. This is not required with LyX's check for
+# missing characters and results in many false positives:
+# a) with fonts including the required characters but
+#    not the tag tested by Polyglossia,
+# b) if the document language is "Serbian (Latin Script)",
+#    the Cyrillic script is not required yet Polyglossia tests for support.
+# The document "sr/Braille.lyx" is an example of case b).
+# (For some reason, the false positive error is not thrown with PDF (luatex).)
+export/examples/sr/Braille_(dvi3|pdf4)_systemF
+
+#9681 Run-together words in Greek and Cyrillic documents
+# no-termination of replacement macros can lead to non-existing macros if
+# unencodable or force-converted Greek or Cyrillic letters are immediately
+# followed by Latin letters. See also unreliableTests.
+export/export/latex/textcyr-textgreek-test_pdf2
 
 #9871 LyX sends invalid Unicode to iconv when converting to ASCII
 # most probably due to BabelPreamble code (language specific headings for
@@ -146,25 +171,25 @@ export/export/latex/LongestLabelWithUnderscore.*
 # Error 84 returned from iconv when converting from UCS-4LE to ascii:
 # Invalid or incomplete multibyte or wide character
 export/doc/(es|fr)/Additional_pdf4_texF
-export/doc/(de|es)/EmbeddedObjects_pdf4_texF
+export/doc/(de|es|fr)/EmbeddedObjects_pdf4_texF
 export/doc/es/Customization_pdf4_texF
 # see also the discussion at:
 # https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph
 export/examples/es/linguistics_pdf4_texF
+export/export/latex/bug9871-slovak-ascii-preambleencoding_pdf2
 
+#10355 xmllint detects failures
+export/doc/attic/eu_UserGuide_xhtml
+export/doc/(es|ja)/UserGuide_xhtml
+export/examples/spreadsheet_xhtml
+export/export/WrongDfnTagHandling_xhtml
 
-#9637 textgreek and textcyr depend on font-encoding, not input encoding
-#6463 font encoding changes and combining accents
-# this leads to failure of ru/Intro with XeTeX (pdf4_texF)
-export/export/latex/ru-accent-ascii.*
+#10371 Compilation error if longest label marker in labeling style
+# contains underscores etc.
+export/export/latex/LongestLabelWithUnderscore.*
 
-#9681 textgreek and textcyr also required for encodable characters
-# Greek fails with utf8 and utf8x,
-# Cyrillic fails with utf8 and cyrillic encodings:
-export/export/latex/unicodesymbols/008-greek-and-coptic_utf8x?_pdf2
-export/export/latex/unicodesymbols/009-cyrillic_(utf8|utf8x|cp855|cp866|cp1251|koi8-r|koi8-u|iso8859-5|pt154)_pdf2
-export/export/latex/unicodesymbols/069-greek-extended_utf8x?_pdf2
-export/export/latex/unicodesymbols/069-greek-extended-textalpha_utf8x_pdf2
+#11455 "Unable to process argument!" with multiple 1.6.x roundtrips
+export/templates/IEEEtran-Journal_lyx16
 
 
 # ==============================================================
@@ -178,12 +203,6 @@ Sublabel: ert
 #   Could not find LaTeX command for character 'í' (code point 0xed)
 export/doc/(de|es)/Additional_pdf4_texF
 
-# inputencoding="utf8-plain" with Xe/LuaTeX: characters with
-# Unicode point > 256 lead to errors with 8-bit fonts
-# (We keep this option for power users setting Unicode fonts in the preamble
-# or document class file).
-export/export/latex/utf8-plain-with-tex-fonts_.*_texF
-
 
 # ================================================
 Sublabel: texissues
@@ -197,25 +216,21 @@ Sublabel: texissues
 # Fails with ASCII (and hence also with XeTeX).
 export/doc/(|de/|es/|fr/)UserGuide_pdf4_texF
 
-# Hebrew docs do not currently work with LuaTeX (will be fixed in TeXLive-16)
-# TODO: set working system fonts in the lyx sources
-export/.*/he/.*(dvi3|pdf5).*
-
-# ... nor with XeTeX and 8-bit TeX fonts (due to missing ASCII replacements)
-export/.*/he/.*pdf4_texF
-
 # Babel-Russian uses UTF-8 for auto-strings if it detects Xe/LuaTeX.
 # This fails unless the inputencoding is set to utf-8, too.
 export/doc/ru/(Intro|Tutorial)_(dvi3|pdf[45])_texF
-export/examples/ru/splash_(dvi3|pdf[45])_texF
+export/examples/ru/(example_lyxified|splash)_(dvi3|pdf[45])_texF
+
+# Babel-Ukrainian uses UTF-8 if it detects Xe/LuaTeX (for "\date").
+# With 8-bit TeX fonts this results in:
+# * garbled output with PDF (LuaTeX)
+# * missing chars with XeTeX and DVI (LuaTeX)
+# New in TL18 -> cf. unreliableTests.varying_versions.
+# Workaround: suppressing auto-date or using date inset (new in LyX 2.4)
+#            in the source documents.
+export/export/latex/uk-babel-date-missing-chars-with-ascii_(pdf4|dvi3)_texF
+export/(doc|examples)/uk/(Intro|splash)_(pdf4|dvi3)_texF
 
-# Babel-Spanish uses  UTF-8 for auto-strings if it detects Xe/LuaTeX.
-# This leads to wrong output (see unreliableTests) and fails in some cases
-# unless the inputencoding is set to utf-8, too.
-# ! Undefined control sequence.
-# <argument> ...art {link}{\Hy@tocdestname }{\nonumberline Ã\8d
-#                                                   ndice alfabético}\hyper...
-export/doc/es/(UserGuide|Math|EmbeddedObjects)_(dvi3|pdf5)_texF
 
 # Gives the following error:
 # # ! Package hpstatement Error: H or P statement "H251"
@@ -246,7 +261,7 @@ export/export/latex/TableErrorIfSlovakTextInserted_(dvi|pdf[23]?|.*_texF)
 # https://www.mail-archive.com/search?l=mid&q=1478004223.2367.5.camel%40lyx.org
 export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF
 
-# fontspec errors with slides class:
+# fontspec errors with `slides` class:
 # LaTeX error: "kernel/command-already-defined"
 # Lines 2684 ... 2690 in fontspec-xetex.sty
 # Lines 2608 ... 2614 in fontspec-luatex.sty
@@ -256,14 +271,79 @@ export/templates/slides_.*_systemF
 export/templates/ja_beamer-conference-ornate-20min_(pdf2|pdf[45]).*
 export/templates/es_beamer-conference-ornate-20min_pdf4_texF
 
-# issues with listsof, reported to the maintainer
-# https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
-# LyX gives the following terminal message:
+# Arabic
 #
-#    TextClass.cpp (1385): The layout does not provide a list command for
-#      the float `sidebar'. LyX will not be able to produce a float list.
+# Larger Arabic documents currently have non-tex-fonts and XeTeX as default
+# output. To fix pdfTeX export:
+# - set all non-Arab text parts to a different language (e.g. English)
+# - define alternatives for hyperref (e.g. with textorpdfstring)
+#   for correct handling of hyperref.
+# - solve problem with ToC:
+#      ! This can't happen (copying).
+#      \AtBegShi@Output ...ipout \box \AtBeginShipoutBox
+#                                                        \fi \fi
+#      l.62 \tableofcontents
+#                           {}
+#      I'm broken. Please show this to someone who can fix can fix
 #
-check_load/templates/acmart
+# see discussion at https://www.mail-archive.com/search?l=mid&q=20161114035123.s5lt4ib4x4obtptp%40steph
+#
+# Babel-Arabic loads "inputenc" which fails with Xe/LuaTeX:
+export/.*/ar/.*_texF
+# Polyglossia bug with LuaTeX and LTR languages (also Hebrew and Farsi):
+# Undefined control sequences "\luatexpardir" and "\luatextextdir".
+export/.*/ar/.*(dvi3|pdf5)_systemF
+
+# Farsi
+# Polyglossia problem with LuaTeX (undefined command) (cf. Arabic)
+# https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323
+export/examples/fa/splash_(dvi3|pdf5)_systemF
+# Missing characters (em space and "English" quotes) with XeTeX + system fonts.
+export/examples/fa/splash_pdf4_systemF
+# missing ASCII replacements (required by XeTeX + TeX fonts)
+export/examples/fa/splash_pdf4_texF
+# "invalid utf-8 sequence" with Babel-Farsi, LuaTeX, and TeX fonts.
+export/examples/fa/splash_(dvi3|pdf5)_texF
+
+# Hebrew
+# does not currently work with LuaTeX (undefined command) (cf. Arabic)
+# terminal message: "Language hebrew not found in language.dat.lua"
+export/.*/he/.*(dvi3|pdf5)_systemF
+# Babel-Arabic loads "inputenc" which fails with Xe/LuaTeX
+# additionally: "! Right-to-Left Support Error: use TeX--XeT or e-TeX engine."
+# and (with XeTeX) missing ASCII replacements.
+export/.*/he/.*_texF
+
+# CJKutf8 does not work with XeTeX and LuaTeX (and 8-bit fonts)
+export/examples/ja/multilingual_.*_texF
+export/export/latex/CJK/zh_CN-toc_.*_texF
+
+# See comment in unreliableTests
+export/export/latex/uk-babel-date-missing-chars-with-ascii_pdf5_texF
+
+
+# ================================================
+Sublabel: externalissues
+# Export fails due to non-LaTeX external tool,
+# ================================================
+#
+# e.g. a bug or missing feature in ps2pdf
+
+# ps2pdf gives the following and exits with error:
+# Error: /invalidfileaccess in --file--
+# ps2pdf succeeds if the -dNOSAFER flag is used. For discussion, see:
+# https://www.mail-archive.com/search?l=mid&q=1506851183.3130.15.camel%40lyx.org
+export/examples/ja/lilypond_pdf
+
+# ps2pdf gives the following error on updated TL18:
+#   Error: /undefined in d7Z
+# For previous TL versions, there is no error but the output is incorrect
+# (jibberish instead of Japanese characters).
+export/doc/ja/UserGuide_pdf
+# Simliar situation for this document, with the following error:
+#   Error: /undefined in =52+WsoG&
+export/doc/ja/Additional_pdf
+
 
 
 # ======================================================================
@@ -276,7 +356,7 @@ Sublabel: attic
 # They were replaced by .svgz, but, as this file is in the attic, we do not
 # convert to new lyx format. Plain latex and xetex create output (ignoring
 # missing files) while (pdf|lua)latex exits with != 0
-export/doc/attic/eu_UserGuide_pdf[25].*
+#export/doc/attic/eu_UserGuide_pdf[25].*
 
 # Files in the attic with non-default output
 # (i.e. could be ERT, package incompatiblity, ...)