]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/CJK.lyx.lyx
tex2lyx: import minted listings
[lyx.git] / src / tex2lyx / test / CJK.lyx.lyx
index a2b9f63b9da4724171d8a91c4cb0e13f5a9227a3..59d3729c3a00db49be848d99cb06065acdcccd40 100644 (file)
@@ -1,10 +1,11 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 452
+#LyX file created by tex2lyx 2.3
+\lyxformat 544
 \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 false
+\use_dash_ligatures true
 \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
@@ -56,6 +63,7 @@
 \suppress_date false
 \justification true
 \use_refstyle 0
+\use_minted 0
 \index Index
 \shortcut idx
 \color #008000
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation default
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -110,7 +121,7 @@ Chinese simplified
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 begin{CJK}{EUC-JP}{hei}
@@ -118,11 +129,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,24 +170,36 @@ Chinese simplified
 \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
 
-\backslash
-end{CJK}
+\begin_layout Plain Layout
+
+\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
@@ -171,6 +209,12 @@ end{CJK}
 
 \begin_layout Standard
 
+\lang chinese-traditional
+ Big5 文鼎楷書 
+\end_layout
+
+\begin_layout Standard
+
 \lang english
 English
 \end_layout
@@ -180,24 +224,36 @@ English
 \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
 
-\backslash
-end{CJK}
+\begin_layout Plain Layout
+
+\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
@@ -205,6 +261,12 @@ end{CJK}
 
 \end_layout
 
+\begin_layout Standard
+
+\lang japanese-cjk
+ Shift_JIS 日本語の文章 
+\end_layout
+
 \begin_layout Standard
 hello
 \end_layout
@@ -214,7 +276,7 @@ hello
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 begin{CJK}{JIS}{}
@@ -223,11 +285,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
 
@@ -237,7 +299,7 @@ BF|K
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 
@@ -249,7 +311,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 $
 \end_layout
 
@@ -260,7 +322,7 @@ NJ8>O\e(B
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 end{CJK}