]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/CJK.lyx.lyx
Update tex2lyx tests
[lyx.git] / src / tex2lyx / test / CJK.lyx.lyx
index a9d4ac8ce51cd9b107d869494cb7386537f782d6..aedb90c846f387923efc714b149b33fa78bf4494 100644 (file)
@@ -1,10 +1,11 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 450
+#LyX file created by tex2lyx 2.3
+\lyxformat 522
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin roundtrip
 \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
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\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
 \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
@@ -64,7 +70,7 @@
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation default
-\quotes_language english
+\quotes_style english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \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 +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}
@@ -144,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
@@ -183,6 +204,11 @@ end{CJK}
 
 \begin_layout Standard
 
+\lang chinese-traditional
+ Big5 文鼎楷書 
+\end_layout
+
+\begin_layout Standard
 
 \lang english
 English
@@ -190,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
@@ -223,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}{}
@@ -242,12 +280,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 +294,7 @@ BF|K
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 
@@ -270,8 +306,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 $
 \end_layout
 
@@ -282,8 +317,7 @@ NJ8>O\e(B
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 end{CJK}
@@ -297,7 +331,6 @@ end{CJK}
 \begin_layout Standard
 
 \lang korean
-
 Korean 
 \end_layout