Commit Graph

3916 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
aff2ee6058 Add soul module 2019-03-22 18:29:50 +01:00
Uwe Stöhr
3aaa6078fd installer: fix a display issue
a path in the uninstaller was not visible because of missing line breaks
2019-03-22 01:18:04 +01:00
Uwe Stöhr
aca0abc7b0 installer: remove unsupported TeX distributions
MiKTeX 2.8 and TeXLive 2014 are since a while not supported
2019-03-22 01:06:56 +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
Kornel Benko
4da338e550 CMake build: Rename HAVE_LONG_LONG to HAVE_LONG_LONG_INT 2019-03-21 16:12:02 +01:00
Kornel Benko
afccaae48a Amend 601244ba92: Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
Cmake changes
2019-03-21 15:17:24 +01:00
Uwe Stöhr
84863eb1b0 installer/setup/configure.nsh: revert an unwanted commit part 2019-03-21 02:45:21 +01:00
Uwe Stöhr
0ddc4d4dd1 installer: fix icon issue
LyX did not show up in the Windows Control panel with its icon
2019-03-21 02:41:57 +01:00
Uwe Stöhr
ef64a3b741 installer: update some links
also update header info
2019-03-21 02:40:44 +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
a410b0d698 Cmake build: Amend(2) d3ec77c6: Reorganize templates and example folders
Install files from these new directories
2019-03-19 14:36:14 +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
Juergen Spitzmueller
ebd7a1a22a Support for the Malayalam language
Patch by Joice Joseph
2019-03-10 10:21:59 +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
Kornel Benko
016c7d6260 Amend 4028eefe: Make callstack printing useful and optional
Added the option to cmake too
2019-02-26 09:50:58 +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
Jean-Marc Lasgouttes
9bdc0dab31 Honor Update::SinglePar properly
The SinglePar update flags has been a no-op for a long time without
naybody noticing. This means that the current paragraph was
always rebroken and redrawn, even when only moving the cursor around.

Now we only do that when Update::SinglePar has been specified. This
means that there may be cases where update will not be correct
anymore, because this flag has not been specified. These places will
have to be found and fixed.

Update PAINTING_ANALYSIS.
2019-02-20 14:41:22 +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
Uwe Stöhr
4162ed151c Win installer: remove no longer available package 2019-02-11 00:41:22 +01:00
Uwe Stöhr
028cf852dc Win installer: updates and fixes
- enable support for Georgian
- update file sizes
- re-introduce the dictionary download because it is necessary to step through several mirrors if necessary. This function was once added because as it is now, only one mirror is used, if it is dead the user won't get the dictionary
- update the mirror list
2019-02-11 00:17:42 +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
Kornel Benko
5e287500bf Cmake build: Fix some warnings with cmake3.13
Wrong set() syntax
2019-02-05 12:27:15 +01: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
Stephan Witt
a4d409b194 Add license info for inkscape start script 2019-01-06 09:28:20 +01: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
Stephan Witt
caa1dd2aee Correct converter configuration for inkscape on Mac
On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.

Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.
2019-01-06 00:22:32 +01: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