Open finalion opened 7 years ago
I have the same problem of failing to compiling a bib file.
We may be able to specific a whole pipeline instead of just a compiler in "latexCompile.compiler".
This feature may be similar to the customized build in the "latextools" plugin of sublime.
A pipeline would look like: latex -> bibtex -> latex -> latex (For now, I perform the second step manually.)
"latexCompile.compiler": "script",
"script": [
"xelatex -synctex=1 -interaction=nonstopmode",
"bibtex",
"xelatex -synctex=1 -interaction=nonstopmode",
"xelatex -synctex=1 -interaction=nonstopmode"
]
@zdyang, @finalion Could you try out the pull request and provide feedback? It first compiles the document, and if there are undefined citations, it runs "bibtex -> latex -> latex". Otherwise, it stops. In both cases, it opens the document for viewing after all compilation is complete.
How can I set the bibtex compile command? Now I am just using the console to execute the commands and generate the references.