Latex&VScode 报错I found no bibdata command//command//citation—while reading file*.aux

参考:Latex 编译报错 I found no \bibstyle & \bibdata & \citation command
和:(VSCode) LaTeX 所有文件报 no \citation no\bibdata bo \bibstyle 错误
问题并没有解决,但有所启发

问题描述

我使用的模板要求编译顺序: Compile with: xelatex -> biber -> xelatex -> xelatex

使用各种教程中的VScode插件配置json文件中都是 xelatex -> bibtex -> xelatex -> xelatex

实际上bibtex和biber不是一个东西,参考tex链接

导致如图问题出现

解决方式

在VScode的Latex的setting.json配置文件中加入biber编译的配置

 "latex-workshop.latex.tools": [{"name": "biber","command": "biber","args": ["%DOC%"]}],"latex-workshop.latex.recipes": [{"name": "xelatex -> biber -> xelatex*2","tools": ["xelatex","biber","xelatex","xelatex"]}],

重启VScode以后使用xelatex -> biber -> xelatex*2编译成功

完整配置文件

{"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右键菜单。"latex-workshop.intellisense.package.enabled": true, //根据加载的包,自动完成命令或包。  "latex-workshop.latex.autoBuild.run": "onSave", //保存文件时自动build(也就是说,点击保存文件或者按快捷键Ctrl+S的时候,除了会保存Tex文件,还会帮你编译LaTex为Pdf。}

LatexVScode 报错I found no bibdata command//command//citation—while reading file*.aux相关推荐

  1. 【报错记录】MySQL向数据库中导入txt文件报错ERROR 1148 (42000): The used command is not allowed with this MySQL version

    背景 想将txt文件导入到数据库中,输入LOAD DATA LOCAL INFILE "D:\dbms_lab\department.txt" INTO TABLE DEPARTM ...

  2. [原]在使用ubuntu14.04,安装devstack的时候报错./stack.sh: line 463: generate-subunit: command not found...

    =======在使用ubuntu14.04,安装devstack的时候报错./stack.sh: line 463: generate-subunit: command not found 2016- ...

  3. CentOS中输入yum报错:sudo: unable to execute /bin/yum: No such file or directory

    今天尝试更新了下虚拟机CentOS中的python版本后. 运行"yum"命令,就报错:"sudo: unable to execute /bin/yum: No suc ...

  4. Qt5.x解决报错main.cpp:1:10: fatal error: QApplication: No such file or directory问题

    Qt5.x解决报错main.cpp:1:10: fatal error: QApplication: No such file or directory问题 问题描述 定位问题 解决方法 The en ...

  5. import dlib,报错:ImportError: libcublas.so.10.0: cannot open shared object file: No such file or direc

    import dlib,报错:ImportError: libcublas.so.10.0: cannot open shared object file: No such file or direc ...

  6. docker load镜像报错:open /var/lib/docker/tmp/docker-import-525555606/repositories: no such file or direc

    docker load镜像报错:open /var/lib/docker/tmp/docker-import-525555606/repositories: no such file or direc ...

  7. 报错:mysqld: [ERROR] Found option without preceding group in config file D:\software\mysql-5.7.19-winx

    Mysql忘记初始密码,添加 skip-grant-tables至my.ini 报错:mysqld: [ERROR] Found option without preceding group in c ...

  8. 关于pycharm报错:Fatal Python error: Py_Initialize: unable to load the file system codec的解决

    先上pycharm报错: Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundE ...

  9. Git报错:fatal: Unable to create ‘xx/.git/index.lock‘: File exis

    一 报错:fatal: Unable to create 'xx/.git/index.lock': File exis 如下: $ git commit fatal: Unable to creat ...

最新文章

  1. ajax实现自动刷新页面实例
  2. p20华为云电脑白屏_永别了电脑,华为大举动:华为云电脑,重新定义个人电脑...
  3. apache 模块编译选项
  4. Atitit. 数据库-----catalog与schema的设计区别以及在实际中使用 获取数据库所有库表 java jdbc php  c#.Net...
  5. 每日一皮:你不知道你的骑手为了给你送餐要经历什么...
  6. weblogic中ssrf漏洞修复_WebLogic SSRF 及漏洞修复
  7. Oracle Enterprise Manager简介
  8. 5月9日 python学习总结 外键、表之间的关联关系、修改表、清空表内容、复制表...
  9. 零基础学python裴帅帅_人工智能时代,爬虫如此简单。
  10. 比较两幅图像的相似度
  11. React 入门手册
  12. Nginx核心模块ngx_http_proxy_module与nginx反向代理、负载均衡详解
  13. Linux驱动开发(九)---树莓派I2C设备驱动开发(BME280)
  14. python写接口程序_利用Python开发PCAN程序接口
  15. 2021-03-25--通信网的身份认证与鉴权机制
  16. 4、Android下实现Google街景
  17. 揭秘linux启动过程
  18. 移动端浏览器隐私模式/无痕模式使用本地存储localStorage/sessionStorage的问题
  19. 山东建筑大学计算机学院孙倩,山东建筑大学毕业设计答辩.pdf
  20. STL——vector与迭代器

热门文章

  1. go语言 declared and not used
  2. R语言ggplot2 |绘制高颜值森林图
  3. 2022年混过的那些SAP项目
  4. 微信小程序css三角形内写文字-如vip标签
  5. Android 腾讯 Bugly 热修复
  6. 2012年9月11日全校网络中断,人称9.11事件。
  7. 面试被问到为什么离职该怎么回答
  8. H3C服务器R4900 G3 万兆网卡无法连接千兆交换机
  9. 通过Trie实现违禁词过滤
  10. java telnet透传_透传模式DTU不能连接到TCP_Server