commit acbf68ee44ecc4eef4682be21627aa9f7d9b01da
Author: Juergen Spitzmueller <[email protected]>
Date: Thu Aug 14 16:55:41 2025 +0200
Fix convert_crossref_package
---
lib/lyx2lyx/lyx_2_5.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py
index a20dddf4c6..498529b3c2 100644
--- a/lib/lyx2lyx/lyx_2_5.py
+++ b/lib/lyx2lyx/lyx_2_5.py
@@ -2525,7 +2525,7 @@ def convert_crossref_package(document):
i = find_token(document.header, "\\use_refstyle", 0)
if i != -1:
value = get_value(document.header, "\\use_refstyle", i)
- if value == 1:
+ if value == "1":
document.header[i] = "\\crossref_package refstyle"
else:
document.header[i] = "\\crossref_package prettyref"
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs