// run through the LaTeX compiler.
// If we're running through the LaTeX compiler, we should write the
// generated files in the bufer's temporary directory.
- bool const external_in_tmpdir = !runparams.nice && !runparams.dryrun;
+ bool const external_in_tmpdir = !runparams.nice;
+ bool const dryrun = runparams.dryrun || runparams.inComment;
// If the template has specified a PDFLaTeX output, then we try and
// use that.
buf, os,
*(runparams.exportdata),
external_in_tmpdir,
- runparams.inComment);
+ dryrun);
}
}
return external::writeExternal(params_, "LaTeX", buf, os,
*(runparams.exportdata),
external_in_tmpdir,
- runparams.inComment);
+ dryrun);
}
{
return external::writeExternal(params_, "Ascii", buf, os,
*(runparams.exportdata), false,
- runparams.inComment);
+ runparams.dryrun || runparams.inComment);
}
{
return external::writeExternal(params_, "DocBook", buf, os,
*(runparams.exportdata), false,
- runparams.inComment);
+ runparams.dryrun || runparams.inComment);
}