]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/CJK.lyx.lyx
Update tex2lyx test references
[lyx.git] / src / tex2lyx / test / CJK.lyx.lyx
1 #LyX file created by tex2lyx 2.2
2 \lyxformat 475
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 cancel 0
46 \use_package esint 1
47 \use_package mathdots 0
48 \use_package mathtools 0
49 \use_package mhchem 0
50 \use_package stackrel 0
51 \use_package stmaryrd 0
52 \use_package undertilde 0
53 \cite_engine basic
54 \cite_engine_type default
55 \biblio_style plain
56 \use_bibtopic false
57 \use_indices false
58 \paperorientation portrait
59 \suppress_date false
60 \justification true
61 \use_refstyle 0
62 \index Index
63 \shortcut idx
64 \color #008000
65 \end_index
66 \secnumdepth 3
67 \tocdepth 3
68 \paragraph_separation indent
69 \paragraph_indentation default
70 \quotes_language english
71 \papercolumns 1
72 \papersides 1
73 \paperpagestyle default
74 \tracking_changes false
75 \output_changes false
76 \html_math_output 0
77 \html_css_as_file 0
78 \html_be_strict false
79 \end_header
80
81 \begin_body
82
83 \begin_layout Standard
84
85 \lang japanese-cjk
86 Japanese 
87 \end_layout
88
89 \begin_layout Standard
90
91 \lang chinese-traditional
92 Chinese traditional
93 \end_layout
94
95 \begin_layout Standard
96
97 \lang japanese-cjk
98  Japanese 
99 \end_layout
100
101 \begin_layout Standard
102 hello 
103 \end_layout
104
105 \begin_layout Standard
106
107 \lang chinese-simplified
108 Chinese simplified 
109 \end_layout
110
111 \begin_layout Standard
112
113 \begin_inset ERT
114 status collapsed
115
116 \begin_layout Plain Layout
117
118 \backslash
119 begin{CJK}{EUC-JP}{hei}
120 \end_layout
121
122 \end_inset
123
124  Japanese
125  (this CJK environment will be put in ERT because LyX supports only one CJK
126  font mapping per document, this environment uses the 
127 \begin_inset ERT
128 status collapsed
129
130 \begin_layout Plain Layout
131
132 \backslash
133
134 \end_layout
135
136 \end_inset
137
138 texttt{hei} mapping,
139  and the first mapping is empty.
140 \begin_inset ERT
141 status collapsed
142
143 \begin_layout Plain Layout
144
145 \backslash
146 end{CJK}
147 \end_layout
148
149 \end_inset
150
151
152 \end_layout
153
154 \begin_layout Standard
155
156 \lang chinese-simplified
157 Chinese simplified 
158 \end_layout
159
160 \begin_layout Standard
161
162 \begin_inset ERT
163 status collapsed
164
165 \begin_layout Plain Layout
166 % The following Bg5 encoded text cannot be processed as is by latex.
167 \end_layout
168
169 \end_inset
170
171
172 \begin_inset ERT
173 status collapsed
174
175 \begin_layout Plain Layout
176 % It needs to be preprocessed by bg5conv or bg5latex needs to be used.
177 \end_layout
178
179 \end_inset
180
181
182 \begin_inset ERT
183 status collapsed
184
185 \begin_layout Plain Layout
186 % See the documentation of CJK.sty for details.
187 \end_layout
188
189 \end_inset
190
191
192 \end_layout
193
194 \begin_layout Standard
195
196 \lang chinese-traditional
197  Big5 文鼎楷書 
198 \end_layout
199
200 \begin_layout Standard
201
202 \lang english
203 English
204 \end_layout
205
206 \begin_layout Standard
207
208 \begin_inset ERT
209 status collapsed
210
211 \begin_layout Plain Layout
212 % The following SJIS encoded text cannot be processed as is by latex.
213 \end_layout
214
215 \end_inset
216
217
218 \begin_inset ERT
219 status collapsed
220
221 \begin_layout Plain Layout
222 % It needs to be preprocessed by sjisconv or sjislatex needs to be used.
223 \end_layout
224
225 \end_inset
226
227
228 \begin_inset ERT
229 status collapsed
230
231 \begin_layout Plain Layout
232 % See the documentation of CJK.sty for details.
233 \end_layout
234
235 \end_inset
236
237
238 \end_layout
239
240 \begin_layout Standard
241
242 \lang japanese-cjk
243  Shift_JIS 日本語の文章 
244 \end_layout
245
246 \begin_layout Standard
247 hello
248 \end_layout
249
250 \begin_layout Standard
251
252 \begin_inset ERT
253 status collapsed
254
255 \begin_layout Plain Layout
256
257 \backslash
258 begin{CJK}{JIS}{}
259 \end_layout
260
261 \end_inset
262
263
264  JIS-code \e
265 \begin_inset ERT
266 status collapsed
267
268 \begin_layout Plain Layout
269 $
270 \end_layout
271
272 \end_inset
273
274 BF|K
275 \begin_inset ERT
276 status collapsed
277
278 \begin_layout Plain Layout
279
280 \backslash
281
282 \end_layout
283
284 \end_inset
285
286 8l
287 \begin_inset ERT
288 status collapsed
289
290 \begin_layout Plain Layout
291 $
292 \end_layout
293
294 \end_inset
295
296 NJ8>O\e(B
297
298 \begin_inset ERT
299 status collapsed
300
301 \begin_layout Plain Layout
302
303 \backslash
304 end{CJK}
305 \end_layout
306
307 \end_inset
308
309
310 \end_layout
311
312 \begin_layout Standard
313
314 \lang korean
315 Korean 
316 \end_layout
317
318 \end_body
319 \end_document