X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2FCJK.lyx.lyx;h=fc041ac7dc6989d5c50c45aec6e265aa7f03c09d;hb=237193f8a888777192981136469a5d4febb8e9d8;hp=06488f5565c971d2d0d6a0d7664d2573e1352f16;hpb=c85228432ca04bdc4e473bd5191a9ddfb8664b6b;p=lyx.git diff --git a/src/tex2lyx/test/CJK.lyx.lyx b/src/tex2lyx/test/CJK.lyx.lyx index 06488f5565..fc041ac7dc 100644 --- a/src/tex2lyx/test/CJK.lyx.lyx +++ b/src/tex2lyx/test/CJK.lyx.lyx @@ -1,10 +1,11 @@ -#LyX file created by tex2lyx 2.1.0dev -\lyxformat 444 +#LyX file created by tex2lyx 2.3 +\lyxformat 519 \begin_document \begin_header +\save_transient_properties true +\origin roundtrip \textclass article \begin_preamble - \usepackage{babel} @@ -14,21 +15,24 @@ \end_preamble +\options english \use_default_options false \maintain_unincluded_children false -\language english +\language japanese-cjk \language_package default \inputencoding utf8 \fontencoding T1 -\font_roman default -\font_sans default -\font_typewriter default +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype 0 \graphics default \default_output_format default \output_sync 0 @@ -36,18 +40,21 @@ \index_command default \paperfontsize default \spacing single -\use_hyperref 0 +\use_hyperref false \papersize default \use_geometry false \use_package amsmath 1 \use_package amssymb 0 +\use_package cancel 0 \use_package esint 1 \use_package mathdots 0 \use_package mathtools 0 \use_package mhchem 0 +\use_package stackrel 0 +\use_package stmaryrd 0 \use_package undertilde 0 \cite_engine basic -\cite_engine_type numerical +\cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false @@ -63,7 +70,7 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation default -\quotes_language english +\quotes_style english \papercolumns 1 \papersides 1 \paperpagestyle default @@ -79,44 +86,37 @@ \begin_layout Standard \lang japanese-cjk - Japanese \end_layout \begin_layout Standard \lang chinese-traditional - Chinese traditional \end_layout \begin_layout Standard \lang japanese-cjk - Japanese \end_layout \begin_layout Standard - hello \end_layout \begin_layout Standard \lang chinese-simplified - Chinese simplified \end_layout \begin_layout Standard - \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout \backslash begin{CJK}{EUC-JP}{hei} @@ -124,12 +124,26 @@ begin{CJK}{EUC-JP}{hei} \end_inset - Japanese + Japanese + (this CJK environment will be put in ERT because LyX supports only one CJK + font mapping per document, this environment uses the \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout + +\backslash + +\end_layout + +\end_inset + +texttt{hei} mapping, + and the first mapping is empty. +\begin_inset ERT +status collapsed +\begin_layout Plain Layout \backslash end{CJK} @@ -143,36 +157,44 @@ end{CJK} \begin_layout Standard \lang chinese-simplified - Chinese simplified \end_layout \begin_layout Standard - \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout +% The following Bg5 encoded text cannot be processed as is by latex. +\end_layout +\begin_layout Plain Layout -\backslash -begin{CJK}{Bg5}{} \end_layout \end_inset -Big5 文鼎楷書 - \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout +% It needs to be preprocessed by bg5conv or bg5latex needs to be used. +\end_layout +\begin_layout Plain Layout -\backslash -end{CJK} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +% See the documentation of CJK.sty for details. \end_layout \end_inset @@ -182,6 +204,11 @@ end{CJK} \begin_layout Standard +\lang chinese-traditional + Big5 文鼎楷書 +\end_layout + +\begin_layout Standard \lang english English @@ -189,30 +216,39 @@ English \begin_layout Standard - \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout +% The following SJIS encoded text cannot be processed as is by latex. +\end_layout +\begin_layout Plain Layout -\backslash -begin{CJK}{SJIS}{} \end_layout \end_inset -Shift_JIS 日本語の文章 - \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout +% It needs to be preprocessed by sjisconv or sjislatex needs to be used. +\end_layout +\begin_layout Plain Layout -\backslash -end{CJK} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +% See the documentation of CJK.sty for details. \end_layout \end_inset @@ -222,17 +258,20 @@ end{CJK} \begin_layout Standard -hello +\lang japanese-cjk + Shift_JIS 日本語の文章 \end_layout \begin_layout Standard +hello +\end_layout +\begin_layout Standard \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout \backslash begin{CJK}{JIS}{} @@ -241,12 +280,11 @@ begin{CJK}{JIS}{} \end_inset -JIS-code  + JIS-code  \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout $ \end_layout @@ -256,8 +294,7 @@ BF|K \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout \backslash @@ -269,8 +306,7 @@ status collapsed \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout $ \end_layout @@ -281,8 +317,7 @@ NJ8>O(B \begin_inset ERT status collapsed -\begin_layout Standard - +\begin_layout Plain Layout \backslash end{CJK} @@ -296,7 +331,6 @@ end{CJK} \begin_layout Standard \lang korean - Korean \end_layout