Latex& Vscode error I found no bibdata command// command// citation – while reading file * aux
Problem description
The template I use requires the compile order: Compile with: xelatex -> biber -> xelatex -> xelatex
Using various tutorials in the VScode plugin configuration json file are xelatex -> bibtex -> xelatex -> xelatex
In fact bibtex and biber are not a thing, refer to tex link
Resulting in the problem as shown
Solution:
Add the configuration for biber compilation to the setting.json configuration file in VScode’s Latex
"latex-workshop.latex.tools": [
{
"name": "biber",
"command": "biber",
"args": [
"%DOC%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "xelatex -> biber -> xelatex*2",
"tools": [
"xelatex",
"biber",
"xelatex",
"xelatex"
]
}
],
Restart VScode and use xelatex -> biber -> xelatex*2 to compile successfully
Full Codes:
{
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
// "command": "biber",
"args": [
// "%DOC%"
"%DOCFILE%"
]
},
{
"name": "biber",
"command": "biber",
// "command": "biber",
"args": [
"%DOC%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": ["xelatex"]
},
{
"name": "latexmk",
"tools": ["latexmk"]
},
{
"name": "pdflatex -> bibtex",
"tools": ["pdflatex","bibtex"]
},
// {
// "name": "pdflatex -> bibtex -> pdflatex*2",
// "tools": [
// "pdflatex",
// "bibtex",
// "pdflatex",
// "pdflatex"
// ]
// },
{
"name": "xelatex -> bibtex -> xelatex*2",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "xelatex -> biber -> xelatex*2",
"tools": [
"xelatex",
"biber",
"xelatex",
"xelatex"
]
}
],
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk"
],
"latex-workshop.message.error.show": false,
"latex-workshop.message.warning.show": false,
"latex-workshop.showContextMenu": true,
"latex-workshop.intellisense.package.enabled": true,
"latex-workshop.latex.autoBuild.run": "onSave",
}
Read More:
- Mac Vscode C++ Customize Header File Error: linker command failed
- [Solved] LaTeX Error: File ‘‘picins.sty‘‘ not Found.
- [Solved] LaTeX Error: Command `\Bbbk‘ already defined.
- [Solved] no identity found – Command CodeSign failed with a nonzero exit code
- [Solved] Error executing Jupyter command ‘notebook‘: [Errno 2] No such file or directory
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- [Solved] Vscode Connect SSH Error: Error Running the contributed command ‘_workbench.downloadResource
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- [Solved] VSCode Edit LaTeX Error: Recipe terminated with error.
- SpringBoot Error running ‘Application’: Command line is too long.Shorten command line for
- Error running ‘PigSellCabinetApplication’: Command line is too long. Shorten command line for PigSellCabinetApplication or also for Spring Boot default configuration
- [Solved] Error running XxlJobExecutorHiveApplication. Command line is too long. Shorten the command line via
- [Solved] @webservice Error: org.apache.cxf.common.i18n.UncheckedException: No operation was found with
- [Solved] latex Compile llncs2e reference error locally
- [Solved] Error running ‘WebApplication‘: Command line is too long. Shorten command line for WebApplication or
- [Solved] Error running ‘LocalTest‘: Command line is too long. Shorten command line for LocalTest or also for…
- [MAC] How to Solve zsh Error: command not found: umi
- [Solved] Error in porting libzrtp: automake-1.14: command not found
- [Solved] VScode Run C++ File Error: fatal error:opencv2\core.hpp:No such file or diretory
- [Solved] VScode sftp Code synchronizate Error: Error: No such file