]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
Update toolbar and properly reset focus when find widget is closed (#12396)
[lyx.git] / src / Converter.cpp
index b4340c8f520ba8b7deee261c8623561401e7c320..0578026be334ca5dec3dd82682f4c979bacec5e1 100644 (file)
@@ -478,7 +478,7 @@ Converters::RetVal Converters::convert(Buffer const * buffer,
                         || suffixIs(bp.bufferFormat(), "-ja"))
                        && bp.encoding().package() == Encoding::japanese;
                runparams.use_indices = bp.use_indices;
-               runparams.bibtex_command = bp.bibtexCommand();
+               runparams.bibtex_command = bp.bibtexCommand(true);
                runparams.index_command = (bp.index_command == "default") ?
                        string() : bp.index_command;
                runparams.document_language = bp.language->lang();
@@ -853,7 +853,7 @@ Converters::RetVal Converters::runLaTeX(Buffer const & buffer, string const & co
 
        // do the LaTeX run(s)
        string const name = buffer.latexName();
-       LaTeX latex(command, runparams, FileName(makeAbsPath(name)),
+       LaTeX latex(command, runparams, makeAbsPath(name),
                    buffer.filePath(), buffer.layoutPos(),
                    buffer.isClone(), buffer.freshStartRequired());
        TeXErrors terr;