commit ea921a0c8e54c7b203eebb4dcd5848ed877847bc
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Oct 10 13:45:38 2025 +0200
Fix pageref with zref
---
src/insets/InsetRef.cpp | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp
index 2eb8042467..6dfc837f3b 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -588,12 +588,10 @@ void InsetRef::latex(otexstream & os, OutputParams const
& rp) const
if (use_nolink)
os << "*";
docstring opts = getParam("options");
- if (use_zref && use_caps) {
- if (!opts.empty())
- opts +=", ";
- opts += "noname, page";
- }
- if (use_zref && !opts.empty())
+ if (!opts.empty())
+ opts +=", ";
+ opts += "noname, page";
+ if (!opts.empty())
os << "[" << opts << "]";
os << '{' << data << '}';
} else if (nlabels == 1) {
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs