commit a43d8501a2ce9649ec7394e14f1c45b877ff7a90 Author: Kornel Benko <kor...@lyx.org> Date: Sat Oct 3 13:28:26 2020 +0200
Do not use runparams.nice == true while exporting to docbook5 The setting implies that the variable external_in_tmpdir is set to false. If a lyx-file includes external material for spreadsheet, the conversion results are in tmpdir. The routine doSubstitution() (insets/ExternalSupport.cpp:188) therefore does nothing for the entry $$Contents because it uses wrong path. --- src/Buffer.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 2ef5768..3fe0b9b 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4469,7 +4469,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir // DocBook backend else if (backend_format == "docbook5") { runparams.flavor = OutputParams::DOCBOOK5; - runparams.nice = !put_in_tempdir; + runparams.nice = false; if (makeDocBookFile(FileName(filename), runparams) == ExportKilled) return ExportKilled; } -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs