]> git.lyx.org Git - lyx.git/blobdiff - 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
index d4ed2d289947def2acc1ac5047d9d5b6e9577722..3c54f159f67df95650d839314da57d7a94dfa059 100644 (file)
@@ -11,7 +11,7 @@
 \language_package default
 \inputencoding utf8-cjk
 \fontencoding default
-\font_roman "cmr" "NanumMyeongjo"
+\font_roman "lmodern" "NanumMyeongjo"
 \font_sans "default" "NanumGothic"
 \font_typewriter "default" "NanumGothicCoding"
 \font_math "auto" "auto"
@@ -92,14 +92,22 @@ LyX 는 훌륭한 문서를 동반합니다 - 사용하세요!
 \end_layout
 
 \begin_layout Enumerate
-Short texts may be written without setting the language (hyphenation will
- be missing and spell-checking complain): Greetings; Grüße; Приветы; Λογος
+
+\series bold
+Short
+\series default
+ texts may be written without setting the language (hyphenation will be
+ missing and spell-checking complain): Greetings; Grüße; Приветы; Λογος
 \end_layout
 
 \begin_layout Enumerate
 
 \lang japanese-cjk
-For longer text parts, it is recommended to set the correct language:
+For 
+\series bold
+longer
+\series default
+ text parts, it is recommended to set the correct language:
 \end_layout
 
 \begin_deeper
@@ -115,16 +123,6 @@ English: Greetings from Österreich 5
 
 \begin_layout Description
 
-\lang ngerman
-Deutsch: Grüße aus Österreich 5
-\begin_inset space ~
-\end_inset
-
-µm Schnee.
-\end_layout
-
-\begin_layout Description
-
 \lang ngerman
 Griechisch:
 \lang greek
@@ -152,6 +150,99 @@ Russisch:
 µm Снег.
 \end_layout
 
+\begin_layout Description
+
+\lang ngerman
+Deutsch: Grüße aus Österreich 5
+\begin_inset space ~
+\end_inset
+
+µm Schnee.
+\end_layout
+
+\begin_layout Description
+Language
+\begin_inset space ~
+\end_inset
+
+order
+\begin_inset space ~
+\end_inset
+
+bug:
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+The last language argument becomes the main document language.
+\end_layout
+
+\begin_layout Itemize
+CJK-languages don't add to the language documents, because they have no
+ Babel-name.
+\end_layout
+
+\begin_layout Itemize
+LyX sorts languages alphabetically
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+or by order in 
+\begin_inset Quotes eld
+\end_inset
+
+lib/languages
+\begin_inset Quotes erd
+\end_inset
+
+?
+\end_layout
+
+\end_inset
+
+ and moves the document language to the end of the 
+\begin_inset Quotes eld
+\end_inset
+
+languages list
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+If the main language is empty, Babel wrongly assumes the last in list to
+ be the document language (here 
+\begin_inset Quotes eld
+\end_inset
+
+russian
+\begin_inset Quotes erd
+\end_inset
+
+).
+\end_layout
+
+\begin_layout Itemize
+As 
+\begin_inset Quotes eld
+\end_inset
+
+russian
+\begin_inset Quotes erd
+\end_inset
+
+ requires font encoding T2A, babel sets it as 
+\emph on
+document font encoding, 
+\emph default
+leading to suboptimal replacement fonts beeing used (bitmap instead of LatinMode
+rn) for Latin words unless a specific language is set.
+\end_layout
+
+\end_deeper
 \end_deeper
 \end_body
 \end_document