]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/CJKutf8.lyx.lyx
tex2lyx: fix the preamble output
[lyx.git] / src / tex2lyx / test / CJKutf8.lyx.lyx
1 #LyX file created by tex2lyx 2.3
2 \lyxformat 539
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin roundtrip
7 \textclass article
8 \begin_preamble
9 \usepackage{babel}
10
11
12 % It is impossible to get the document language because the document could start with a command,
13 % whitespace, and English word or whatever and the rest is in Japanese. Checking for the first CJK
14 % environment is no solution because the document could be English and contain only some Japanese.
15
16
17 \end_preamble
18 \options english
19 \use_default_options false
20 \maintain_unincluded_children false
21 \language chinese-traditional
22 \language_package default
23 \inputencoding utf8-cjk
24 \fontencoding T1
25 \font_roman "default" "default"
26 \font_sans "default" "default"
27 \font_typewriter "default" "default"
28 \font_math "auto" "auto"
29 \font_default_family default
30 \use_non_tex_fonts false
31 \font_sc false
32 \font_osf false
33 \font_sf_scale 100 100
34 \font_tt_scale 100 100
35 \use_microtype false
36 \use_dash_ligatures true
37 \graphics default
38 \default_output_format default
39 \output_sync 0
40 \bibtex_command default
41 \index_command default
42 \paperfontsize default
43 \spacing single
44 \use_hyperref false
45 \papersize default
46 \use_geometry false
47 \use_package amsmath 1
48 \use_package amssymb 0
49 \use_package cancel 0
50 \use_package esint 1
51 \use_package mathdots 0
52 \use_package mathtools 0
53 \use_package mhchem 0
54 \use_package stackrel 0
55 \use_package stmaryrd 0
56 \use_package undertilde 0
57 \cite_engine basic
58 \cite_engine_type default
59 \biblio_style plain
60 \use_bibtopic false
61 \use_indices false
62 \paperorientation portrait
63 \suppress_date false
64 \justification true
65 \use_refstyle 0
66 \index Index
67 \shortcut idx
68 \color #008000
69 \end_index
70 \secnumdepth 3
71 \tocdepth 3
72 \paragraph_separation indent
73 \paragraph_indentation default
74 \is_formula_indent 0
75 \quotes_style english
76 \dynamic_quotes 0
77 \papercolumns 1
78 \papersides 1
79 \paperpagestyle default
80 \tracking_changes false
81 \output_changes false
82 \html_math_output 0
83 \html_css_as_file 0
84 \html_be_strict false
85 \end_header
86
87 \begin_body
88
89 \begin_layout Standard
90
91 \lang chinese-traditional
92 Japanese 
93 \end_layout
94
95 \begin_layout Standard
96
97 \lang chinese-traditional
98 Chinese traditional
99 \end_layout
100
101 \begin_layout Standard
102
103 \lang chinese-traditional
104  Japanese 
105 \end_layout
106
107 \begin_layout Standard
108 hello 
109 \end_layout
110
111 \begin_layout Standard
112
113 \lang chinese-traditional
114 Chinese simplified 
115 \end_layout
116
117 \begin_layout Standard
118
119 \begin_inset ERT
120 status collapsed
121
122 \begin_layout Plain Layout
123
124 \backslash
125 begin{CJK}{UTF8}{hei}
126 \end_layout
127
128 \end_inset
129
130  Japanese 
131 \begin_inset ERT
132 status collapsed
133
134 \begin_layout Plain Layout
135
136 \backslash
137 end{CJK}
138 \end_layout
139
140 \end_inset
141
142
143 \end_layout
144
145 \begin_layout Standard
146
147 \lang chinese-traditional
148 Chinese simplified 
149 \end_layout
150
151 \begin_layout Standard
152
153 \lang chinese-traditional
154  Big5 文鼎楷書 
155 \end_layout
156
157 \begin_layout Standard
158
159 \lang english
160 English
161 \end_layout
162
163 \begin_layout Standard
164
165 \lang chinese-traditional
166  日本語の文章 
167 \end_layout
168
169 \begin_layout Standard
170 hello
171 \end_layout
172
173 \begin_layout Standard
174
175 \lang chinese-traditional
176 Korean 
177 \end_layout
178
179 \end_body
180 \end_document