Thibaut Cuvelier
8f3d0fd88f
DocBook: new-line behaviour in bibliographies.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
ff2e4ec7e6
DocBook: support Full Width from Tufte Book.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
91982ee105
DocBook: new lines around formulae.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
e995414917
DocBook: avoid generating fonts for "special cases" like equations.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
654559feb8
DocBook: fix line issues around programlisting.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
9d3a717ef1
DocBook: fix font issues when a paragraph has an InsetNewline.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
7a1b82a16a
DocBook: fix issue with fonts.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
c3aa843da8
DocBook: fixes in bibliography (missing new line at the end).
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6688b076cc
DocBook: fixes in lists.
...
Actually output something when list item is empty. XMLStream discarded the sequence StartTag/EndTag (nothing in between).
New-line behaviour around term in description lists.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
5b01c80635
DocBook: fix titles in KOMA Script.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
976bd91fc2
DocBook: bug fixing with wrapper merging.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
7ec0307b13
DocBook: bug fixing in AASTeX layout.
...
That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your disposal. Far from satisfying, but good enough for a generic tool (see details in the new TODO). Doesn't trigger assertions. Is valid XML.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
fb8c07a2c7
DocBook: adapt AASTeX for tag types (new-line behaviour).
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
ec0f4885a7
DocBook: fix bibliographies (end of <bibliography> and sections).
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
642b18aad0
DocBook: generate <partintro> when required.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
f219fe1cd7
DocBook: streamline code to handle abstracts.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
a8da31e5e0
DocBook: fix handling of index end-of-range.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
78a361778f
DocBook: fix float tags (was unduly overridden).
...
The output was not valid for floats without title.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
39ad6e84f0
DocBook: improve equation formatting (new lines for block equations).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
97cfabb883
DocBook: fix indentation for section titles (including stars).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
fc2c36289b
DocBook: rewrite makeListEnvironment.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
52b2d3f683
DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.
...
Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now, it returns the XML for each sub-paragraph (delimited by new lines) as a string, so that the caller can adopt a more precise behaviour (such as in lists).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
87dae26e4a
Simplify code to generate only one paragraph at a time.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
dab71087cf
DocBook: add a layout tag to tell whether an item is the abstract or not.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
7b0f9d9524
DocBook: simplify code to handle abstracts.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
0f145c3ef0
DocBook: use DocBookWrapperMergeWithPrevious in the code.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
c417253d0b
DocBook: use DocBookItemTag within paragraphs.
...
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
a852706bf0
DocBook: allow empty paragraphs before the <info> section.
2020-09-19 20:43:36 +02: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
Thibaut Cuvelier
348297520f
Revert "DocBook: allow empty paragraphs before the <info> section."
...
This reverts commit c6937cece9
.
2020-08-03 22:58:15 +02:00
Thibaut Cuvelier
fe8aff31fd
Revert "DocBook: use DocBookItemTag within paragraphs."
...
This reverts commit 49b998f99b
.
2020-08-03 22:57:11 +02:00
Thibaut Cuvelier
4c01ab9ecf
Revert "DocBook: use DocBookWrapperMergeWithPrevious in the code."
...
This reverts commit 62c9f4332d
.
2020-08-03 22:56:25 +02:00
Thibaut Cuvelier
42eca3d8d6
Revert "DocBook: simplify code to handle abstracts."
...
This reverts commit 0199e048ff
.
2020-08-03 22:56:06 +02:00
Thibaut Cuvelier
f025538c95
Revert "DocBook: add a layout tag to tell whether an item is the abstract or not."
...
This reverts commit 5ccd63eff6
.
2020-08-03 22:55:52 +02:00
Thibaut Cuvelier
5ccd63eff6
DocBook: add a layout tag to tell whether an item is the abstract or not.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
0199e048ff
DocBook: simplify code to handle abstracts.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
62c9f4332d
DocBook: use DocBookWrapperMergeWithPrevious in the code.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
49b998f99b
DocBook: use DocBookItemTag within paragraphs.
...
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
c6937cece9
DocBook: allow empty paragraphs before the <info> section.
2020-08-03 16:04:57 +02:00
Thibaut Cuvelier
875f7d42e2
DocBook: avoid generating empty paragraphs instead of new pages.
...
As this required to first generate the paragraph before outputting it if necessary, tests like XMLStream::isTagOpen no more worked properly. This also refactors table handling to get rid of that case (and make code easier to read).
2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
8d115413c1
DocBook: fix delimitation of bibliographies.
2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
1b123c0200
DocBook: improve AAS support.
2020-08-01 22:45:56 +02:00
Thibaut Cuvelier
20fe5a6781
DocBook: slight improvement for AAS documents.
2020-08-01 04:09:45 +02:00
Thibaut Cuvelier
fed71fa8c2
DocBook: bug fixing with several bibliographic references at once.
2020-08-01 03:51:14 +02:00
Thibaut Cuvelier
5324566013
DocBook: use the right key when generating bibiomixed.
2020-08-01 03:39:53 +02:00
Thibaut Cuvelier
85946aae2b
DocBook: fix XML in comments (-- forbidden for some historical reason).
2020-08-01 00:02:36 +02:00
Thibaut Cuvelier
44ef3fadee
DocBook: fix encoding issues with complex ERT.
2020-07-31 20:17:38 +02:00
Thibaut Cuvelier
8dd2e7e681
DocBook: solve issue with formulae within font tags.
...
This is not valid DocBook either!
2020-07-26 23:23:02 +02:00
Thibaut Cuvelier
a874173660
DocBook: can finally generate "Developing LyX" without validation errors.
...
This also removes many warnings when generating this document.
2020-07-26 04:59:30 +02:00
Thibaut Cuvelier
e0b8bac36e
DocBook: fix issues with nested labeling lists.
2020-07-26 04:44:04 +02:00
Thibaut Cuvelier
88e00a0b7b
DocBook: fix issues with nested description lists.
2020-07-25 23:51:32 +02:00
Thibaut Cuvelier
1ebf58de0c
DocBook: make existing tests loadable with current master
2020-07-25 22:39:56 +02:00
Thibaut Cuvelier
0de4e32d0b
DocBook: missing reference files
2020-07-25 22:35:29 +02:00
Thibaut Cuvelier
5de60e3c77
DocBook: implementation of LATEX_BIB_ENVIRONMENT.
...
Fixes endless loops when such environments were used.
Add Kornel's test case that triggers an infinite loop when generating as DocBook 5
2020-07-25 17:37:13 +02:00
Thibaut Cuvelier
c9f8469c00
DocBook: allow KOMA-Script documents to be generated as DocBook
2020-07-21 02:59:57 +02:00
Thibaut Cuvelier
e0a4dfa7d3
DocBook: avoid skipping paragraphs in <info>.
2020-07-20 03:41:44 +02:00
Thibaut Cuvelier
c8d216d6e1
DocBook: allow Tufte books to be (more) properly generated.
...
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).
Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
6b701f945e
DocBook fonts: fix issue 1732
2020-07-19 21:00:25 +02:00
Thibaut Cuvelier
02216551b3
Adding DocBook test cases.
2020-06-26 21:55:44 +02:00
Günter Milde
c1357cbd01
ctest autotest for #11773 language nesting with lyx2lyx.
...
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.
Also
* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01: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
fc99ef2ab3
ctest test documents for lyx2lyx.
...
Currently failing due to an error in revert_language().
2019-06-02 00:04:34 +02:00
Günter Milde
09e69f96dd
Complete lyx2lyx for new "lineno" settings.
2019-05-24 13:51:46 +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
Günter Milde
62f8b4fac1
Document languages with new polyglossia support.
2019-04-12 18:34:06 +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
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
230cc9bc5b
ctest: update tagging scripts.
2019-04-10 21:02:10 +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
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
Günter Milde
895fa9b3c6
ctest fixes.
...
Hebrew with "nikud" requires HE8 font encoding.
All tests requiring Hebrew 8-bit fonts are "nonstandard".
2019-04-03 08:36:46 +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
Günter Milde
b724b4f32f
Do not force the use of the HE8 font encoding for Hebrew.
...
While HE8 provides more characters and prevents use of bitmap fonts,
forcing its use may break older installations.
The dedicated test file 012_hebrew_he_HE8.lyx provides an
example for use of HE8 encoded fonts with babel-hebrew.
2019-04-02 13:21:38 +02:00
Günter Milde
d4ade2bc1c
unicodesymbols: add Hebrew nikud symbols and presentation forms.
...
The "nikud" (vowel) signs, shindot, and shindot are combining Unicode
characters. However, LaTeX-Hebrew expects them as postfix characters, not
accent macros (cf. www.cs.tau.ac.il/~stoledo/Bib/Pubs/vowels.pdf).
2019-04-01 19:12:36 +02:00
Günter Milde
e5567a1377
ctests: sample for Arabic as secondary language.
2019-03-29 10:44:21 +01:00
Günter Milde
ffc682424e
Update ctest tagging and documentation/sample organisation.
2019-03-28 13:30:22 +01:00
Günter Milde
f0b326a9f4
Comprehensive language test document and some more fixes.
...
Work around or document language clashes and limitations.
2019-03-27 17:49:08 +01:00
Günter Milde
32b47e975e
Fix settings for Hebrew with 8-bit TeX fonts.
2019-03-27 17:09:12 +01:00
Günter Milde
b1b8071168
ctest update.
...
#9681 is fixed in master.
Hebrew with 8-bit fonts fails with vanilla TeXLive.
Add link to ticket in dedicated test document.
2019-03-27 16:20:17 +01:00
Günter Milde
48b92cf63c
Test for #11532 "inputencoding desynchronisation".
2019-03-27 15:57:38 +01:00
Günter Milde
f7fbd8c1ab
Hebrew shindot and shindot but work fine as postfix.
2019-03-27 14:39:08 +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
Günter Milde
1933102593
ctest update and small documentation fixes.
2019-03-19 22:17:52 +01:00
Günter Milde
dae90c6161
Warn user, if input encodings of master and child document differ.
2019-03-18 18:17:39 +01:00
Günter Milde
bda8acee67
Amend d53a13a
: Bug 11519 only manifests if inputenc != "auto".
2019-03-17 11:20:58 +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
Günter Milde
ddf947b8fd
ctests: dedicated test for problem with textgreek and textcyrillic.
2019-03-12 22:44:13 +01:00
Günter Milde
cc84fa6173
unicodesymbols: Use \r{A} instead of \AA for "Latin letter A with ring" and "Ångström sign".
...
Xe/LuaTeX convert \AA to the deprecated character u212B (which is missing
in the default LatinModern font) instead of the recommended u00C5.
Also fix some of the "missing character" errors in Math.lyx if compiled with
Xe/LuaTeX which were caused by the replacement of \AA with literal u212B characters
in math-insets due to the old definitions in unicodesymbols.
Update the minimal example for failures of Math.lyx with system fonts.
2019-03-08 18:36:56 +01:00
Günter Milde
f674f563da
ctest update: compilation errors due to #6463 are fixed.
2019-03-05 10:00:46 +01: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
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
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
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
8060c8e488
ctests: Dedicated test and comments for "lyx2lyx.lyx_2_4.revert_fonts".
2019-01-29 15:11:21 +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
964c15f80b
ctests: update CJK export tests.
2019-01-28 17:24:39 +01:00
Günter Milde
5ebc0b3f43
Fix second part of #5386 .
...
A \clearpage command issued right before \end{CJK} is recommended by the
package author to prevent any un-processed CJK chars outside the
\begin{CJK} and \end{CJK} scope. Otherwise, TOC, header, footer,
and may contain CJK chars but get processed outside the CJK environment scope.
Tha new dedicated export test fails without the fix.
2019-01-24 14:40:19 +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
e8c497e33e
ctests: export tests for CJK in multilingual documents.
2019-01-23 00:57:20 +01:00
Günter Milde
968a3d06a4
Test for bug #6197 .
...
With language Polish, "amssymb" must be loaded before "babel" to
avoid a name clash for command "\lll".
2019-01-22 23:59:11 +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
Günter Milde
12c301d1ca
update latex export tests, add test for bug #9871
2019-01-20 17:23:41 +01:00
Günter Milde
b9833f180a
ctests: update inputenc tests.
...
Use \input in luainputenc-utf8 instead of copying the
content of test documents in latex/unicodesymbols/.
2019-01-20 17:23:41 +01:00
Günter Milde
b9041328a0
unicodesymbols Force substitution of NNBSP in utf8.
...
NNBSP (narrow no break space) is supported by LyX's unicodesymbols
but missing in LaTeX inputenc *.dfu definitions. (TeXLive 2017)
2019-01-16 18:34:35 +01:00
Günter Milde
cc0ef52a37
Update some special latex export tests.
2019-01-14 22:48:38 +01:00
Günter Milde
4ebb415773
Update unicodesymbols replacements
...
"textcomp" supports some more characters in its ts1enc.dfu Unicode definition file.
2019-01-14 22:48:38 +01:00