]> git.lyx.org Git - features.git/blobdiff - lib/languages
Update language support documentation and comments.
[features.git] / lib / languages
index 53c8a5a6b35fac91838775ccc9635f41c466b616..583ed89ed6244cc7a074f44a2b6d7920b02d8f0e 100644 (file)
@@ -853,8 +853,8 @@ Language italian
        LangCode         it_IT
 End
 
-# Since japanese does not load fontenc, we set
-# InternalEncoding to true.
+# Since 2016-12-18, babel-japanese works with non-TeX fonts (Xe/LuaTeX), too
+# (use with "Japanese (bxjs)" or standard document classes)
 Language japanese
        GuiName          "Japanese"
        HasGuiSupport    true
@@ -862,8 +862,7 @@ Language japanese
        Encoding         jis-platex
        LangCode         ja_JP
        Requires         japanese
-       InternalEncoding true
-       FontEncoding     None
+       FontEncoding     ASCII
        DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
        QuoteStyle       cjk
 End
@@ -906,8 +905,10 @@ Language khmer
        LangCode         km_KH
 End
 
+# Fixme: activate Polyglossia support (file format change)
 Language korean
        GuiName         "Korean"
+       #PolyglossiaName  korean
        Encoding        euc-kr
        QuoteStyle      cjkangle
        DateFormats     "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
@@ -1341,6 +1342,7 @@ Language telugu
        LangCode         te_IN
 End
 
+# alternative support with CJK package and Babel name "thaicjk"
 Language thai
        GuiName          "Thai"
        BabelName        thai
@@ -1350,11 +1352,17 @@ Language thai
        FontEncoding     LTH
        DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         th_TH
+       PostBabelPreamble
+         % restore \coyright definition corrupted by lthenc.def
+          \DeclareRobustCommand{\copyright}{%
+            \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
+         \DeclareTextSymbol{\textcopyright}{LTH}{8}
+       EndPostBabelPreamble
        # Fixme: load font package?
        # +1 support for font attributes in thai emphasizing etc.
-       # -1 conflict with custom font settings and other languages' fonts
+       # -1 forces ComputerModern as "non-thai" font
        # PostBabelPreamble
-       # \usepackage{fonts-tlwg}
+       #   \usepackage{fonts-tlwg}
        # EndPostBabelPreamble
 End