]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/CJK.lyx.lyx
Adapt tex2lyx testcases to new format
[lyx.git] / src / tex2lyx / test / CJK.lyx.lyx
1 #LyX file created by tex2lyx 2.1.0dev
2 \lyxformat 463
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \usepackage{babel}
8
9
10 % It is impossible to get the document language because the document could start with a command,
11 % whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK
12 % environment is no solution because the document could be English and contain only some Japanese.
13
14
15 \end_preamble
16 \options english
17 \use_default_options false
18 \maintain_unincluded_children false
19 \language japanese-cjk
20 \language_package default
21 \inputencoding utf8
22 \fontencoding T1
23 \font_roman default
24 \font_sans default
25 \font_typewriter default
26 \font_math auto
27 \font_default_family default
28 \use_non_tex_fonts false
29 \font_sc false
30 \font_osf false
31 \font_sf_scale 100
32 \font_tt_scale 100
33 \graphics default
34 \default_output_format default
35 \output_sync 0
36 \bibtex_command default
37 \index_command default
38 \paperfontsize default
39 \spacing single
40 \use_hyperref false
41 \papersize default
42 \use_geometry false
43 \use_package amsmath 1
44 \use_package amssymb 0
45 \use_package esint 1
46 \use_package mathdots 0
47 \use_package mathtools 0
48 \use_package mhchem 0
49 \use_package stackrel 0
50 \use_package stmaryrd 0
51 \use_package undertilde 0
52 \cite_engine basic
53 \cite_engine_type numerical
54 \biblio_style plain
55 \use_bibtopic false
56 \use_indices false
57 \paperorientation portrait
58 \suppress_date false
59 \justification true
60 \use_refstyle 0
61 \index Index
62 \shortcut idx
63 \color #008000
64 \end_index
65 \secnumdepth 3
66 \tocdepth 3
67 \paragraph_separation indent
68 \paragraph_indentation default
69 \quotes_language english
70 \papercolumns 1
71 \papersides 1
72 \paperpagestyle default
73 \tracking_changes false
74 \output_changes false
75 \html_math_output 0
76 \html_css_as_file 0
77 \html_be_strict false
78 \end_header
79
80 \begin_body
81
82 \begin_layout Standard
83
84 \lang japanese-cjk
85 Japanese 
86 \end_layout
87
88 \begin_layout Standard
89
90 \lang chinese-traditional
91 Chinese traditional
92 \end_layout
93
94 \begin_layout Standard
95
96 \lang japanese-cjk
97  Japanese 
98 \end_layout
99
100 \begin_layout Standard
101 hello 
102 \end_layout
103
104 \begin_layout Standard
105
106 \lang chinese-simplified
107 Chinese simplified 
108 \end_layout
109
110 \begin_layout Standard
111
112 \begin_inset ERT
113 status collapsed
114
115 \begin_layout Plain Layout
116
117 \backslash
118 begin{CJK}{EUC-JP}{hei}
119 \end_layout
120
121 \end_inset
122
123  Japanese 
124 \begin_inset ERT
125 status collapsed
126
127 \begin_layout Plain Layout
128
129 \backslash
130 end{CJK}
131 \end_layout
132
133 \end_inset
134
135
136 \end_layout
137
138 \begin_layout Standard
139
140 \lang chinese-simplified
141 Chinese simplified 
142 \end_layout
143
144 \begin_layout Standard
145
146 \begin_inset ERT
147 status collapsed
148
149 \begin_layout Plain Layout
150 % The following Bg5 encoded text cannot be processed as is by latex.
151 \end_layout
152
153 \end_inset
154
155
156 \begin_inset ERT
157 status collapsed
158
159 \begin_layout Plain Layout
160 % It needs to be preprocessed by bg5conv or bg5latex needs to be used.
161 \end_layout
162
163 \end_inset
164
165
166 \begin_inset ERT
167 status collapsed
168
169 \begin_layout Plain Layout
170 % See the documentation of CJK.sty for details.
171 \end_layout
172
173 \end_inset
174
175
176 \end_layout
177
178 \begin_layout Standard
179
180 \lang chinese-traditional
181  Big5 文鼎楷書 
182 \end_layout
183
184 \begin_layout Standard
185
186 \lang english
187 English
188 \end_layout
189
190 \begin_layout Standard
191
192 \begin_inset ERT
193 status collapsed
194
195 \begin_layout Plain Layout
196 % The following SJIS encoded text cannot be processed as is by latex.
197 \end_layout
198
199 \end_inset
200
201
202 \begin_inset ERT
203 status collapsed
204
205 \begin_layout Plain Layout
206 % It needs to be preprocessed by sjisconv or sjislatex needs to be used.
207 \end_layout
208
209 \end_inset
210
211
212 \begin_inset ERT
213 status collapsed
214
215 \begin_layout Plain Layout
216 % See the documentation of CJK.sty for details.
217 \end_layout
218
219 \end_inset
220
221
222 \end_layout
223
224 \begin_layout Standard
225
226 \lang japanese-cjk
227  Shift_JIS 日本語の文章 
228 \end_layout
229
230 \begin_layout Standard
231 hello
232 \end_layout
233
234 \begin_layout Standard
235
236 \begin_inset ERT
237 status collapsed
238
239 \begin_layout Plain Layout
240
241 \backslash
242 begin{CJK}{JIS}{}
243 \end_layout
244
245 \end_inset
246
247
248 JIS-code \e
249 \begin_inset ERT
250 status collapsed
251
252 \begin_layout Plain Layout
253 $
254 \end_layout
255
256 \end_inset
257
258 BF|K
259 \begin_inset ERT
260 status collapsed
261
262 \begin_layout Plain Layout
263
264 \backslash
265
266 \end_layout
267
268 \end_inset
269
270 8l
271 \begin_inset ERT
272 status collapsed
273
274 \begin_layout Plain Layout
275 $
276 \end_layout
277
278 \end_inset
279
280 NJ8>O\e(B
281
282 \begin_inset ERT
283 status collapsed
284
285 \begin_layout Plain Layout
286
287 \backslash
288 end{CJK}
289 \end_layout
290
291 \end_inset
292
293
294 \end_layout
295
296 \begin_layout Standard
297
298 \lang korean
299 Korean 
300 \end_layout
301
302 \end_body
303 \end_document