X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flanguages;h=89ecabf75435239f55c9721e1c3535e4d0db7179;hb=44089e8a99cb05fb6069183c468aee37f8612796;hp=20b3a7415e78343041f342ae05e1a3d57c8f28fa;hpb=1361f1a45f23576a8c88688020e5da719ef9789e;p=lyx.git diff --git a/lib/languages b/lib/languages index 20b3a7415e..89ecabf754 100644 --- a/lib/languages +++ b/lib/languages @@ -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 @@ -754,9 +763,15 @@ Language hebrew Encoding cp1255 QuoteStyle english InternalEncoding true -# Hebrew babel loads the font encodings -# itself in the appropriate order -# FontEncoding LHE + # babel-hebrew expects the encoding for *other* languages last: + # FontEncoding HE8 + # 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" RTL true LangCode he_IL @@ -877,6 +892,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} @@ -995,7 +1012,7 @@ Language macedonian Provides textcyrillic End -# not yet supported by babel +# not supported by babel Language malayalam GuiName "Malayalam" PolyglossiaName malayalam @@ -1203,7 +1220,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 @@ -1324,9 +1342,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