mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
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.
This commit is contained in:
parent
efc0877f8f
commit
a43d8501a2
@ -4469,7 +4469,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir
|
|||||||
// DocBook backend
|
// DocBook backend
|
||||||
else if (backend_format == "docbook5") {
|
else if (backend_format == "docbook5") {
|
||||||
runparams.flavor = OutputParams::DOCBOOK5;
|
runparams.flavor = OutputParams::DOCBOOK5;
|
||||||
runparams.nice = !put_in_tempdir;
|
runparams.nice = false;
|
||||||
if (makeDocBookFile(FileName(filename), runparams) == ExportKilled)
|
if (makeDocBookFile(FileName(filename), runparams) == ExportKilled)
|
||||||
return ExportKilled;
|
return ExportKilled;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user