Commit Graph

125 Commits

Author SHA1 Message Date
Scott Kostyshak
f40413db11 Reg tests for language switching
Use cases from #12352. The files correspond to
mwe-remove-bottom.23.lyx and mwe-remove-top.23.lyx. The only
differences are that I changed to FreeSans and FreeSerif for the
fonts.
2021-12-29 10:38:16 -05:00
Juergen Spitzmueller
9929916935 Use Noto Sans Tibetan rather than Serif
The sans is more complete and also seems to be more widely distributed.
2021-12-29 13:44:40 +01:00
Scott Kostyshak
faa404f063 Reg test for protect: xymatrix in figure caption
Use case from #6243.
2021-12-27 10:26:04 -05:00
Scott Kostyshak
e056cab792 Reg test for cprotect: float in par environment
File from #7779.
2021-12-23 15:11:05 -05:00
Scott Kostyshak
4b8bb00573 Reg test for cprotect: comment in figure caption
File from #9313.
2021-12-22 22:45:39 -05:00
Scott Kostyshak
87bea67863 Regression test for cprotect, #7116
Start a new directory of cprotect tests. There are many situations
where cprotect is needed so we can add files covering various
situations as we find them.

This particular test covers the case of special characters in URL
insets in footnotes.
2021-12-22 22:03:02 -05:00
Scott Kostyshak
80a901506b languages test file: Use new Tibetan font name
Noto Sans Tibetan was not actually a sans font. On newer systems the
font is now Noto Serif Tibetan.

See, e.g., the package 'fonts-noto-core' in Ubuntu 21.04.

This change also fixes compilation of
supported-languages_polyglossia-XeTeX.lyx on Ubuntu 21.10.
2021-12-09 15:17:14 -05:00
Scott Kostyshak
4658781e56 Add regression test for font switch before comment
This is a tricky issue that was fixed at 9eab66eb.
2021-09-30 14:22:49 -04:00
Günter Milde
8eff3b1772 Fix lithuanian default font encoding and Xindy name.
FontEncoding L7x required for hyphenation but no longer set
by Babel (since 2017-12-06).

The PostBabelPreamble now sets L7x for Lithuanian, if it is defined
and restores the previous font encodng on exit.
2020-11-22 22:16:57 +01:00
Scott Kostyshak
f2622e1488 ctests: add test from #9043 which is fixedinmaster
This file succeeds on master, but not in 2.3.0 or 2.3.x (I have not
checked which commit fixed it).
2020-10-24 15:58:21 -04:00
Juergen Spitzmueller
b3bb9d26f7 Set up appropriate nonTeX fonts in test file 2020-08-17 14:10:59 +02:00
Juergen Spitzmueller
ad9ef78ab7 Add testcase 2020-08-16 17:30:53 +02:00
Kornel Benko
6bcdea2b2d Cmake tests: Add a testcase 2020-08-15 12:22:33 +02:00
Günter Milde
9486ef6ade ctests: ignore irrelevant export formats for some dedicated tests. 2020-01-01 16:09:36 +01:00
Günter Milde
8f9dfd2edf ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
This happens with "inputenc: auto-legacy" if a language with default
encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote
(or another environment).
2019-12-30 17:48:20 +01:00
Günter Milde
fea3fd0498 ctest: work around conflict between Macedonian and some other Cyrillic-using languages. 2019-12-30 17:18:25 +01:00
Günter Milde
81bcb04131 ctests: Babel-Belarus conflicts also with Macedonian.
The Belarus language support from Babel has some problematic definitions
that prevent its use together with Russian or Macedonean in one document.
2019-12-19 13:57:02 +01:00
Juergen Spitzmueller
7f21cfc24a Setup proper Arabic fonts in testfiles 2019-12-12 13:53:13 +01:00
Juergen Spitzmueller
18dd597feb Update text file
Use float alignment rather than par alignment
2019-11-19 13:45:35 +01:00
Günter Milde
01ee3bf1e5 Minor update for supported-languages test. 2019-09-05 09:44:18 +02: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
Günter Milde
3d0f39ea6a Update test document for supported languages. 2019-09-02 16:07:10 +02:00
Kornel Benko
91f7c3aacf Partially revert 6b014ec7
Allow use for font MonomakhUnicode. The font is available in texlive
and making a symbolic link in ~/.fonts/fonts to point to the appropriate
directory makes the font available to the system too.
2019-08-30 17:38:19 +02:00
Kornel Benko
6b014ec73b Autotests: Try to not use hard available fonts 2019-08-29 12:54:31 +02: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
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
Günter Milde
7bbf19c64a Update unicodesymbols test to include Capital Schwa. 2019-07-12 12:56:20 +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
46ed7d562a Minor ctest sample update. 2019-07-07 19:32:41 +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
7bb3028607 fixes to lyx2lyx's revert_language tool. 2019-06-02 00:04:34 +02:00
Günter Milde
eedd862637 Update test doc for #11584 2019-05-24 13:51:46 +02:00
Günter Milde
05877e0e60 ctests: sort dedicated test samples 2019-05-17 20:54:29 +02:00
Günter Milde
4af8d3cc88 Document conflict of Arab and Farsi with utf8x. 2019-05-16 13:48:06 +02:00
Günter Milde
6aabcaf856 Fix #11062, new LaTeX feature "textschwa".
Following the suggestion in the Babel-Azerbaijani documentation,
we use the glyphs from the Cyrillic fonts for the Latin
text character. This fits better than IPA fonts (assuming there are matching
Latin and Cyrillic fonts specified) and also provides bold etc.
2019-05-14 20:08:39 +02:00
Günter Milde
b505bcbab5 ctest update. 2019-05-14 15:31:41 +02:00
Günter Milde
4aa073c6f6 Update sample document.
After [56a14c3fde/lyxgit], the
language-nesting workaround with dummy notes is no longer needed.
2019-05-10 16:28:34 +02:00
Günter Milde
f8fd7252a5 Fix/update inpuencoding / unicodesymbols ctests. 2019-05-10 16:21:59 +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
df1f0d82a2 ctests: dedicated tests for languages supported by polyglossia/babel 2019-05-08 12:07:20 +02: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
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
5c0ea92f80 ctests: add some dedicated test samples. 2019-04-20 21:53:16 +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
29265ce702 language support update (tests and workaround for Thai). 2019-04-16 22:05:58 +02:00