Commit Graph

695 Commits

Author SHA1 Message Date
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
Günter Milde
9dd7ffff7b ctest update: Japanese documents (should) work with non-TeX fonts.
* do not ignore Japanese (platex) with system fonts.

* CJK can be used with XeTeX and TeX-fonts if the input encoding is utf8.
  do not ignore.

* TODO: set non-TeX fonts and uninvert where possible.
2019-04-12 18:08:17 +02:00
Günter Milde
da23637d7f Do not switch the input encoding inside documents using platex.
Fixes wrong and missing characters in text parts in other languages
(platex does not support "inputenc").

Fixes compilation errors due to desynchronized encoding switches.
2019-04-12 18:08:17 +02:00
Günter Milde
9e21ed546d ctests: update ignoredTests patterns and comments. 2019-04-12 18:08:17 +02:00
Kornel Benko
b9968d688b Ctests: Invert some Spanish tests using non-ascii in references
These tests fail at the combination luatex + tex fonts.
2019-04-12 13:37:00 +02:00
Günter Milde
230cc9bc5b ctest: update tagging scripts. 2019-04-10 21:02:10 +02:00
Günter Milde
450b02262e ctest: update/fix tag rules. 2019-04-10 15:57:23 +02:00
Günter Milde
b32cf2a4c0 unicodesymbols: support Thai characters.
Also update the ctests.
2019-04-09 23:07:05 +02:00
Kornel Benko
58a2f250b6 Cmake export tests: Do not compile Minted files converted to lyx22 format 2019-04-08 16:39:50 +02:00
Scott Kostyshak
23fecedbb0 ctests: adapt regex for "Obsolete/Latex8_.*" 2019-04-07 02:01:34 -04:00
Günter Milde
639c01d0d4 ctests: examples/uk/Welcome.lyx still fails with XeTeX on TeXLive19.
Tenacious bug in babel-ukrainian:
The date-string uses literal unicode characters (not present in TeX-fonts)
that somehow bypass inputenc's utf8 decoding.
2019-04-06 18:14:54 +02:00
Günter Milde
6def81f30f Fix #10600: XeTeX with 8-bit TeX fonts requires input encodings "utf8" or "ascii".
* New: support also utf8 (working around false positive test in "inputenc.sty").

* Do not force the change of input encoding to "ascii".

  Deny compilation with XeTeX if a document uses TeX fonts and a non-supported input encoding.
2019-04-03 15:32:44 +02:00