commit bd9cc0aff6255330f0bd1ac138a0edda022a7ca6
Author: Richard Kimberly Heck <[email protected]>
Date: Fri Oct 3 12:47:07 2025 -0400
Turns out we do need to output the refstyle stuff, even
when no theorem counter is given.
I have checked that cleveref still works, at least with
the paper of mine in question.
---
src/LaTeXFeatures.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 2d498f2b55..0d1fd3127e 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -2078,7 +2078,7 @@ string const LaTeXFeatures::getThmExtraDefinitions() const
}
}
// and refstyle
- else if (!thm.counter.empty() && params_.xref_package ==
"refstyle" && isRequired("refstyle")) {
+ else if (params_.xref_package == "refstyle" && isRequired("refstyle"))
{
if (thm.refprefix.empty()) {
LYXERR0("Unable to write refstyle definition
for `" << thm.name << "'.");
continue;
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs