]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/CJK/ko-en-de-el-ru_utf8-cjk.lyx
ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
[lyx.git] / autotests / export / latex / CJK / ko-en-de-el-ru_utf8-cjk.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 566
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass article
8 \use_default_options false
9 \maintain_unincluded_children false
10 \language korean
11 \language_package default
12 \inputencoding utf8-cjk
13 \fontencoding default
14 \font_roman "lmodern" "NanumMyeongjo"
15 \font_sans "default" "NanumGothic"
16 \font_typewriter "default" "NanumGothicCoding"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_osf false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
24 \font_cjk mj
25 \use_microtype false
26 \use_dash_ligatures false
27 \graphics default
28 \default_output_format pdf2
29 \output_sync 0
30 \bibtex_command default
31 \index_command default
32 \float_placement class
33 \float_alignment class
34 \paperfontsize default
35 \spacing single
36 \use_hyperref false
37 \papersize default
38 \use_geometry false
39 \use_package amsmath 1
40 \use_package amssymb 1
41 \use_package cancel 1
42 \use_package esint 1
43 \use_package mathdots 1
44 \use_package mathtools 1
45 \use_package mhchem 1
46 \use_package stackrel 1
47 \use_package stmaryrd 1
48 \use_package undertilde 1
49 \cite_engine basic
50 \cite_engine_type default
51 \biblio_style plain
52 \use_bibtopic false
53 \use_indices false
54 \paperorientation portrait
55 \suppress_date false
56 \justification true
57 \use_refstyle 0
58 \use_minted 0
59 \index Index
60 \shortcut idx
61 \color #008000
62 \end_index
63 \secnumdepth 3
64 \tocdepth 3
65 \paragraph_separation indent
66 \paragraph_indentation default
67 \is_math_indent 0
68 \math_numbering_side default
69 \quotes_style english
70 \dynamic_quotes 0
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 english
86 For multi-lingual document, with parts in European languages, you can use
87  the CJK LaTeX bundle.
88 \end_layout
89
90 \begin_layout Enumerate
91 LyX 는 훌륭한 문서를 동반합니다 - 사용하세요!
92 \end_layout
93
94 \begin_layout Enumerate
95
96 \series bold
97 Short
98 \series default
99  texts may be written without setting the language (hyphenation will be
100  missing and spell-checking complain): Greetings; Grüße; Приветы; Λογος
101 \end_layout
102
103 \begin_layout Enumerate
104
105 \lang japanese-cjk
106 For 
107 \series bold
108 longer
109 \series default
110  text parts, it is recommended to set the correct language:
111 \end_layout
112
113 \begin_deeper
114 \begin_layout Description
115
116 \lang english
117 English: Greetings from Österreich 5
118 \begin_inset space ~
119 \end_inset
120
121 µm snow.
122 \end_layout
123
124 \begin_layout Description
125
126 \lang ngerman
127 Griechisch:
128 \lang greek
129  Η 
130 \series bold
131 Ελλάδα
132 \series default
133  (στην καθαρεύουσα Ελλάς), συνταγματικό όνομα Ελληνική Δημοκρατία, είναι
134  χώρα της νοτιοανατολικής Ευρώπης στο νοτιότερο άκρο της Βαλκανικής χερσονήσου.
135 \end_layout
136
137 \begin_layout Description
138
139 \lang ngerman
140 Russisch:
141 \lang russian
142  Привет с 
143 \series bold
144 новым
145 \series default
146  годом! У нас эсть 5
147 \begin_inset space ~
148 \end_inset
149
150 µm Снег.
151 \end_layout
152
153 \begin_layout Description
154
155 \lang ngerman
156 Deutsch: Grüße aus Österreich 5
157 \begin_inset space ~
158 \end_inset
159
160 µm Schnee.
161 \end_layout
162
163 \begin_layout Description
164 Language
165 \begin_inset space ~
166 \end_inset
167
168 order
169 \begin_inset space ~
170 \end_inset
171
172 bug:
173 \end_layout
174
175 \begin_deeper
176 \begin_layout Itemize
177 The last language argument becomes the main document language.
178 \end_layout
179
180 \begin_layout Itemize
181 CJK-languages don't add to the language documents, because they have no
182  Babel-name.
183 \end_layout
184
185 \begin_layout Itemize
186 LyX sorts languages alphabetically
187 \begin_inset Foot
188 status open
189
190 \begin_layout Plain Layout
191 or by order in 
192 \begin_inset Quotes eld
193 \end_inset
194
195 lib/languages
196 \begin_inset Quotes erd
197 \end_inset
198
199 ?
200 \end_layout
201
202 \end_inset
203
204  and moves the document language to the end of the 
205 \begin_inset Quotes eld
206 \end_inset
207
208 languages list
209 \begin_inset Quotes erd
210 \end_inset
211
212 .
213 \end_layout
214
215 \begin_layout Itemize
216 If the main language is empty, Babel wrongly assumes the last in list to
217  be the document language (here 
218 \begin_inset Quotes eld
219 \end_inset
220
221 russian
222 \begin_inset Quotes erd
223 \end_inset
224
225 ).
226 \end_layout
227
228 \begin_layout Itemize
229 As 
230 \begin_inset Quotes eld
231 \end_inset
232
233 russian
234 \begin_inset Quotes erd
235 \end_inset
236
237  requires font encoding T2A, babel sets it as 
238 \emph on
239 document font encoding, 
240 \emph default
241 leading to suboptimal replacement fonts beeing used (bitmap instead of LatinMode
242 rn) for Latin words unless a specific language is set.
243 \end_layout
244
245 \end_deeper
246 \end_deeper
247 \end_body
248 \end_document