# * 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.
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
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
End
# not yet supported by polyglossia
+# The (rarely used) Cyrillic script is not supported (try serbian).
Language bosnian
GuiName "Bosnian"
BabelName bosnian
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
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}
Provides textcyrillic
End
-# not yet supported by babel
+# not supported by babel
Language malayalam
GuiName "Malayalam"
PolyglossiaName malayalam
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
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