SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 362 forks source link

ScriptBuilder fails to generate bbl multibib #1558

Open Fratorhe opened 2 years ago

Fratorhe commented 2 years ago

Hi,

First, I would like to thank you for this amazing work.

I am currently working on a document which uses multibib. I decided to setup a scriptbuilder to compile it as follows:

"builder_settings": {
  "windows": {
  "script_commands": [
  "pdflatex -synctex=1 -interaction=nonstopmode",
  "bibtex RD.aux",
  "bibtex AD.aux",
  "pdflatex -synctex=1 -interaction=nonstopmode",
  "pdflatex -synctex=1 -interaction=nonstopmode",
 ]
 }

However, bibtex does not generate the appropriate bbl file to be included in the successive pdflatex calls. The console shows the following:

ScriptBuilder: Invoking 'pdflatex -synctex=1 -interaction=nonstopmode main'... done. Invoking 'bibtex RD.aux main'... done. Invoking 'bibtex AD.aux main'... done. Invoking 'pdflatex -synctex=1 -interaction=nonstopmode main'... done. Invoking 'pdflatex -synctex=1 -interaction=nonstopmode main'... done.

I have the feeling there is something wrong with the way bibtex is being called as these main keywords are being added automatically to the command.

When I run directly bibtex RD.aux from terminal, it works well, and it generates the bbl files.

Do you have any suggestions on this?

Regards, Francisco