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