commit 804840e51f4b8e5d04b12184c6c2a1122c64f3ac
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu May 29 11:33:03 2025 +0200

    Use modifiers.* only with babel >= 3.89
---
 src/BufferParams.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 68515de2a0..aee67a0147 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -3898,9 +3898,12 @@ string BufferParams::babelCall(LaTeXFeatures const & 
features, string lang_opts,
                        bool have_one = false;
                        for (string const & s : opts) {
                                have_mods = true;
-                               if (langoptions || have_one)
+                               if (!features.isAvailableAtLeastFrom("babel", 
2023, 05, 11)
+                                   || langoptions || have_one)
                                        blang += "." + s;
                                else {
+                                       // modifiers.<lang>=opts is provided as 
of
+                                       // babel 3.89 (2023-05-11)
                                        blang = "modifiers." + blang + "=" + s;
                                        have_one = true;
                                }
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to