commit 46822230721877e25e4f7d08fd545eabe2441096
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 f2190e35d0..ed835946a7 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -557,12 +557,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