[LyX/master] Assure bibinfo is correctly processed

Juergen Spitzmueller spitz at lyx.org
Thu Aug 27 09:27:11 UTC 2020


commit b4ca3e4fa4760787a7209064f338993019ef869e
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Thu Aug 27 11:42:03 2020 +0200

    Assure bibinfo is correctly processed
---
 src/BiblioInfo.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp
index 5ec3986..149b93b 100644
--- a/src/BiblioInfo.cpp
+++ b/src/BiblioInfo.cpp
@@ -1000,8 +1000,10 @@ docstring const & BibTeXInfo::getInfo(BibTeXInfoList const & xrefs,
 {
 	bool const richtext = ci.richtext;
 
-	if (!richtext && !info_.empty())
+	if (!richtext && !info_.empty()) {
+		info_ = convertLaTeXCommands(processRichtext(info_, false));
 		return info_;
+	}
 	if (richtext && !info_richtext_.empty())
 		return info_richtext_;
 


More information about the lyx-cvs mailing list