]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
Implement DocIterator::backwardInset()
[lyx.git] / lib / languages
index d54d9f73673bbbbd48347cea95daf3df10056219..9d4f922e7514d0bf7fbd1f42302d06f01a4f623f 100644 (file)
@@ -45,7 +45,9 @@
 #   Document > Settings > Language > Encoding is not set to "Language
 #   Default"
 # * InternalEncoding is used to tell LyX that babel internally sets a font
-#   encoding (such as hebrew to LHE). See bug #5091.
+#   encoding (such as hebrew to LHE). This prevents LyX from outputting
+#   characters that only exist in T1 font encoding (such as "<", ">", "|"
+#   and straight quote). See bug #5091.
 # * "FontEncoding none" tells LyX that fontenc should not be loaded with this
 #   language.
 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
@@ -118,14 +120,21 @@ Language american
        LangCode         en_US
 End
 
-# not supported by babel
+# In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
+# We introduce it with LyX 2.2 to give the support time to settle.
 Language ancientgreek
-       GuiName          "Greek (ancient)"
-       PolyglossiaName  greek
-       PolyglossiaOpts  variant=ancient
-       QuoteStyle       french
-       Encoding         iso8859-7
-       LangCode         grc_GR
+       GuiName           "Greek (ancient)"
+       BabelName         greek
+       PostBabelPreamble
+       \languageattribute{greek}{ancient}
+       EndPostBabelPreamble
+       PolyglossiaName   greek
+       PolyglossiaOpts   variant=ancient
+       QuoteStyle        french
+       Encoding          iso8859-7
+       InternalEncoding  true
+       FontEncoding      LGR
+       LangCode          grc_GR
 End
 
 # FIXME: dummy babel language for arabic_arabtex to be able
@@ -516,7 +525,7 @@ Language greek
        QuoteStyle        french
        Encoding          iso8859-7
        InternalEncoding  true
-       FontEncoding      "LGR"
+       FontEncoding      LGR
        LangCode          el_GR
 End
 
@@ -528,7 +537,7 @@ Language polutonikogreek
        QuoteStyle        french
        Encoding          iso8859-7
        InternalEncoding  true
-       FontEncoding      "LGR"
+       FontEncoding      LGR
        LangCode          el_GR
 End
 
@@ -539,7 +548,9 @@ Language hebrew
        Encoding          cp1255
        QuoteStyle        english
        InternalEncoding  true
-       FontEncoding      "LHE"
+# Hebrew babel loads the font encodings
+# itself in the appropriate order
+#      FontEncoding      LHE
        RTL               true
        LangCode          he_IL
 End
@@ -812,6 +823,8 @@ Language russian
        PolyglossiaName  russian
        QuoteStyle       french
        Encoding         koi8-r
+       FontEncoding     T2A
+       InternalEncoding true
        LangCode         ru_RU
 End
 
@@ -987,6 +1000,8 @@ Language ukrainian
        PolyglossiaName  ukrainian
        QuoteStyle       french
        Encoding         koi8-u
+       FontEncoding     T2A
+       InternalEncoding true
        LangCode         uk_UA
 End