commit 817e701b29d2e247a8f46d56fbb264f13ecadd7b
Author: Pavel Sanda <[email protected]>
Date: Tue Oct 13 22:46:50 2026 +0200
Correct a comment about bibtex in previews
Assisted-by: Claude Opus 5
---
src/graphics/PreviewLoader.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp
index 5cd2023470..bd4f73e620 100644
--- a/src/graphics/PreviewLoader.cpp
+++ b/src/graphics/PreviewLoader.cpp
@@ -686,8 +686,9 @@ void PreviewLoader::Impl::startLoading(bool wait)
cs << latexparam;
// --bibtex= allows document-controlled arbitrary code
- // execution in lyxpreview_tools.py. Tradeoff when disabling
- // it is unresolved citations inside math/ERT preview.
+ // execution in lyxpreview_tools.py. No tradeoff in practice: the
+ // \bibdata test there is a dead regex, so previews have never run
+ // bibtex anyway.
//cs << " --bibtex=" << quoteName(buffer_.params().bibtexCommand());
if (buffer_.params().bufferFormat() == "lilypond-book")
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs