]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/CJK.lyx.lyx
Implement forced local layouts
[lyx.git] / src / tex2lyx / test / CJK.lyx.lyx
index 4e1218b63fa371fc11646f74c1dcdb7abead8b52..014de532324a72770b16deadb707ff64bfa95469 100644 (file)
@@ -1,10 +1,9 @@
 #LyX file created by tex2lyx 2.1.0dev
-\lyxformat 445
+\lyxformat 470
 \begin_document
 \begin_header
 \textclass article
 \begin_preamble
-
 \usepackage{babel}
 
 
 
 
 \end_preamble
+\options english
 \use_default_options false
 \maintain_unincluded_children false
-\language english
+\language japanese-cjk
 \language_package default
 \inputencoding utf8
 \fontencoding T1
 \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
 \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}
@@ -125,12 +121,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}
@@ -144,36 +154,36 @@ end{CJK}
 \begin_layout Standard
 
 \lang chinese-simplified
-
 Chinese simplified 
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-begin{CJK}{Bg5}{}
+\begin_layout Plain Layout
+% The following Bg5 encoded text cannot be processed as is by latex.
 \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
 
+\end_inset
 
-\backslash
-end{CJK}
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+% See the documentation of CJK.sty for details.
 \end_layout
 
 \end_inset
@@ -183,6 +193,11 @@ end{CJK}
 
 \begin_layout Standard
 
+\lang chinese-traditional
+ Big5 文鼎楷書 
+\end_layout
+
+\begin_layout Standard
 
 \lang english
 English
@@ -190,30 +205,31 @@ English
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-begin{CJK}{SJIS}{}
+\begin_layout Plain Layout
+% The following SJIS encoded text cannot be processed as is by latex.
 \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
 
+\end_inset
 
-\backslash
-end{CJK}
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+% See the documentation of CJK.sty for details.
 \end_layout
 
 \end_inset
@@ -223,17 +239,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}{}
@@ -242,12 +261,11 @@ begin{CJK}{JIS}{}
 \end_inset
 
 
-JIS-code \e
+ JIS-code \e
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 $
 \end_layout
 
@@ -257,8 +275,7 @@ BF|K
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 
@@ -270,8 +287,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 $
 \end_layout
 
@@ -282,8 +298,7 @@ NJ8>O\e(B
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 end{CJK}
@@ -297,7 +312,6 @@ end{CJK}
 \begin_layout Standard
 
 \lang korean
-
 Korean 
 \end_layout