]> git.lyx.org Git - features.git/blobdiff - lib/languages
Fix settings for Hebrew with 8-bit TeX fonts.
[features.git] / lib / languages
index 20b3a7415e78343041f342ae05e1a3d57c8f28fa..3134d160d3b86c923203ed4fe692ef998b4b784d 100644 (file)
@@ -754,9 +754,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