Commit Graph

40166 Commits

Author SHA1 Message Date
Juergen Spitzmueller
d8179e3dab Bulgarian po update by Veso
Note that this is still under the 50% treshold, so it's not active yet.
2019-04-15 11:37:56 +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
62f8b4fac1 Document languages with new polyglossia support. 2019-04-12 18:34:06 +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
0e11914929 Set non-TeX fonts supporting Japanese in Japanese documents. 2019-04-12 18:08:17 +02:00
Günter Milde
e5435cd61e Update language support documentation and comments. 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
d0665aeefe Japanese (platex) works fine with fontenc.
While not required for hyphenation, using T1 as default font encoding
helps with text in Latin script (pre-composed accented characters,
Nordic letters "eth" and "thorn").
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
ad8d1af907 platex input encodings: move handling of some "force" exceptions to unicodesymbols. 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
f838b4fb18 platex fixes.
* Force unicodesymbols conversion for all *-platex input encodings,
* except some characters that work well in utf8.
* Use platex if document language is "japanese" and input encoding is "utf8".
2019-04-11 01:43:44 +02:00
Günter Milde
230cc9bc5b ctest: update tagging scripts. 2019-04-10 21:02:10 +02:00
Günter Milde
02e7bb80d3 Force unicodesymbols conversion with uf8-platex.
Fixes Japanese (platex) documents with text parts in other languages.
2019-04-10 16:08:43 +02:00
Günter Milde
6fd263122d Typographical corrections. 2019-04-10 15:59:17 +02:00
Günter Milde
450b02262e ctest: update/fix tag rules. 2019-04-10 15:57:23 +02:00
Günter Milde
32ce4fe4e4 Use LatinRoman for Latin text parts in Japanese documentation. 2019-04-10 13:22:51 +02:00
Günter Milde
b32cf2a4c0 unicodesymbols: support Thai characters.
Also update the ctests.
2019-04-09 23:07:05 +02:00
Günter Milde
2efe99c33d Improve and document use of Thai language. 2019-04-09 17:13:44 +02:00
Jean-Marc Lasgouttes
f9da28428a Fix bold-like characters when selecting bidi text
In painter, restrting paining regions does not really work when region is empty.

Fixes bug #11198.
2019-04-09 11:32:22 +02:00
Günter Milde
f9486e8cf3 ctests: update names of included files in input encoding samples for Xe/LuaTeX. 2019-04-08 22:08:49 +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
Kornel Benko
3f9cdc7c63 Amend e55ed79d: Extend handling of Noto fonts
Also renamed
        known_roman_fonts -> known_roman_font_packages
        known_sans_fonts -> known_sans_font_packages
        known_typewriter_fonts -> known_typewriter_font_packages
        known_math_fonts -> known_math_font_packages
2019-04-08 11:44:53 +02:00
Kornel Benko
db06c85611 Cmake tests: Converted to new format, to insert \use_non_tex_fonts variable set 2019-04-07 21:09:56 +02:00
Juergen Spitzmueller
dfde45a01a Do not attempt to show module info for category headers 2019-04-07 13:57:41 +02:00
Kornel Benko
42848c091f Update sk.po 2019-04-07 13:48:55 +02:00
Kornel Benko
6fc7739053 Adapt tex2lyx to the noto fonts extension 2019-04-07 13:47:45 +02:00
Kornel Benko
35ac73a425 Update tex2lyx tests due to format change 2019-04-07 13:30:31 +02:00
Juergen Spitzmueller
6482ddee30 tabular-style-insert: add rows also for 1x and 2x tables
Fixes: #11537
2019-04-07 12:10:03 +02:00
Juergen Spitzmueller
1a5996f048 de.po 2019-04-07 11:41:29 +02:00
Juergen Spitzmueller
823263904f GuiDocument: Sort available modules by category
Also improve display of module information
2019-04-07 11:23:19 +02:00
Juergen Spitzmueller
6dec3e8a6e Module re-categorization, part 2
Re-categorize remaining modules

Improve categorization

Give some modules a more descriptive name.
2019-04-07 11:21:21 +02:00
Kornel Benko
e55ed79da9 Extend handling of Noto fonts
Added the possibility to use options Regular, Medium, Thin, Light, Extralight
2019-04-07 11:05:42 +02:00
Scott Kostyshak
23fecedbb0 ctests: adapt regex for "Obsolete/Latex8_.*" 2019-04-07 02:01:34 -04:00
Günter Milde
76369132ac Do not change input encoding globally for Kazakh language.
The global change
* is no longer required since the last fixes to the "textcyrillic" feature,
* is wrong for documents with only parts in Kazakh.
2019-04-06 18:21:00 +02:00
Günter Milde
29c5139275 update lib/languages
* add workarounds for problematic definitions in Albanian and Lithuanian

* Babel-Serbian is fixed since version 3.0 (2019-01-12).
2019-04-06 18:19:07 +02: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
Juergen Spitzmueller
6fef1cec1f Fix crash in GuiBibtex 2019-04-05 17:53:41 +02:00
Günter Milde
2183978f1a Amend 6def81f30f. Never switch encodings with XeTeX or LuaTeX. 2019-04-05 16:14:58 +02:00
Juergen Spitzmueller
38fbbf07cd GuiDocument: Add filter to modules selection
Sorting by category is needs more work, since the GuiIdListModel is
not suitable for trees.
2019-04-05 11:54:44 +02:00
Juergen Spitzmueller
fa79ff2db2 Resolve some implicit conversion warnings. 2019-04-05 11:54:44 +02:00
Günter Milde
a42376bea9 AASTeX layout: Normalize layout name of \thebibliography.
Allows easy sharing of reference entries between documents
using different classes or switching document classes.
2019-04-05 09:17:57 +02:00
Kornel Benko
572c96a1ee Update sk.po 2019-04-04 20:23:15 +02:00
Juergen Spitzmueller
b5af05b4a7 Make module categories (almost) great again
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.

Note that this is work in progress: the current categories are still
subject to change.

The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)

As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00
Daniel Ramoeller
990f1eca4a Fix for Mac Command-0 zoom-buffer binding
Amends fix to #10455
2019-04-04 17:02:24 +02:00
Daniel Ramoeller
209944796a Fix for #11476: Icons have spurious squares 2019-04-04 16:54:23 +02:00
Juergen Spitzmueller
f51fa38123 Prevent multiplication of preamble code
Fixes rest of #8229
2019-04-04 16:39:20 +02:00
Juergen Spitzmueller
0b54650f0e tex2lyx: improve module support
The current heuristics only considered modules with styles that defined
a searched command in their preamble, and only for commands/environments
that were defined in the document's preamble. This limited the module
support drastically.

The new heuristics also checks for commands coming from packages. If the
command is not (re-)defined in the document preamble, it checks modules
that provide a style with a matching LaTeXName, checks for their
requirements and matches those with the packages loaded by the document.

If no module provides a searched style, but we found modules that load
packages that are loaded in the imported tex file, and if those packages
are not auto-loaded by LyX anyway, we also load this module.

fixes: #11259, part of #8229
2019-04-04 16:01:07 +02:00
Juergen Spitzmueller
a5e89c842f update tex2lyx tests
\cmidrule(lr) now natively imported.
2019-04-04 09:33:53 +02:00