]> git.lyx.org Git - lyx.git/commitdiff
Load Ancient Greek and Mexican Spanish via \babelprovide
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 25 Aug 2024 07:48:04 +0000 (09:48 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 25 Aug 2024 07:48:04 +0000 (09:48 +0200)
In classic babel, these varieties are only available via modifiers
or attributes, which means that they could only be used instead rather
than in addition to the default variety

lib/languages

index 7fc89b1d41b562b09151f6fd3fbcb10b1328c878..aa91817b6f9a5945de9df4d2a6ad5fc387c38088 100644 (file)
@@ -224,9 +224,8 @@ End
 # We introduce it with LyX 2.2 to give the support time to settle.
 Language ancientgreek
        GuiName          "Greek (ancient)"
-       BabelName        greek
-       BabelOpts        "ancient"
-       BabelOptFormat   modifier
+       BabelName        ancientgreek
+       BabelProvide     1
        PolyglossiaName  greek
        PolyglossiaOpts  "variant=ancient"
        XindyName        greek
@@ -1501,10 +1500,8 @@ End
 # there are no spanish shorthands in polyglossia
 Language spanish-mexico
        GuiName          "Spanish (Mexico)"
-       BabelName        spanish
-# mexico implies nodecimaldot
-       BabelOpts        "mexico, noquoting"
-       BabelOptFormat   modifier
+       BabelName        mexican
+       BabelProvide     1
        PolyglossiaName  spanish
        PolyglossiaOpts  "variant=mexican"
        XindyName        spanish-modern