]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
tex2lyx/text.cpp: add default value for 2 box features
[lyx.git] / lib / languages
index 0e2ac81c8de235957f7d4612c30f6fe01d46a76b..06d3c0f5807f6a5eb58b6fea20c241f4dc9bb7e3 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
@@ -460,6 +469,16 @@ Language galician
        EndPostBabelPreamble
 End
 
+Language georgian
+       GuiName          "Georgian"
+       BabelName        georgian
+       QuoteStyle       german
+       Encoding         utf8
+       InternalEncoding true
+       FontEncoding     "T8M,T8K"
+       LangCode         ka_GE
+End
+
 # german does not use a country code (due to the variety)
 Language german
        GuiName          "German (old spelling)"
@@ -484,7 +503,8 @@ End
 
 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
 # We introduce it with LyX 2.2 to give the support time to settle.
-# Polyglossia does not yet support Swiss German. We use ngerman for now.
+# In polyglossia, this is supported since release 1.33.6 (May 2015)
+# We use german until TL 2015 is out, though.
 Language german-ch
        GuiName          "German (Switzerland)"
        BabelName        nswissgerman
@@ -497,7 +517,8 @@ Language german-ch
 End
 
 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
-# Polyglossia does not yet support Swiss German. We use german for now.
+# In polyglossia, this is supported since release 1.33.6 (May 2015)
+# We use ngerman until TL 2015 is out, though.
 Language german-ch-old
        GuiName          "German (Switzerland, old spelling)"
        BabelName        swissgerman
@@ -539,7 +560,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