commit 41cb2124b75305742e1c193efb4e2dbc9a4fc858
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Apr 24 10:57:37 2025 +0200

    Fix glitch with zref-clever ranges
---
 src/insets/InsetRef.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp
index 7c9fc9ff59..055aca8174 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -382,7 +382,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & 
rp) const
                                                        os << 
buffer().B_("[[reference 1]], [[reference2, ...]]");
                                        }
                                        os << "\\ref{";
-                               } else if (useRange())
+                               } else if (useRange() && !use_zref)
                                        os << "}{";
                                else
                                        os << ",";
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to