Commit Graph

706 Commits

Author SHA1 Message Date
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
Kornel Benko
fe4ba565f6 Partially revert 43b81bec, export.cmake was not intended to change 2020-01-17 23:52:23 +01:00
Kornel Benko
43b81becc6 Cmake config: Rename some variables to match the ones used by automake
LYX_RELEASE_VERSION renamed to LYX_RELEASE_VERSION
and got the new value of
LYX_RELEASE_PATCH
from configure.ac too
2020-01-17 14:25:57 +01:00
Günter Milde
9486ef6ade ctests: ignore irrelevant export formats for some dedicated tests. 2020-01-01 16:09:36 +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
Kornel Benko
7b44280da4 Cmake tests: Make foreach() command robust
Cmake's foreach command includes forms
  foreach(<loop_var> IN LISTS <lists>)
  foreach(<loop_var> IN ITEMS <items>)
  foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
  file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN',  or 'RANGE', then
the command
  foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)

In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.
2019-12-15 13:59:33 +01:00
Kornel Benko
6c291b262a ctest: Change the check-sequence for a test
Really ignore test of export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
before allowing all other pdf4_texF tests
2019-12-13 14:58:24 +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
Günter Milde
d2370de461 ctests: update unreliableTests 2019-08-30 16:24:49 +02: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
487d5e24b1 ctests: make a comment more specific. 2019-08-21 08:59:35 +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
Kornel Benko
54a5e3f37f Cmake tests: Really ignore wrong_output_3059-rtl-tables-xetex_pdf4_texF test 2019-08-18 18:07:42 +02:00
Günter Milde
c09a693d24 Update release notes, correct comment. 2019-07-12 20:30:22 +02:00
Kornel Benko
eec7c4b654 Simplify regexes for combinations XeTeX + TeX fonts 2019-07-12 13:16:53 +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
a6c2ae4be8 Update documentation for Japanese with other languages. 2019-05-09 21:56:16 +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
c34624e28b ctests: ignore mathmacro and tabletemplate tests with XeTeX and TeX-fonts.
Adding these tests rule to ignore this combination
(which is known to fail if inputenc = auto-legacy).
2019-05-08 12:15:14 +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
Günter Milde
74b1b9d86f ctest update
Separate xetex-inputenc test sample in working and non-working parts.

Sort HTML-only tests.

Update tagging and ignore-rules.

Change inputencoding to utf8 in dedicated tests (get pdf4_texF working).
2019-04-29 21:13:33 +02:00
Günter Milde
9fdae0d84c Use utf8 inputencoding for Russian documentation.
Solves errors with luatex and enables compilation with xetex.
Add dedicated test document for the errors with auto-legacy and xe/luatex.
2019-04-28 22:45:51 +02:00
Günter Milde
e8e3dafd8f ctests: Sort dedicated test documents for language support. 2019-04-28 19:34:37 +02:00
Günter Milde
7a87599a3e Load inputenc after babel with Thai.
"thai.ldf" breaks "inputenc" by changing catcodes.
Loading "inputenc" after "babel" allows a workaround.
2019-04-27 17:09:29 +02:00
Günter Milde
56304a6505 ctest update
Document findings around the failure of platex with ps2pdf.

Fix some tagging regexps for nonstandard features.
2019-04-25 23:19:07 +02:00
Günter Milde
c6f64bc734 ctest update
invert tests failing in TL19,
fix sorting in "supported-languages.lyx".
2019-04-25 14:02:58 +02:00
Günter Milde
e4881633ec Set inputenc for Spanish documentation to utf8
Works around a bug in Spanish-Babel that led to wrong output with LuaTeX and TeX fonts.
2019-04-20 21:39:49 +02:00
Günter Milde
15b7ea4828 ctest and documentation update
Thai works fine with LuaTeX, TeX-fonts and auto-legacy input encoding.

Remove obsolete preamble code,
we now load "fontenc" with Japanese documents by default.
2019-04-20 21:39:49 +02:00
Günter Milde
357a8bedbf ctest fixes. 2019-04-17 13:37:26 +02:00
Günter Milde
29265ce702 language support update (tests and workaround for Thai). 2019-04-16 22:05:58 +02:00
Günter Milde
90a26eabe7 ctests: fix some test failures reported by Kornel. 2019-04-13 17:55:38 +02:00
Günter Milde
3362e94592 ctests: update tagging rules
Don't generally ignore Japanese documents with non-TeX fonts,
as some of them compile.
2019-04-12 18:08:17 +02:00