commit b322ecb483839cf80df78f6d39d1536fa8bcb496
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Aug 25 09:48:04 2024 +0200

    Load Ancient Greek and Mexican Spanish via \babelprovide
    
    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 | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/lib/languages b/lib/languages
index 7fc89b1d41..aa91817b6f 100644
--- a/lib/languages
+++ b/lib/languages
@@ -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
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to