[LyX/master] Fix non-biblatex style checks

Juergen Spitzmueller spitz at lyx.org
Sun Jul 14 07:48:56 UTC 2024


commit 25dd2e29b7f4a8b4c0030c90b91fa56c0e404b3a
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Jul 14 09:39:54 2024 +0200

    Fix non-biblatex style checks
---
 src/BufferParams.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index acc74f6e0c..aa538e6d61 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -3799,7 +3799,8 @@ vector<CitationStyle> BufferParams::citeStyles() const
 bool BufferParams::isActiveBiblatexCiteStyle(CitationStyle const & cs) const
 {
 	if (!useBiblatex())
-		return false;
+		// outside biblatex, all cite styles are active
+		return true;
 
 	if (cs.styles.empty() && cs.nostyles.empty())
 		// no restrictions


More information about the lyx-cvs mailing list