]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
ctest update.
[lyx.git] / lib / languages
index 3134d160d3b86c923203ed4fe692ef998b4b784d..a39c5c75286e4eb6bceb95ea5dc1d6c604ea83df 100644 (file)
@@ -81,7 +81,8 @@
 #   * yyyy     the year as four digit number
 # * Encoding is the default encoding used with TeX fonts.
 #   It is only used if Document > Settings > Language > Encoding
-#   is set to "Language Default" and "use non-TeX fonts" is FALSE.
+#   is set to "Language Default" or "Language Default (no inputenc)"
+#   and "use non-TeX fonts" is FALSE.
 #   Encoding "inherit" means: keep encoding of the context (used by
 #   latex_language).
 # * FontEncoding is a bar-separated list of font encodings.
@@ -231,6 +232,11 @@ Language arabic_arabi
        FontEncoding     LAE
        DateFormats      "d MMMMŲŒ yyyy|dd/MM/yyyy|d/M/yyyy"
        RTL              true
+       PostBabelPreamble
+         % arabi + hyperref redefines \noboundary as local textcommand
+         \let\orig@noboundary\noboundary
+         \DeclareTextCommandDefault{\noboundary}{\orig@noboundary}
+       EndPostBabelPreamble
        LangCode         ar_SA
 End
 
@@ -335,6 +341,8 @@ Language basque
 End
 
 # not yet supported by polyglossia
+# Up to 2018-08-25 (babel-belarusian 1.4), the babel option is "belarusianb"
+# but the language name "belarusian" (without trailing "b").
 Language belarusian
        GuiName          "Belarusian"
        BabelName        belarusian
@@ -346,6 +354,7 @@ Language belarusian
 End
 
 # not yet supported by polyglossia
+# The (rarely used) Cyrillic script is not supported (try serbian).
 Language bosnian
        GuiName          "Bosnian"
        BabelName        bosnian
@@ -759,8 +768,6 @@ Language hebrew
        # Define the font encoding the babel-hebrew way and
        # work around too simple test for article-like classes in rlbabel.def.
        PreBabelPreamble
-         \def\HeblatexEncoding{HE8}
-         \def\HeblatexEncodingFile{he8enc}
          \providecommand{\l@chapter}{\relax}
        EndPreBabelPreamble
        DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
@@ -883,6 +890,8 @@ Language kazakh
        FontEncoding     T2A
        DateFormats      "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
        LangCode         kk_KZ
+       # FIXME: this sets the global font encoding also
+       # if Kazakh is only used as secondary language.
        PostBabelPreamble
        \input{t2aenc.def}
        \AtBeginDocument{\fontencoding{T2A}\selectfont}
@@ -1001,7 +1010,7 @@ Language macedonian
        Provides         textcyrillic
 End
 
-# not yet supported by babel
+# not supported by babel
 Language malayalam
        GuiName          "Malayalam"
        PolyglossiaName  malayalam
@@ -1209,7 +1218,8 @@ Language serbian
        PolyglossiaOpts  "script=Cyrillic"
        QuoteStyle       polish
        Encoding         utf8
-       FontEncoding     T2A
+        # Cyrillic font encoding required but not set by "serbianc".
+       # FontEncoding     T2A
        DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         sr_RS
 End
@@ -1330,9 +1340,12 @@ Language thai
        FontEncoding     LTH
        DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         th_TH
-       PostBabelPreamble
-       \usepackage{thswitch}
-       EndPostBabelPreamble
+       # Fixme: load font package?
+       # +1 support for font attributes in thai emphasizing etc.
+       # -1 conflict with custom font settings and other languages' fonts
+       # PostBabelPreamble
+       # \usepackage{fonts-tlwg}
+       # EndPostBabelPreamble
 End
 
 # not supported by babel