Commit Graph

766 Commits

Author SHA1 Message Date
Günter Milde
0e11914929 Set non-TeX fonts supporting Japanese in Japanese documents. 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
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
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
32ce4fe4e4 Use LatinRoman for Latin text parts in Japanese documentation. 2019-04-10 13:22:51 +02:00
Kornel Benko
c53e9137ff Fixed \origin
Next amend of d3ec77c6: Reorganize templates and example folders
2019-04-04 07:59:05 +02:00
Kornel Benko
e03099ee38 Fix a path
Next amend of d3ec77c6: Reorganize templates and example folders
2019-04-03 23:45:31 +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
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
Kornel Benko
780fd81a67 Amend 0b295819: Fix some non-accessible URLS
Thanks Jürgen
2019-03-31 11:00:02 +02:00
Kornel Benko
7d6bf430ed Fix some paths 2019-03-29 17:22:16 +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
4a2f4fb1d6 Use LaTeX input encoding "utf8", part 1/many.
See #11115.
Start with simple cases.
2019-03-27 16:24:14 +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
Juergen Spitzmueller
2860266e30 remove buildlyxdir again
per request
2019-03-25 16:46:04 +01:00
Juergen Spitzmueller
48792d0c67 Move misplaced file 2019-03-25 11:05:21 +01:00
Juergen Spitzmueller
676570cda9 Add some notes. 2019-03-25 08:28:54 +01:00
Juergen Spitzmueller
90f2ab2b5e Re-fix \origin 2019-03-25 08:07:25 +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
Juergen Spitzmueller
aed6755f59 Update \origin specifications 2019-03-24 17:34:29 +01:00
Juergen Spitzmueller
a0240c8d65 Move Thesis and Springer templates back to templates
Thanks to \origin, #8643 is fixed (also in stable). Included paths are
thus correctly updated and point to the systemdir.

This only works if LyX is installed, though, since \origin is only set
on install.
2019-03-24 11:21:55 +01:00
Kornel Benko
4d3284ee2c Fixed origin in Game_2.lyx 2019-03-24 07:43:24 +01:00
Kornel Benko
5c0b9529f5 Corrected tests for Variable-width_Minipages, Posters, Presentations
Either correct the path or add the requested image
2019-03-23 17:10:07 +01:00
Kornel Benko
8d40f6c691 Correctedt tests for PhD_Theses
Adapt to the changed master document
2019-03-23 11:06:10 +01:00
Kornel Benko
c5b086cf81 Use correct path to included figure 2019-03-23 10:56:12 +01:00
Kornel Benko
1f29d4a32f Correctedt tests for Springer_Contributed_Books export tests
Adapt to the changed master document
2019-03-23 10:40:39 +01:00
Kornel Benko
75d42f72d9 Corrected tests for chess exports 2019-03-23 10:05:18 +01:00
Günter Milde
80b6a0038a Add lib/unicodesymbols support for Hebrew.
Hebrew language must be set (otherwise character macros are not defined)
but this is normally no problem because it is also neede for RTL support.
2019-03-22 23:55:00 +01:00
Juergen Spitzmueller
ca024383e0 Fix problematic characters in example/template file names
For (, ) and & we use URL encoding now.
2019-03-22 11:10:49 +01:00
Juergen Spitzmueller
a84103a8d4 Replace unnecessary ampersand in folder name 2019-03-22 09:38:05 +01:00
Günter Milde
4130ab15c6 Fix inputencoding for documentation, examples, and templates.
* "platex" fails with "inputencoding default", if there is text in other languages.
  "jis-platex" works fine, "jis-utf8" fails with German Umlauts (maybe more).

* The expert setting "inputencoding default" switches the inpute encoding
  with language switches without marking this in the LaTeX source.
  It is rarely required (if ever) and makes documents easy to break.

  It is not required for AMS Books, Simple CV, ... (probabely a tex2lyx issue).
  "utf8" and "auto" work fine.
2019-03-22 08:41:55 +01: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
Juergen Spitzmueller
d3ec77c633 Reorganize templates and example folders
Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.

Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".
2019-03-19 07:13:18 +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
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
Pavel Sanda
b1132a3438 Add few hints for varwidth module. 2019-02-22 16:51:14 +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
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
7e1c5ae44b ctests: update tests after the last fixes. 2019-01-29 10:52:41 +01:00
Günter Milde
d6aec0dd33 Fix line breaking, punctuation kerning and font switching with non-tex-fonts
Use "luatexja" or "xeCJK" with non-tex fonts in
Japanese and Chinese example documents.
2019-01-28 22:11:43 +01:00
Günter Milde
7da76b1b9f Load CJK support package before font selection. 2019-01-28 17:26:52 +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
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
Günter Milde
16b28ad725 Avoid bitmap fonts for Latin text parts using LatinModern. 2019-01-23 09:11:01 +01:00
Günter Milde
d104005151 Add example for mulit-lingual Japanese document with CJKutf8. 2019-01-22 16:06:37 +01:00