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
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
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
Günter Milde
6ee140f413
ctest update
...
* Do not change font choices when testing with non-TeX fonts.
* Add "nonstandard" tag for documents with requirements outside TeXLive.
* Ignore missing character in legacy Basque document.
2019-02-26 19:13:15 +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
124e3c92e2
ctests: useSystemFonts.pl -- revert changes in 1879fbedfb
.
2019-02-15 07:07:15 +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
Kornel Benko
7f6d93955a
ctests: Ignore some MergedManual tests with permanent problems
2019-02-12 09:38:26 +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
f8d42aed39
ctests: update Korean tests, add "language default" test including Chinese.
...
Set suitable non-TeX fonts in the test document.
Use "kotex" language package.
2019-02-05 11:24:53 +01: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
46f5acb19c
Chinese localization in user preamble using "ctex" with non-TeX fonts
...
https://tex.stackexchange.com/questions/17611/how-does-one-type-chinese-in-latex
TODO: use "ctex" if the document language is Chinese.
Remove "\clearpage" workaround from documents
(not required after fix for #5386 in [5ebc0b3f432f468/lyxgit]).
2019-01-29 22:31:58 +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
7da76b1b9f
Load CJK support package before font selection.
2019-01-28 17:26:52 +01:00
Günter Milde
964c15f80b
ctests: update CJK export tests.
2019-01-28 17:24:39 +01:00
Kornel Benko
05fb3114d5
Cmake export tests: Expand summary messages
...
Summary log messages are now used also for xhtml exports
2019-01-27 13:25:29 +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
Kornel Benko
96196b681a
Amend d31dc599
: Remove intermediate dirs
2019-01-23 23:09:55 +01:00
Kornel Benko
d31dc599ff
Cmake lyxxx export tests: Add summary of commands to log
2019-01-23 23:07:54 +01:00
Günter Milde
49583b7dd0
Fix encoding issue with lyx2lyx conversion of "Date" info-insets.
...
Remaining problem: the name of the day appears in English instead of the document language.
2019-01-23 11:06:04 +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
Kornel Benko
5435b900e4
Cmake build: Add format V2.0 to export tests
2019-01-17 12:27:12 +01:00
Günter Milde
5d5bb53887
The acmart package requires pdflatex, XeTeX or LuaTeX.
...
The acmart package requires pdflatex (with 8-bit fonts)
or xe/luatex with non-TeX fonts to give the expected output.
2019-01-16 22:55:05 +01:00
Günter Milde
0594a4fe72
ctests: update test tagging/categorization and export test for accents on Cyrillic letters.
2019-01-14 12:21:34 +01:00
Scott Kostyshak
bf1f3f827a
ctests: ignore latex8 LyX 2.2.x and 2.3.x tests
...
The cls is obsolete, so all PDF exports are disabled. We keep the
1.6.x and 2.1.x tests because those only check roundtrip
convergence, and do not export to PDF.
2019-01-13 14:21:16 -05:00
Scott Kostyshak
4b94d4b285
ctests: ignore minted 2.2.x tests
...
As explained by Enrico, backward compatibility is not guaranteed for
these cases (and indeed currently fails):
https://www.mail-archive.com/search?l=mid&q=20190113085555.GA7928%40GIOVE
2019-01-13 13:04:26 -05:00
Scott Kostyshak
70689f8dc0
ctests: add comment about formats that won't work
...
This way we will not try to test those formats for this file in the
future.
2019-01-13 12:34:44 -05:00
Günter Milde
4848301758
ctests: update sorting and documentation of inverted and ignored tests.
2019-01-10 22:41:53 +01:00
Günter Milde
0f569e961d
ctests: Update/clean up latex export tests after fix of #9681 .
2019-01-10 17:21:01 +01:00
Scott Kostyshak
05e2621a17
ctests: uninvert two 008-greek-and-coptic tests
...
The following two exports now succeed, likely thanks to recent
commits:
008-greek-and-coptic_(utf8|utf8x)_pdf2
2019-01-09 19:49:48 -05:00
Scott Kostyshak
1cac0fb91f
ctests: move IEEEtran-Journal_lyx16 to inverted
...
It used to give an endless loop, so we "ignored" it (did not run the
test). Now it gives a lyx2lyx warning, which is reported at #11455 ,
so it is appropriate to invert the test.
2019-01-09 19:02:29 -05:00
Günter Milde
23f7431cfa
ctests: Dedicated LaTeX export tests for problematic input encodings.
2019-01-09 14:10:40 +01:00
Scott Kostyshak
b9b9759776
ctests: ingore a utf8-cjk test instead of invert
...
The 001-4-latin_utf8x_pdf2 test passes and the
001-4-latin_utf8-cjk_pdf2 test fails, which means that there are
characters in the .lyx file that are only available with
utf8-extended encoding, so the utf8 test is never expected to pass
in the future.
Thanks to Kornel.
2019-01-08 17:07:08 -05:00
Scott Kostyshak
84bd059828
ctests: improve a regex
...
The "004" did not actually match anything, so there is no change in
functionality.
This commit amends c2a99965
.
2019-01-07 18:19:26 -05:00
Günter Milde
81066e2894
ctests: utf8-plain now works with all export variants.
...
utf8-plain (Unicode (utf8 XeTeX)) is a power-user setting
for the input encoding with two use cases:
a) setup of system fonts or
b) setup of input encoding supportuser preamble
in the document class or user preamble.
The test file is an example for use case b.
2019-01-07 23:21:04 +01:00
Scott Kostyshak
c2a9996541
ctests: uninvert CJK exports that now succeed
...
These tests were likely fixed with d193cd05
. There are still some
failing CJK tests, but many were fixed.
2019-01-07 14:49:38 -05:00
Scott Kostyshak
9238004c25
ctests: uninvert ko splash.lyx dvi, pdflatex tests
...
These exports now pass thanks to the recent CJK improvement at
d193cd05
and specifying "mj" as CJK font (0cfaf406
).
2019-01-06 14:49:07 -05:00
Scott Kostyshak
372c83ebdb
ctests: ignore Bibliography.lyx PDF export tests
...
Bibliography.lyx is not expected to be compiled on its own. See:
https://www.mail-archive.com/search?l=mid&q=20190104195414.opgeuggeqakxl2fo%40barna
2019-01-06 02:19:06 -05:00
Scott Kostyshak
92630971bd
ctests: invert ar UserGuide.lyx lyx22x and lyx23x
...
These tests are expected to fail since the default export is
expected to fail.
2019-01-05 18:51:23 -05:00
Scott Kostyshak
bf65c9fb38
ctests: invert ko splash lyx22x and lyx23x tests
...
The Korean splash.lyx is expected to fail with pdflatex. The lyx22x
and lyx23x tests were not failing before because they were exporting
to XeTeX with system fonts, which succeeds. After c9e62dec
(which
corrects the export format to the default), the lyx22x and lyx23x
tests should be inverted.
2019-01-05 17:40:43 -05:00
Kornel Benko
c9e62dec53
Cmake lyx2lyx tests: Correct use of value for \use_non_tex_fonts
...
Amend eec3d1eb,7568571a
We are trying to check if the resulting file after lyx2lyx
is compilable, we have to ensure that copying the original file
to the test directory does not mangle use_non_tex_fonts-entry.
2019-01-05 08:34:00 +01:00
Scott Kostyshak
7f5e7c89b4
ctests: do not invert a test for 2.3.x format
...
The test 'export/lyx2lyx/lyx_2_3_test_lyx' is expected to fail for
formats before 2.3.x, but is expected to pass for 2.3.x.
2019-01-04 21:50:19 -05:00
Scott Kostyshak
07425a6215
ctests: extend a regex to cover 2.3.x export
...
The tests of "attic/aastex6_sample" are ignored for previous LyX
format exports, and should also be ignored for the newly extended
2.3.x tests.
2019-01-04 21:50:19 -05:00
Juergen Spitzmueller
c65b146d86
Revert "ctests: invert JSS-article lyx2lyx tests"
...
This reverts commit 5ad0395dca
.
2019-01-04 16:37:57 +01:00
Kornel Benko
21254cd962
lyx2lyx tests: Add conversions to lyx23
2019-01-04 05:58:56 +01:00
Scott Kostyshak
5ad0395dca
ctests: invert JSS-article lyx2lyx tests
...
The regression has been reported at #11448 .
2019-01-03 23:32:41 -05:00
Kornel Benko
7568571a24
lyx2lyx tests: Use the temp-dir also for converted lyx files
...
Important if including data previously copied there.
Fixes test "export/doc/Additional_lyx22"
2019-01-04 05:21:07 +01:00
Kornel Benko
eec3d1eb20
lyx2lyx tests: Copy also original lyx files to temp dir
...
Necessary only if the lyx-file includes some data from
a relative path, nonetheless it happens in some of our tests.
2019-01-03 08:46:26 +01:00
Scott Kostyshak
8c266ee28d
ctests: restore thesis.lyx lyx2lyx tests
...
These tests failed because of (multiple instances of) the following
warning:
Warning: a buffer should not have two parents!
This warning is expected, because, for example, chapter-1 includes
Bibliography.lyx and chapter-2 includes Bibliography.lyx. thesis.lyx
includes both chapter-1 and chapter-2, so both are loaded (but
hidden), and Bibliography.lyx is loaded (but hidden), and LyX then
sees that more than one buffer includes Bibliography.lyx
The consequence of ignoring this warning is that we will not catch
any future regression that triggers this warning when it should not.
2019-01-02 14:12:17 -05:00
Kornel Benko
8d927de5ee
Amend 12aaeb25
, add Bibliography.lyx to the set of not tested subdocuments
2019-01-02 16:32:24 +01:00
Kornel Benko
d2ea9c44b2
findadv tests: Adapt one test for the new greedy behaviour
2018-11-26 16:00:27 +01:00
Kornel Benko
23e2ea358f
findadv tests: Remaining test passes now too
2018-11-03 12:30:07 +01:00
Kornel Benko
47455ad65e
Added test findadv-22
...
Related to https://www.lyx.org/trac/ticket/11241
(Find and replace doesn't find a wedge of two things in a subscript.)
2018-10-31 11:19:47 +01:00
Kornel Benko
f0d7432608
Findadv: Remaining findadv tests pass now
...
Exception: findadv-21, but it is not a regression,
because this one never passed.
The problem here is, that we cannot differentiate
between enumeration, itemize, description and labeling
environment here.
2018-10-29 13:17:54 +01:00
Kornel Benko
2d477c5e0a
Changes to match math equations
...
Now tests findadv-01 ... findadv-20 pass too.
keytest.py: Expanded time for controll keys (like \[Return])
findadv*: expanded time for normal keys
lyxfind.cpp: Handle math equations
2018-10-28 19:40:14 +01:00
Kornel Benko
73188e3821
keytests: regex correction in test findadv-re-04
...
Use '+' instead of not working '*' as quantifier
for advanced search with format enabled
2018-09-29 12:54:22 +02:00
Kornel Benko
f2399f42fe
keytests: Add waiting time to ease lyx-logs on some commands
2018-09-13 18:34:18 +02:00
Kornel Benko
2f1c9f67b0
keytests: Adapt test 'keytest/bug-10636' to changed binding for source preview
2018-09-13 16:51:07 +02:00
Kornel Benko
20c280bdfc
Cmake export tests: Ignore missing glyph for ar/UserGuide_pdf4_systemF
...
Scheherezade font misses glyph '␣'
2018-09-10 14:06:12 +02:00
Kornel Benko
d49deef4f9
Export tests: Ignore compilations of copernicus with luatex or xetex
...
The compilations fail because the macro
\DeclareUnicodeCharacter
is not defined. Also the sequence
\ifnum\pdfoutput=\z@
is making troubles.
The exports to previous lyx-versions is disabled too,
because there is no layout defined there.
2018-09-04 15:56:21 +02:00
Kornel Benko
2a72fa3a04
Amend 2877032
2018-08-24 13:20:51 +02:00
Kornel Benko
a860c436c9
ctest export tests: Discard obsolete aastex tests
2018-08-14 14:09:09 +02:00
Kornel Benko
6bfd91ead4
New sample for aastex62
...
aas_sample62.lyx is a adapted version of aas_sample.lyx
2018-08-14 10:29:15 +02:00
Kornel Benko
b4bbfa5ff0
ctests: ignore obsolete aastex6.cls
...
aastex6.cls is obsolete in TL18 and replaced by aastex62.cls
2018-08-14 09:40:42 +02:00
Kornel Benko
c515572f5f
Cmake key tests: Corrected test findadv-21
...
Uses the correct shortcuts from lib/bind/sk/menus.bind, but fails nonetheless
because the regex for advanced search cannot find the correct list type.
(That is: it cannot distinguish between 'enumerate', 'itemize', 'labeling', etc.)
2018-07-07 11:10:20 +02:00
Kornel Benko
25ff03d120
Cmake tests: Adapt some keytests due to changed key-bindings
2018-06-23 19:00:04 +02:00
Kornel Benko
b47c31d52a
008-greek-and-coptic.lyx now compilable with iso8859-7 inputencoding
...
Removed from invertedTests
2018-05-05 08:24:50 +02:00
Scott Kostyshak
9d24033d9b
ctests: invert ar/UserGuide_pdf4_texF
...
Consistent with the other ar docs, this file was never meant to
compile with TeX Fonts (for more information, see the note next to
the inversion).
2018-04-28 23:58:23 -04:00
Kornel Benko
432580e397
Cmake export tests: All cyrillic tests pass no
2018-04-23 14:57:21 +02:00
Kornel Benko
a33d957832
Uninvert some cyrillic and greek tests
2018-04-21 12:13:51 +02:00
Kornel Benko
70dac835d3
Cmake export lyx* tests: Omit compilation of lyx16x, lyx20x and lyx21x exported files
...
These file don't contain the \\origin tag. So the possibly included
files with relative path would not be found. The compilation to
the default pdf would then anyway fail.
2018-03-15 22:34:26 +01:00
Kornel Benko
8502e6c476
Cmake export lyx* tests: Ignore new lyx2lyx warning
...
Don't know why this warning is unconditionlly emitted
2018-03-15 22:31:48 +01:00
Günter Milde
fbfa82b313
ctests: Update dedicated lyx2lyx tests.
2018-02-07 18:49:21 +01:00
Günter Milde
0d9708ef04
Use LaTeX macros instead of Latin transcription for Greek characters.
...
Use the LaTeX internal character representation (LICR) macros
provided by lgrenc.def (since version 0.8 from 2013-05-13)
in lib/unicodesymbols. This fixes the PDF bookmarks (except for the
legacy input encoding iso-8859-7) and solves the problem of a missing
"v" character in Libertine LGR fonts (see lyx-users from 2018-01-29).
The ctest unicodesymbols/008-greek-and-coptic_iso8859-7_pdf2" now fails
(due to #9681 ). This is not a regression, as it is already
"unreliable" (wrong output, Latin character instead of Greek).
Drop compatibility definition of \~ as perispomeni accent
(that was required with lgrenc.def < 0.8).
2018-01-30 22:31:08 +01:00
Kornel Benko
1e78772291
Cmake tests: New lyx2lyx tests
...
Created by Günter Milde, after having corrected plenty of lyx2lyx errors
showing with repeated lyx2lyx calls.
2018-01-24 20:56:21 +01:00
Kornel Benko
40e32d4d27
lyx2lyx tests: Check for possible endless expansion
...
If, after the 10th iteration, the exported lyx16x file still
differs from the one in the previous iteration, the test
is marked as failing, even if still loadable.
2018-01-22 14:43:50 +01:00
Kornel Benko
c7cd1e636c
Revert "ctests: Ignore lyx2lyx warnings regarding ligature dashes"
...
Amends 9ce5d85
: Prevent rows of hyphens becoming dashes when back-porting to 2.1.
This reverts commit a5a272ece3
.
2018-01-18 08:11:53 +01:00
Scott Kostyshak
dc06714adb
ctests: invert for new ru example_lyxified.lyx
...
Consistent with the ru splash.lyx, we invert the texF tests for the
ru example_lyxified.lyx, which was recently added at 69ef4bc1
.
2018-01-17 23:18:08 -05:00
Kornel Benko
26eeaa1af2
vcs_info_export moved to new directory, part 2
2018-01-17 12:25:22 +01:00
Scott Kostyshak
39c22913a2
ctest comment: be more clear about what "!" means
...
The "!" line only affects tests in that file.
This amends c6d4380c
.
Thanks to Kornel for spotting this.
2018-01-17 01:08:26 -05:00
Scott Kostyshak
c6d4380c89
Comment: explain interpretation of "!"
...
The "!" line takes precedence, since it is first.
2018-01-15 17:28:14 -05:00