commit f263db95b286e560521bb880741dc097358163cf
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Thu Apr 3 13:05:06 2025 +0200

    Don't group labels with blanks with prettyref
---
 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 f634daae2f..eedc9725f9 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -375,7 +375,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & 
rp) const
                                else
                                        os << ",";
                        }
-                       if (contains(*it, ' '))
+                       if (contains(*it, ' ') && 
buffer().masterParams().xref_package != "prettyref")
                                // refstyle bug: labels with blanks need to be 
grouped
                                // otherwise the blanks will be gobbled
                                os << "{" << *it << "}";
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to