Do not redefine \jobname for previews

This reverts the fix for #9627, with the agreement of original reporter.

Fixes preview of citation insets.
This commit is contained in:
Jean-Marc Lasgouttes 2022-07-27 12:37:13 +02:00
parent 20d5851fb7
commit e0e548217e

View File

@ -619,11 +619,6 @@ void PreviewLoader::Impl::startLoading(bool wait)
}
of << "\\batchmode\n";
// Set \jobname of previews to the document name (see bug 9627)
of << "\\def\\jobname{"
<< from_utf8(changeExtension(buffer_.latexName(), ""))
<< "}\n";
LYXERR(Debug::OUTFILE, "Format = " << buffer_.params().getDefaultOutputFormat());
string latexparam = "";
bool docformat = !buffer_.params().default_output_format.empty()