mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
20d5851fb7
commit
e0e548217e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user