commit b04a930a27ddd7ba5cc9159d6738bbfd0062eefa
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Feb 27 10:02:52 2022 +0100
Amend 8a0715d0bdc3
Also do not use the bb trick when exporting "nice".
---
src/insets/InsetGraphics.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp
index 91c23aa..2d93f15 100644
--- a/src/insets/InsetGraphics.cpp
+++ b/src/insets/InsetGraphics.cpp
@@ -824,7 +824,8 @@ void InsetGraphics::latex(otexstream & os,
string message;
// PDFLaTeX and Xe/LuaTeX fall back to draft themselves
// and error about it. For DVI/PS, we do something similar here.
- if (!file_exists && runparams.flavor == Flavor::LaTeX) {
+ // We also don't do such tricks when simply exporting a LaTeX file.
+ if (!file_exists && !runparams.nice && runparams.flavor ==
Flavor::LaTeX) {
TeXErrors terr;
ErrorList & errorList = buffer().errorList("Export");
docstring const s = params().filename.empty() ?
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs