Commit Graph

199 Commits

Author SHA1 Message Date
Scott Kostyshak
10a2361244 ctests: invert JASA tests, consistent with Seminar
These tests are failing for the same reason as the Seminar tests.
See 1aa4987b.
2020-10-30 19:56:07 -04:00
Scott Kostyshak
1aa4987b2f Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):

  it is a problem with the new hook management of the current latex.ltx
  seminar is a quite old package and there is no reason to use it with a
  new LaTeX format. It won't be fixed, so the usual way is to use the
  package latexrealease to get the old hook management.

This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:

  \RequirePackage[2020-02-02]{latexrelease}

We now invert the relevant tests.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
df0ea858ed DocBook: use the same normalisation for biblio IDs and their references. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
2e8bffa3c5 DocBook: update test suite.
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
2020-10-30 01:59:34 +01:00
Scott Kostyshak
c9fd498a7f ctests: Invert some tests for new ru Additional
These inversions are consistent with ru Math manual tests.
2020-10-29 16:08:32 -04:00
Scott Kostyshak
33228178a8 ctests: invert unicode failures from menukeys pack
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):

  https://github.com/tweh/menukeys/issues/59
2020-10-28 16:37:51 -04:00
Kornel Benko
26f3dfe45d Amend 3a452a24: DocBook: disable an inverted test for a LyX bug.
The disabled test has to appear before the regex for enabled tests
2020-10-18 10:10:46 +02:00
Thibaut Cuvelier
3a452a240b DocBook: disable an inverted test for a LyX bug. 2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95 DocBook: dummy documents from the docs are not complete. 2020-10-18 08:23:36 +02:00
Kornel Benko
b940a81520 Amend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21 DocBook: move tests to inverted instead of ignored.
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00
Kornel Benko
758775ac92 Cmake export xhtml tests: load dtd if checking ouput with xmllint 2020-09-20 11:47:04 +02:00
Scott Kostyshak
5542ccd3f9 ctests: invert 'wontfix' failing lyx2lyx tests
We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:

https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
2020-09-15 19:38:25 -04:00
Scott Kostyshak
b4f3963ab2 Uninvert two Hebrew pdf5 systemF tests
These exports now pass, and the output looks reasonable to me
(although I do not know Hebrew). I believe they work now because of
Jürgen's fixes at a7ad0747 and d7b64b8e.
2020-09-11 14:10:12 -04:00
Kornel Benko
f74739075e Amend aef29bb: 2020-08-30 09:58:29 +02:00
Scott Kostyshak
aef29bbe6f ctests: invert ru XY LuaTeX tests
The following error is given during the compilation:

  ! Package xypdf Error: pdfTeX version 1.40.0 or higher is needed for the xypdf
2020-08-30 00:33:51 -04:00
Scott Kostyshak
57253974bc ctests: invert ru Math LuaTeX tests
There are issues due to varioref. Consistent with 6e50327a.
2020-08-29 14:57:50 -04:00
Scott Kostyshak
2a665dcc05 ctests: invert LuaTeX + DavidCLM exports
Thanks to Jürgen, who mentions the following:

  luaotfload does not find "DavidCLM". In fact, at least on my system,
  there is no such font, only "DavidCLM Medium" (and other shapes). This
  one is found. Apparently, luaotfload cannot infer from the one to the
  other.

  As opposed to LuaTEX, XeTeX also queries TEXMF so maybe it just finds
  its font there.
2020-08-29 11:12:05 -04:00
Scott Kostyshak
f86ec91afb ctests: invert Hebrew dvi3, pdf5 TeX font tests
These exports fail with the following error:

  "! Right-to-Left Support Error: use TeX--XeT or e-TeX engine."
2020-08-26 23:20:00 -04:00
Scott Kostyshak
a21bc08cc0 ctests: comment out a comment 2020-08-26 23:20:00 -04:00
Scott Kostyshak
c44cfec348 ctests: add ertroundtrip lable and invert a lyx22x
In many cases, round trip with older formats involves exporting ERT
or preamble code in the backwards conversion. In the forwards
conversion, if this code is not parsed, often errors can result.
However, in many cases, especially for older formats, it might not
be worth the time or code complexity to address these cases. Such
tests are labled "ertroundtrip".

This commit also inverts a currently failing lyx22x test under the
label "ertroundtrip" since the above paragraph is my best guess as
to why that test is failing. It is likely not worth the time to fix
it, especially since the APA7 layout wasn't even shipped for LyX
2.2.x.
2020-08-26 14:19:45 -04:00
Scott Kostyshak
08725c5832 ctests: Uninvert an export fixed by new TL
The export fails with a TL19, and passes with an updated TL20
system. Kornel confirms.

A quick manual check of the output looks good.
2020-08-21 14:20:56 -04:00
Kornel Benko
6e50327a68 Cmake export tests: Add some tests not working with lualatex/xetex 2020-08-17 16:22:01 +02:00
Kornel Benko
2952c78ea5 Cmake export tests: Adapt test filtering
1.) Ignore exports for docbook specific files
2.) Because of dvips problem invert test for some Foils-lyx-files
2020-08-02 19:40:55 +02:00
Günter Milde
c1357cbd01 ctest autotest for #11773 language nesting with lyx2lyx.
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.

Also

* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Günter Milde
8f9dfd2edf ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
This happens with "inputenc: auto-legacy" if a language with default
encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote
(or another environment).
2019-12-30 17:48:20 +01:00
Kornel Benko
86ba7409a4 Corrected comment (missed at a48eefad) 2019-12-16 12:12:19 +01:00
Kornel Benko
a48eefadc7 Cmake export tests: Suspend some Foils compilations with system fonts 2019-12-16 11:59:02 +01:00
Günter Milde
70bdbd3a57 ctest update.
Debian stable ships now TL18, we don't need to care for older TL versions.

Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).

The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.
2019-11-18 22:24:55 +01:00
Kornel Benko
2f44d9b4fa ctests: update supported-languages tests.
polyglossia changes in TL19 makes some tests
	pass with lualatex again
2019-11-08 10:57:42 +01:00
Günter Milde
c138210672 ctests: update supported-languages tests.
Simplify user preamble.

Use common test document for Xe- and LuaTeX with polyglossia
and special one for languages only supported by XeTeX.

Update tagging patterns and comments.
2019-09-04 14:00:39 +02:00
Scott Kostyshak
80a675cd52 ctests: invert a test failing due to babel bug
This test fails with an updated TL, although it passes on some older
systems.
2019-09-02 20:55:38 -04:00
Scott Kostyshak
983fa4d9d8 ctests: uninvert AA tests thanks to recent fixes
Thanks to 54fd0a70, all AA tests can be uninverted except for two
texF tests.
2019-08-30 07:53:30 -04:00
Günter Milde
3082d71ac5 Small ctest update. 2019-08-29 09:55:01 +02:00
Günter Milde
600376b96c ctest update: new and resolved failures after TL update, resoved lyxbug. 2019-08-25 12:27:25 +02:00
Günter Milde
f6e65dc508 ctest update: we now work around a problem with Czech or Slovak text in some tables. 2019-08-20 22:37:41 +02:00
Günter Milde
130c744069 Drop support for XeTeX + TeX fonts + inputenc utf8.
LyX follows LaTeX in dropping support for this combination
(it only worked by tricking "inputenc.sty").
There is no known case where this combination is required or helpfull.

For power users with special needs, XeTeX + TeX fonts is still
available after setting the input encoding to "ascii" or "utf8-plain".

See also #10600.
2019-07-12 12:56:20 +02:00
Günter Milde
bab2316092 ctests Arabic: mark non-Arabic text parts as English, fix inversion pattern. 2019-06-03 16:58:10 +02:00
Günter Milde
b2cee3dcc5 Support more languages (file format change).
Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.
2019-06-03 16:58:10 +02:00
Günter Milde
8e06c2ffa9 Fix some problems with lyx2lyx_tools.revert_languages().
Amends 7bb30286.

Tested cases are now handled fine.

(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)
2019-06-03 16:58:10 +02:00
Günter Milde
fc99ef2ab3 ctest test documents for lyx2lyx.
Currently failing due to an error in revert_language().
2019-06-02 00:04:34 +02:00
Günter Milde
ad8a71a7b9 ctest tagging update. 2019-05-25 15:32:24 +02:00
Günter Milde
05877e0e60 ctests: sort dedicated test samples 2019-05-17 20:54:29 +02:00
Günter Milde
b505bcbab5 ctest update. 2019-05-14 15:31:41 +02:00
Günter Milde
40240ef6a0 Improve error message and ctests for input encoding cp858.
Encoding cp858 supported by only some iconv variants.
Most users will want to change their "encoding" setting instead
of installing/recompiling "iconv" to support this legacy encoding.

ctests are likely will fail with either "vanilla" or "enhanced"
iconv and test a situation that is unlikely to change generally,
so we ignore this test now by default.
2019-05-09 09:28:37 +02:00
Günter Milde
cb3e79f9a0 Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
Günter Milde
df1f0d82a2 ctests: dedicated tests for languages supported by polyglossia/babel 2019-05-08 12:07:20 +02:00
Günter Milde
46119b3564 Make Japanese documentation more robust.
The locally defined Ruby (furigana) inset now
works also with non-TeX fonts.
2019-05-07 16:16:35 +02:00
Scott Kostyshak
43e9f589fc ctests: reinvert the test "fa-OT1_pdf2"
This test got uninverted at e8e3dafd because of the renaming.
2019-05-07 00:11:58 -04:00
Günter Milde
cb39220930 Update tests and documentation for supported languages. 2019-05-03 14:04:11 +02:00