On 2019-01-08, Kornel Benko wrote: > Am Dienstag, 8. Januar 2019 11:35:38 CET schrieb Scott Kostyshak > <skost...@lyx.org>:
>> > > > > > > The following .lyx files fail to compile with CJK: >> > > > > > > >> > > > > > > autotests/export/latex/unicodesymbols/001-4-latin.lyx >> > > > > > > >> > > > > > > autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx >> > > > > > > >> > > > > > > autotests/export/latex/unicodesymbols/074-76-letterlike-numberforms-arrows.lyx >> > > > > > > >> > > > > > > I'm not actually sure what settings we use for the tests, >> > > > > > > so not sure what exactly the manual steps to reproduce >> > > > > > > would be. ... >> > > > > > I think, it is the \inputencoding value. >> > > > > > Document->Settings...->Language->Other: Yes, it is. > Some/many characters are only available with utf8-extended encoding. > That means this test cannot pass a compilation with utf8 only. And that > means, we will not be able to correct it ever. Ergo ignore the test. Other characters are set up in utf8x but not utf8 AND we have a replacement ready in lib/unicodefonts. These have been given the "force=utf8" flag. With the new fix to utf8-cjk support we may be able to fix them: Example: On 8.01.19, Kornel Benko wrote: > What about 074-76-letterlike-numberforms-arrows_utf8-cjk_pdf2? It is > inverted, so does not fail. The error is with angström 'Å' char only. Could you try the following patch: Exec: git 'diff' 'unicodesymbols' 2>&1 Dir: /usr/local/src/lyx/lib/ diff --git a/lib/unicodesymbols b/lib/unicodesymbols index c4460c484c..4a943301d0 100644 --- a/lib/unicodesymbols +++ b/lib/unicodesymbols @@ -1905,7 +1905,7 @@ 0x2128 "" "" "force=utf8" "\\mathfrak{Z}" "amssymb" # BLACK-LETTER CAPITAL Z #0x2129 "" "" "" "" "" # TURNED GREEK SMALL LETTER IOTA 0x212a "K" "" "notermination=text" "" "" # KELVIN SIGN -0x212b "\\AA" "" "force=utf8,deprecated" "" "" # ANGSTROM SIGN +0x212b "\\AA" "" "force=utf8;utf8-cjk,deprecated" "" "" # ANGSTROM SIGN 0x212c "" "" "force=utf8" "\\mathscr{B}" "mathrsfs" # SCRIPT CAPITAL B 0x212d "" "" "force=utf8" "\\mathfrak{C}" "amssymb" # BLACK-LETTER CAPITAL C 0x212e "\\textestimated" "textcomp" "force=utf8x" # ESTIMATED SYMBOL If this works, we may solve (at least some of) the remaining failures replacing force=utf8 with force=utf8;utf8-cjk Günter