mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Use real command in runparams.bibtex_command
This commit is contained in:
parent
8add88ee49
commit
63be00c8bc
@ -398,8 +398,7 @@ bool Converters::convert(Buffer const * buffer,
|
||||
buffer->params().bufferFormat() == "latex"
|
||||
&& buffer->params().encoding().package() == Encoding::japanese;
|
||||
runparams.use_indices = buffer->params().use_indices;
|
||||
runparams.bibtex_command = (buffer->params().bibtex_command == "default") ?
|
||||
string() : buffer->params().bibtex_command;
|
||||
runparams.bibtex_command = buffer->params().bibtexCommand();
|
||||
runparams.index_command = (buffer->params().index_command == "default") ?
|
||||
string() : buffer->params().index_command;
|
||||
runparams.document_language = buffer->params().language->babel();
|
||||
|
@ -614,11 +614,7 @@ bool LaTeX::runBibTeX(vector<AuxInfo> const & bibtex_info,
|
||||
continue;
|
||||
result = true;
|
||||
|
||||
string tmp = runparams.use_japanese ?
|
||||
lyxrc.jbibtex_command : lyxrc.bibtex_command;
|
||||
|
||||
if (!runparams.bibtex_command.empty())
|
||||
tmp = runparams.bibtex_command;
|
||||
string tmp = runparams.bibtex_command;
|
||||
tmp += " ";
|
||||
// onlyFileName() is needed for cygwin
|
||||
tmp += quoteName(onlyFileName(removeExtension(
|
||||
|
Loading…
Reference in New Issue
Block a user