Commit Graph

646 Commits

Author SHA1 Message Date
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
Günter Milde
895fa9b3c6 ctest fixes.
Hebrew with "nikud" requires HE8 font encoding.
All tests requiring Hebrew 8-bit fonts are "nonstandard".
2019-04-03 08:36:46 +02:00
Günter Milde
2e854cd36c ctest update.
* some Japanese (platex) documents fail with inputenc "utf8-platex"
  (missing characters in non-Japanese text parts), because the
  Unicodechar definitions from "inputenc" are not used.

* some Japanes (platex) documents show wrong output with "auto",
  because platex ignores the encoding switch for text parts
  in other languages.

* Japanese Beamer documents must set default output to "pdf",
  because dvipdfm(x) produces wrong output with document class "Beamer".

* update tagging/inverting rules.

* use HE8 font encoding for Hebrew in language test.
2019-04-02 16:46:26 +02:00
Günter Milde
c604c14160 Ignore CJK-tests with Xe/LuaTeX and tex fonts.
The CJK package does not support this combination...
2019-04-02 16:46:26 +02:00
Günter Milde
d4ade2bc1c unicodesymbols: add Hebrew nikud symbols and presentation forms.
The "nikud" (vowel) signs, shindot, and shindot  are combining Unicode
characters. However, LaTeX-Hebrew expects them as postfix characters, not
accent macros (cf. www.cs.tau.ac.il/~stoledo/Bib/Pubs/vowels.pdf).
2019-04-01 19:12:36 +02:00
Kornel Benko
1d90561675 Cmake export tests: Set \origin also for unavailable
This is important for lyx-files not under the lyxsystemdir.
Since the exports are done from a copied lyx-file, some referenced data
may be available only relative to the source of the original.
2019-03-31 18:17:04 +02:00
Kornel Benko
50779dda7a Cmake export tests: Use absolute paths for subfiles inside the source dir
The testfile is inside the build dir, so no relative path to the source dir
should be alloved.
2019-03-31 11:34:14 +02:00
Kornel Benko
743c28e6f5 Cmate tests: Use absolute values for systemlyxdir
This omits use of relative path for the \origin variable
inside the test-build-dir.
2019-03-30 12:06:36 +01:00
Günter Milde
7644c32a71 ctest update.
Still cleaning up after the massive renaming and -sorting
of examples and templates.
2019-03-29 11:55:20 +01:00
Günter Milde
ffc682424e Update ctest tagging and documentation/sample organisation. 2019-03-28 13:30:22 +01:00
Günter Milde
f0b326a9f4 Comprehensive language test document and some more fixes.
Work around or document language clashes and limitations.
2019-03-27 17:49:08 +01:00
Günter Milde
b1b8071168 ctest update.
#9681 is fixed in master.
Hebrew with 8-bit fonts fails with vanilla TeXLive.
Add link to ticket in dedicated test document.
2019-03-27 16:20:17 +01:00
Günter Milde
48b92cf63c Test for #11532 "inputencoding desynchronisation". 2019-03-27 15:57:38 +01:00
Kornel Benko
9e684f3a16 Cmake export tests: enable the hebrew documents again.
The missing david fonts error vanished after reinstalling
the culmus-latex-0.7-r1 package.
2019-03-26 17:04:01 +01:00
Kornel Benko
600127ff86 Cmake export tests: make even more tests pass 2019-03-26 15:47:30 +01:00
Kornel Benko
f6f9de1cd8 Amend 683b3a05: Introducing table templates
Added test cases
2019-03-26 15:29:01 +01:00
Kornel Benko
0752a263a0 Cmake export tests: some testnames corrected
Also don't use tex gyre fonts, use dejavu instead
2019-03-26 15:11:10 +01:00
Kornel Benko
78059a49af Cmake export tests:
Added missing file to make Europass_CV-files compilable
lyxStatus.pm: Added handling for inserted files with used extension
2019-03-25 20:50:58 +01:00
Kornel Benko
226e0bb2b7 Some more tests which are not failin anymore
About 100 less, still remaining about 200
2019-03-25 19:32:59 +01:00
Kornel Benko
db1247e51b Cmake export tests: Indenting + ignore '%' in file names 2019-03-25 18:46:15 +01:00
Kornel Benko
baa93548c8 Cmate export tests: Thinko, using entry as array also in cases where it is not 2019-03-25 14:48:17 +01:00
Günter Milde
082629d973 Fix included file paths and ctest tag rules after renaming examples 2019-03-24 23:12:02 +01:00
Kornel Benko
b7a3068df0 Cmake export tests: Fix some tests using Curricula_Vitae
Still the German versions are not compilable due to missing file 'REPLACEphoto.jpg'
2019-03-24 22:20:09 +01:00
Kornel Benko
6b12a48a51 Cmake export tests: Omit underlines in temporary file names
Also try to copy all versions of an included reference.
The example is the search for CV-image in Modern_CV.lyx.
The two file (CV-image.eps and CV-image.png) have to be copied while
keeping the same base name.
2019-03-24 22:12:07 +01:00
Kornel Benko
75d42f72d9 Corrected tests for chess exports 2019-03-23 10:05:18 +01:00
Günter Milde
1c5698af02 Adapt ctest tagging rules to the changed file names of templates and examples. 2019-03-22 23:57:29 +01:00
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
Kornel Benko
caaa317a95 Amend d3ec77c6: Reorganize templates and example folders
Fixed cmake tests
2019-03-19 10:56:06 +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
Kornel Benko
de9b1ae5fa Amend 92628a29:Try to use valid locales for testing 2019-03-13 19:49:11 +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
6b4adc6d7a ctests: ignore a texF test
The document has "use_non_tex_fonts true" set.
2019-03-06 20:14:47 -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