Commit Graph

116 Commits

Author SHA1 Message Date
Günter Milde
ecd0b57f6f Amend d3ec77c633: adapt ctest tag files.
Update the regular expressions for inversion and tagging of tests
to use the new paths for examples and templates.
2019-03-21 17:41:14 +01:00
Scott Kostyshak
b6ab5cd962 ctests: inverted -> "wrong output" for 2 uk tests
These exports no longer give an error (with TL18, TL19-pre), but
have wrong output.
2019-03-19 23:08:35 -04:00
Scott Kostyshak
a4bf8a733d ctest control files: s/splash.lyx/Welcome.lyx/g
This follows d3ec77c6.
2019-03-19 23:01:11 -04:00
Günter Milde
1933102593 ctest update and small documentation fixes. 2019-03-19 22:17:52 +01:00
Günter Milde
553bebc355 Fix #11520 Wrong inpute encoding when master and child use different setting. 2019-03-18 18:17:39 +01:00
Günter Milde
54b719bf5d ctests: update tagging scripts. 2019-03-17 11:32:14 +01:00
Günter Milde
d53a13a475 ctest for bug #11519 2019-03-16 17:55:44 +01:00
Günter Milde
2b61033324 ctests: add tests for #10600 (forced inputenc "ascii" with XeTeX and TeX-fonts). 2019-03-16 13:39:56 +01:00
Günter Milde
4a481975b6 Use CJKutf8 package if input encoding is "utf8" and a used language requires CJK.
CJKutf8 now used also if a secondary language requires CJK.
2019-03-13 11:31:25 +01:00
Günter Milde
ddf947b8fd ctests: dedicated test for problem with textgreek and textcyrillic. 2019-03-12 22:44:13 +01:00
Günter Milde
95cbaa387c ctests: Update tagging rules and comments. 2019-03-08 19:29:39 +01:00
Scott Kostyshak
18c56516bc ctests: invert luainputenc-utf8_pdf5_texF
From Günter:

> OK, so in TL18 the Ukrainean "auto-date" (7 березня 2019 р.) fails with
> PDF (XeTeX) and DVI (LuaTeX) but not PDF (LuaTeX).
> Strange. Feel free to invert.
2019-03-07 17:23:47 -05:00
Scott Kostyshak
b596b71723 ctests: invert an unreliable test
We try to make it so that the test passes on the most up-to-date TL.
2019-03-06 20:46:12 -05:00
Scott Kostyshak
26a2c27cc3 ctests: uninvert languagenesting2_pdf5_systemF
This export succeeds.
2019-03-06 20:03:59 -05:00
Scott Kostyshak
c11ab897a7 ctests: correct an inverted pattern
Amends 65fbd585.
2019-03-05 14:02:55 -05:00
Günter Milde
316b49c158 Re-invert failing tests with Hebrew, LuaTeX and 8-bit fonts. 2019-03-05 10:00:46 +01:00
Günter Milde
f674f563da ctest update: compilation errors due to #6463 are fixed. 2019-03-05 10:00:46 +01:00
Scott Kostyshak
65fbd58516 ctests: invert ja ps2pdf Additional, UserGuide
These exports did not have correct output before, and now (with an
updated TL18), ps2pdf gives an error.
2019-03-05 02:45:42 -05:00
Scott Kostyshak
7b8f87e172 ctests: uninvert LuaTeX texF es/EmbeddedObjects
With updated TL 2018, there is no longer an error (however, the
output is still incorrect).
2019-03-04 22:31:06 -05:00
Günter Milde
ff8cec5ea5 ctests: Problem with auto-date for Ukrainian with Xe/LuaTeX and TeX fonts.
New bug in TeXLive 18.
Missing characters with XeTeX and wrong characters with LuaTeX.

Also:
* Remove spurious (Latin) characters from uk/Intro.lyx
* "wrong-output" tag for Cyrillic documents with XeTeX and TeX fonts.
2019-03-04 16:22:00 +01:00
Günter Milde
fd106637be ctest and documentation update
The special test "arabic_simple.lyx" is no longer required,
"examples/ar/splash.lyx" works with 8-bit fonts now.

Update tagging patterns and comments.
2019-03-04 00:04:04 +01:00
Günter Milde
4de4263f93 ctest update.
* set required non-TeX fonts in the documents
* update comments for inverted tests
* update some tags
2019-02-25 01:19:14 +01:00
Günter Milde
251161db89 ctests: "Uninvert" IEEE tests with non-TeX fonts. Fix missing characters.
Documents used deprecated or lookalike characters missing in
Latin Modern system fonts:

Customization.lyx: "figure dash" instead of "emdash".
revtex4-1: "Angstrom sign" instead of "latin letter A with ring".
2019-02-14 01:06:57 +01:00
Günter Milde
1879fbedfb ctest update: Set non-TeX fonts in documents, update comments and tags. 2019-02-13 10:34:18 +01:00
Günter Milde
709dab4beb ctests: update tagging rules. 2019-02-13 00:11:27 +01:00
Günter Milde
7a17610a00 Load "textcomp" and "pmboxdraw" before "(lua)inputenc" to fix #11454.
Prevents wrong or missing characters with LuaTeX and 8-bit fonts.

Also "uninvert" the corresponding test case and two other
no longer failing "unicodesymbols" exports.
2019-02-12 09:22:55 +01:00
Günter Milde
ec86638d23 Amend 1e3e30da15 (unicodesymbols) and uninvert tests that now compile. 2019-02-09 20:44:29 +01:00
Scott Kostyshak
f3aabbd4d7 ctests: uninvert a few Farsi splash tests
Thanks to changing the encoding at f82030d2, these exports now
succeed.
2019-02-09 13:30:24 -05:00
Günter Milde
1c9d3da938 Force "unicodesymbols" conversion for legacy CJK encodings where required. 2019-01-31 18:29:04 +01:00
Günter Milde
d497de7643 ctests: invert test for #6197 2019-01-31 12:51:02 +01:00
Günter Milde
7e120159fc ctests: Update Chinese report example. 2019-01-30 15:54:30 +01:00
Günter Milde
319a986fc0 Do not use \inputencoding when the buffer input encoding is one of the "legacy" CJK encodings.
If Document>Settings>Language>Encoding is set to any value except "auto" or "default", we
expect the whole document to use this encoding. Wiht encodings from the CJK package, this means
one big "CJK" environment and no encoding switches.

Characters that are not handled by the CJK package need to be "forced" in lib/unicodesymbols.
This is completed for "euc-cn", the others will follow.
2019-01-30 15:14:45 +01:00
Günter Milde
b01eb6c6a4 ctests: fix/update CJK tests. 2019-01-30 00:53:31 +01:00
Günter Milde
8060c8e488 ctests: Dedicated test and comments for "lyx2lyx.lyx_2_4.revert_fonts". 2019-01-29 15:11:21 +01:00
Günter Milde
7e1c5ae44b ctests: update tests after the last fixes. 2019-01-29 10:52:41 +01:00
Günter Milde
62865d190d Fix CJK environment nesting issue.
If the last paragraph is nested in an environment,
we'll have to \end that first.
2019-01-28 23:02:33 +01:00
Günter Milde
34f5ba3c54 Fix for CJK-documents with input-encoding "utf8". 2019-01-28 17:49:58 +01:00
Günter Milde
964c15f80b ctests: update CJK export tests. 2019-01-28 17:24:39 +01:00
Günter Milde
67ed1ec03a ctests: fix system font setup for some CJK documents 2019-01-25 16:51:59 +01:00
Günter Milde
63807af2ca ctests: small correction of inverted tests. 2019-01-24 15:54:13 +01:00
Günter Milde
197735747e Support for documents in other scripts with parts in CJK scripts.
Fix CJK support for documents using input-encoding "utf8-cjk"
when the main language is not Chinese, Korean, or Japanese.
2019-01-24 00:40:51 +01:00
Günter Milde
e8c497e33e ctests: export tests for CJK in multilingual documents. 2019-01-23 00:57:20 +01:00
Günter Milde
d104005151 Add example for mulit-lingual Japanese document with CJKutf8. 2019-01-22 16:06:37 +01:00
Günter Milde
f82030d211 Farsi document with custom font encoding OT1 fails.
Set font encoding in examples to "auto" and add minimal test sample.
2019-01-22 12:02:57 +01:00
Scott Kostyshak
faac4944c4 ctests: invert acmart_lyx23 because of known issue
LyX expectedly gives the following warning:

  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.

This issue was reported to the maintainer. This commit is consistent
with 00f7a95f.
2019-01-21 13:12:57 -05:00
Scott Kostyshak
b6ac52bf3f ctests: invert also es modernCV 16 and 20 tests
Consistent with 9d7a3e21.
2019-01-21 13:00:32 -05:00
Günter Milde
31420c4ce4 ctest: Patterns in invertedTests must match the full test name. 2019-01-21 16:43:00 +01:00
Günter Milde
9d7a3e21ee ctests: Invert failing lyx2lyx tests for modernCV.
Exports to LyX < 2.1 fails.
2019-01-20 19:57:30 +01:00
Günter Milde
67c5ee439d ctests: Invert failing lyx2lyx tests for beamer.
Some exports to versions < 2.1 fail due to a warning about missing layout name.
2019-01-20 18:24:41 +01:00
Günter Milde
12c301d1ca update latex export tests, add test for bug #9871 2019-01-20 17:23:41 +01:00