2018-03-12 20:14 GMT+01:00 Kornel Benko <[email protected]>: > Apparently you are testing lyx2.3.x.
No, master, actually. The bugfix of the mentioned commit shows up, but not the problem you face. See attached file. Jürgen
CJK.lyx
Description: application/lyx
%% LyX 2.4.0dev created this file. For more info, see https://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english,english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{CJKutf8} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. \usepackage{babel} % It is impossible to get the document language because the document could start with a command, % whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK % environment is no solution because the document could be English and contain only some Japanese. \makeatother \usepackage{babel} \begin{document} \begin{CJK}{EUC-JP}{}Japanese Chinese traditional Japanese hello Chinese simplified \begin{CJK}{EUC-JP}{hei} Japanese (this CJK environment will be put in ERT because LyX supports only one CJK font mapping per document, this environment uses the \texttt{hei} mapping, and the first mapping is empty.\end{CJK} Chinese simplified % The following Bg5 encoded text cannot be processed as is by latex. % It needs to be preprocessed by bg5conv or bg5latex needs to be used. % See the documentation of CJK.sty for details. Big5 ???????? \end{CJK} \inputencoding{latin9}English \begin{CJK}{EUC-JP}{}% The following SJIS encoded text cannot be processed as is by latex. % It needs to be preprocessed by sjisconv or sjislatex needs to be used. % See the documentation of CJK.sty for details. Shift\_JIS ???????????? hello \begin{CJK}{JIS}{} JIS-code $BF|K\8l$NJ8>O(B\end{CJK} Korean \end{CJK} \end{document}
