Commit Graph

93 Commits

Author SHA1 Message Date
Günter Milde
65ec404eb3 Format incremented to 574: Ruby inset, fixes for Japanese.
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
e768f3632e New module for Ruby (furigana) text.
New fileversion and conversion routines will follow once tested.
2019-05-16 13:48:06 +02:00
Günter Milde
a6c2ae4be8 Update documentation for Japanese with other languages. 2019-05-09 21:56:16 +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
Günter Milde
de00cd31c5 Prevent auto-loading of package bookmark with KOMA-classes for Japanese documents.
Bookmark clashes with platex leading to errors for Postscript and PDF (ps2pdf) output.
2019-05-05 18:19:46 +02:00
Günter Milde
abba2d8a7d Use Latin Modern vector fonts for Latin text parts in Japanese documents.
Latin Modern works fine with Japanese.

If "lmodern" is set for \font_roman the "lmodern.sty" package sets
sans-serif and teletype to Latin Modern fonts as well.
Therefore, \font_sans and \font_teletype are better left as "default"
(less preamble code) in the LaTeX source).
2019-05-04 23:32:41 +02:00
Günter Milde
e84f6dff77 Fixes for Japanese documents
PDF outline improves with unicode/utf8 (although some chars still wrong).

Math: ERT for umlauts no longer required (now force-converted with unicodesymbols)
2019-04-26 23:02:44 +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
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
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
Juergen Spitzmueller
2860266e30 remove buildlyxdir again
per request
2019-03-25 16:46:04 +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
Juergen Spitzmueller
aed6755f59 Update \origin specifications 2019-03-24 17:34:29 +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
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
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
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
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
d104005151 Add example for mulit-lingual Japanese document with CJKutf8. 2019-01-22 16:06:37 +01:00
Uwe Stöhr
58121e887a example files: distribute some changes
- French:
 - fix compilation of beamer.lyx
 - update a screenshot
2018-01-16 14:50:25 +01:00
Scott Kostyshak
baefa82a81 Restore 3c6fa867 and b83252b1
This restores the https URLs.
2018-01-15 16:51:35 -05:00
Scott Kostyshak
a816ef9c33 Restore math options to "load automatically" 2018-01-15 16:51:35 -05:00
Scott Kostyshak
caa6602a15 Restore \origin 2018-01-15 16:51:35 -05:00
Scott Kostyshak
ef9a05dede Big changes to ja/sweave/lyx and ja/knitr.lyx
- Use bxjsarticle + XeLaTeX instead of article + pLaTeX.
- Use LyX's "chunk" inset instead of ERT.
- Translate a couple of English strings.

Patch from Koji Yokota.
2018-01-15 16:51:35 -05:00
Juergen Spitzmueller
cc8ce481f5 Distribute beamer manual changes in the wake of the environment-split mods. 2017-12-30 19:29:51 +01:00
Uwe Stöhr
1f23d65f8f splash.lyx: link https://www.lyx.org/Walkthrough
It is a good idea from Yuriy to link it, especially for the languages where we don't have other docs than the splash file.
2017-12-16 14:24:17 +01:00
Uwe Stöhr
28029074b2 doc, templates and example files: use https for links to lyx.org 2017-12-15 02:53:06 +01:00
Uwe Stöhr
b9574fd45d example files: use https links 2017-12-14 16:39:14 +01:00
Uwe Stöhr
e26a6c8b34 R-S-statements.lyx: move to attic/R-S-statements.lyx
RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.
2017-11-18 18:16:08 +01:00
Uwe Stöhr
d52bb81671 example files: save them with LyX 2.3 - part 3/
also some minor adjustment to some files like date and version
2017-11-18 18:04:57 +01:00
Juergen Spitzmueller
1fb653c674 Remove foreign language markup.
Japanese docs do not seem to use a language package
(although babel works)
2017-11-03 10:06:55 +01:00
Uwe Stöhr
4864250a11 sweave.lyx: accept changes 2017-10-27 00:15:49 +02:00
jpc
1720f54b41 Turn 'Do not load' math option to 'Automatic' (ticket 10661) 2017-10-23 09:25:33 +02:00
Scott Kostyshak
867abeac06 Set default format to "default" for Japanese docs
Consistent with 27165841.
2017-10-01 13:22:03 -04:00
Scott Kostyshak
b45be0ecf8 Update docs to 2.3.0beta1 format 2017-08-14 02:31:24 -04:00
Scott Kostyshak
944792402c Update docs to 2.3.0alpha1 format 2017-04-24 00:03:19 -04:00
Juergen Spitzmueller
cdc9176949 Add some notes about ipa with fontspec. 2017-02-21 10:31:31 +01:00