mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
PreviewLoader: use bufferFormat() here, even if this also relies on useXetex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fc9c1494ce
commit
79514a3fcd
@ -600,7 +600,7 @@ void PreviewLoader::Impl::startLoading(bool wait)
|
||||
<< int(font_scaling_factor) << ' '
|
||||
<< theApp()->hexName(fg) << ' '
|
||||
<< theApp()->hexName(bg);
|
||||
if (buffer_.params().useXetex)
|
||||
if (buffer_.bufferFormat() == "xetex")
|
||||
cs << " xelatex";
|
||||
|
||||
string const command = libScriptSearch(cs.str());
|
||||
|
Loading…
Reference in New Issue
Block a user