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
This commit is contained in:
Juergen Spitzmueller 2024-08-25 09:48:04 +02:00
parent 047dee5a3b
commit b322ecb483

View File

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