From b322ecb483839cf80df78f6d39d1536fa8bcb496 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 25 Aug 2024 09:48:04 +0200 Subject: [PATCH] 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 -- 2.39.5