commit 7ca3255c4b2d6cb1017a9fb11c1b5eaad823c58e
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Oct 10 13:57:36 2025 +0200
Fix pageref with zref (for InsetMathRef)
---
src/mathed/InsetMathRef.cpp | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/mathed/InsetMathRef.cpp b/src/mathed/InsetMathRef.cpp
index 9d7a05a848..e1736166b6 100644
--- a/src/mathed/InsetMathRef.cpp
+++ b/src/mathed/InsetMathRef.cpp
@@ -580,11 +580,9 @@ void InsetMathRef::writeMath(TeXMathStream & os) const
if (use_nolink)
os << "*";
docstring opts = asString(cell(1));
- if (hasFeature("caps")) {
- if (!opts.empty())
- opts +=", ";
- opts += "noname, page";
- }
+ if (!opts.empty())
+ opts +=", ";
+ opts += "noname, page";
if (!opts.empty())
os << "[" << opts << "]";
os << '{' << cell(0) << '}';
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs