]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/CJK.lyx.lyx
Merge branch 'master' of git.lyx.org:lyx
[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  (this CJK environment will be put in ERT because LyX supports only one CJK
125  font mapping per document, this environment uses the 
126 \begin_inset ERT
127 status collapsed
128
129 \begin_layout Plain Layout
130
131 \backslash
132
133 \end_layout
134
135 \end_inset
136
137 texttt{hei} mapping,
138  and the first mapping is empty.
139 \begin_inset ERT
140 status collapsed
141
142 \begin_layout Plain Layout
143
144 \backslash
145 end{CJK}
146 \end_layout
147
148 \end_inset
149
150
151 \end_layout
152
153 \begin_layout Standard
154
155 \lang chinese-simplified
156 Chinese simplified 
157 \end_layout
158
159 \begin_layout Standard
160
161 \begin_inset ERT
162 status collapsed
163
164 \begin_layout Plain Layout
165 % The following Bg5 encoded text cannot be processed as is by latex.
166 \end_layout
167
168 \end_inset
169
170
171 \begin_inset ERT
172 status collapsed
173
174 \begin_layout Plain Layout
175 % It needs to be preprocessed by bg5conv or bg5latex needs to be used.
176 \end_layout
177
178 \end_inset
179
180
181 \begin_inset ERT
182 status collapsed
183
184 \begin_layout Plain Layout
185 % See the documentation of CJK.sty for details.
186 \end_layout
187
188 \end_inset
189
190
191 \end_layout
192
193 \begin_layout Standard
194
195 \lang chinese-traditional
196  Big5 文鼎楷書 
197 \end_layout
198
199 \begin_layout Standard
200
201 \lang english
202 English
203 \end_layout
204
205 \begin_layout Standard
206
207 \begin_inset ERT
208 status collapsed
209
210 \begin_layout Plain Layout
211 % The following SJIS encoded text cannot be processed as is by latex.
212 \end_layout
213
214 \end_inset
215
216
217 \begin_inset ERT
218 status collapsed
219
220 \begin_layout Plain Layout
221 % It needs to be preprocessed by sjisconv or sjislatex needs to be used.
222 \end_layout
223
224 \end_inset
225
226
227 \begin_inset ERT
228 status collapsed
229
230 \begin_layout Plain Layout
231 % See the documentation of CJK.sty for details.
232 \end_layout
233
234 \end_inset
235
236
237 \end_layout
238
239 \begin_layout Standard
240
241 \lang japanese-cjk
242  Shift_JIS 日本語の文章 
243 \end_layout
244
245 \begin_layout Standard
246 hello
247 \end_layout
248
249 \begin_layout Standard
250
251 \begin_inset ERT
252 status collapsed
253
254 \begin_layout Plain Layout
255
256 \backslash
257 begin{CJK}{JIS}{}
258 \end_layout
259
260 \end_inset
261
262
263  JIS-code \e
264 \begin_inset ERT
265 status collapsed
266
267 \begin_layout Plain Layout
268 $
269 \end_layout
270
271 \end_inset
272
273 BF|K
274 \begin_inset ERT
275 status collapsed
276
277 \begin_layout Plain Layout
278
279 \backslash
280
281 \end_layout
282
283 \end_inset
284
285 8l
286 \begin_inset ERT
287 status collapsed
288
289 \begin_layout Plain Layout
290 $
291 \end_layout
292
293 \end_inset
294
295 NJ8>O\e(B
296
297 \begin_inset ERT
298 status collapsed
299
300 \begin_layout Plain Layout
301
302 \backslash
303 end{CJK}
304 \end_layout
305
306 \end_inset
307
308
309 \end_layout
310
311 \begin_layout Standard
312
313 \lang korean
314 Korean 
315 \end_layout
316
317 \end_body
318 \end_document