]> git.lyx.org Git - features.git/blobdiff - lib/languages
\textcyr -> \textcyrillic
[features.git] / lib / languages
index 1c07a32ad9d701e7f122f126569618806cce77e3..451b1b866aee2661874135ea3eeea98e9ec75e5e 100644 (file)
@@ -26,6 +26,7 @@
 #        <extra latex code inserted after babel>
 #      EndPostBabelPreamble
 #      Requires           <requirement>
+#      Provides           <feature>
 # End
 #
 #
@@ -65,6 +66,8 @@
 # * 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.
+#   Encoding "inherit" means: keep encoding of the context (used by
+#   latex_language).
 # * InternalEncoding is used to tell LyX that babel internally sets a
 #   non-standard font encoding (such as hebrew to LHE or greek to LGR).
 #   If True, LyX cares for characters/macros that do not exist in
@@ -100,13 +103,13 @@ Language ignore
        GuiName          "Ignore"
        BabelName        ignore
        PolyglossiaName  ignore
-       Encoding         iso8859-1
+       Encoding         inherit
        LangCode         ignore
 End
 
 Language latex
        GuiName          "LaTeX"
-       Encoding         iso8859-1
+       Encoding         inherit
        LangCode         latex
 End
 
@@ -165,6 +168,7 @@ Language ancientgreek
        InternalEncoding  true
        FontEncoding      LGR
        LangCode          grc_GR
+       Provides          textgreek
 End
 
 # FIXME: dummy babel language for arabic_arabtex to be able
@@ -332,6 +336,7 @@ Language bulgarian
        Encoding         cp1251
        FontEncoding     T2A
        LangCode         bg_BG
+       Provides         textcyrillic
 End
 
 # not yet supported by polyglossia
@@ -616,6 +621,7 @@ Language greek
        InternalEncoding  true
        FontEncoding      LGR
        LangCode          el_GR
+       Provides          textgreek
 End
 
 Language polutonikogreek
@@ -628,6 +634,7 @@ Language polutonikogreek
        InternalEncoding  true
        FontEncoding      LGR
        LangCode          el_GR
+       Provides          textgreek
 End
 
 Language hebrew
@@ -848,6 +855,7 @@ Language macedonian
        Encoding         cp1251
        FontEncoding     T2A
        LangCode         mk_MK
+       Provides         textcyrillic
 End
 
 # not supported by babel
@@ -868,6 +876,7 @@ Language mongolian
        FontEncoding     T2A
        LangCode         mn_MN
        AsBabelOptions   true
+       Provides         textcyrillic
 End
 
 Language newzealand
@@ -982,6 +991,7 @@ Language russian
        Encoding         koi8-r
        FontEncoding     T2A
        LangCode         ru_RU
+       Provides         textcyrillic
 End
 
 Language samin
@@ -1171,6 +1181,7 @@ Language ukrainian
        Encoding         koi8-u
        FontEncoding     T2A
        LangCode         uk_UA
+       Provides         textcyrillic
 End
 
 Language uppersorbian
@@ -1191,18 +1202,13 @@ Language urdu
        LangCode         ur_PK
 End
 
-# vietnam must be loaded locally with babel options,
-# not globally via class options, see
-# http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129417.html
 Language vietnamese
        GuiName          "Vietnamese"
-       BabelName        vietnam
+       BabelName        vietnamese
        PolyglossiaName  vietnamese
        QuoteStyle       english
        Encoding         utf8
        LangCode         vi_VN
-       AsBabelOptions   true
-       Requires         vietnamese
 End
 
 Language welsh