当前位置:网站首页>Latex compilation error I found no \bibstyle &\bibdata &\citation command
Latex compilation error I found no \bibstyle &\bibdata &\citation command
2022-07-02 06:41:00 【Dull as dull】
Problem description
Compilation error display I found no \bibstyle command
Compilation error display I found no \bibdata command
Compilation error display I found no \citation command
Question why
Although I checked all the results on the Internet and found that there are only two possibilities to report this error
Cause of the problem 1
It can be concluded that the wrong compilation chain is used
If the compilation chain used is used bibTex
Tools
and bibTex
You will recognize that there is no referenced action \cite{****}
, And then report an error
notes :bibTex
It is necessary to ensure that all references appear in the above , If you need to quote articles that have not appeared , You should use \nocite
perhaps \nocites
command
Cause 2
When we are using LaTeX When composing a paper , because .tex Source file
If the compilation times are not enough, various errors will appear , Now the problem appears in the compilation process of references and the analysis of the causes of errors .
biblatex The principle of typesetting references : When using biblatex
When typesetting references , The steps of compiling four times are as follows :
- Step1:
xelatex
Wait for the command to compile .tex Source file generation .aux Supporting documents and .bcf References ; - Step2:
biber
Command processing .bcf Reference document format of reference document record 、 Reference items and other information , Generate .bbl Literature list ,biblatex
Macro package recognition uses the information in it to output reference labels and literature tables ; - Step3:
xelatex
Wait for the command to .tex Compile the source file again , Read in .bbl Literature list , combination .aux Auxiliary documents generate correct quotation and description tables ; - Step4: If you need backlinks , You need to in
biblatex
Macro package setting optionsbackref
, Reusexelatex
compile , Generate backlinks with literature PDF.
When running LaTeX The following error is reported :
I found no bibdata command—while reading file*.aux
I found no bibstyle command—while reading file ***.aux
I found no citation commands—while reading file ***.aux
When this error occurs , Explain that the compilation steps stay Step2
. If there are no obvious mistakes in the article , Check .tex Source file
Whether there is .bib Literature database
as well as .bst Document style
.
If there is no .bib
and .bst file
,.bst Document style
You need to go to the official website to download according to different requirements .
If you have any .bib
and .bst
file , see .bbl Literature list
Whether it is successfully generated , Use bibtex
recompile .bib file
.
The third reason is
There are still errors , see \bibliography{}
Whether the statement compiles , Check whether the sequence is correct :
\documentclass{article}
\bibliographystyle{plain} % .bst File style
\begin{document}
\bibliography{***} % .bib file name
\end{document}
The reason why the prompt is not found bibdata Mainly selected from English Literature bibliography{} Statement is not compiled , So we suspect that \end{document} Statement position of
Take a wrong example
Solution
Solution to problem cause one
Using do not carry bibTex
The compilation chain of ( For the configuration of compilation chain, please refer to my other article blog Configure multiple links )
Or you can add a reference, and you will find that the error will disappear automatically
Solution to problem cause 2
Reuse other more complete compilation chains
For the specific configuration of the compilation chain, please refer to the relatively complete configuration file in this blog, which can be directly copied and placed in the corresponding civil service in the tutorial
Solution to problem cause three
Just confirm the position of a few sentences , Make sure \end{document}
stay \bibliography{text_bib}
Just behind
\documentclass{article}
\usepackage{cite}
\begin{document}
$\sum_{i=1}^{n}a_i$
\cite{saederup2019comparison}
\bibliographystyle{plain}
\bibliography{text_bib}
\end{document}
reference
latex series —Latex References _xys430381_1 The column -CSDN Blog _latex References
bibtex - “I found no \citation commands while reading myFile.aux” - TeX - LaTeX Stack Exchange
biblatex - No \citation
, \bibdata
or \bibstyle
command - TeX - LaTeX Stack Exchange
LaTeX Why should source files be compiled multiple times - LaTeX Studio Question answering community
边栏推荐
- Find the highest value of the current element Z-index of the page
- Promise中有resolve和无resolve的代码执行顺序
- 【文献阅读与想法笔记13】 Unprocessing Images for Learned Raw Denoising
- FE - weex 开发 之 使用 weex-ui 组件与配置使用
- Redis——大Key問題
- web自动中利用win32上传附件
- Virtualenv and pipenv installation
- selenium+msedgedriver+edge浏览器安装驱动的坑
- Latest CUDA environment configuration (win10 + CUDA 11.6 + vs2019)
- Selenium memo: selenium\webdriver\remote\remote_ connection. Py:374: resourcewarning: unclosed < XXXX > solution
猜你喜欢
AWD learning
Idea announced a new default UI, which is too refreshing (including the application link)
分布式事务 :可靠消息最终一致性方案
[literature reading and thought notes 13] unprocessing images for learned raw denoising
Sentinel规则持久化到Nacos
Solution to the black screen of win computer screenshot
Distributed transactions: the final consistency scheme of reliable messages
如何调试微信内置浏览器应用(企业号、公众号、订阅号)
Redis——缓存击穿、穿透、雪崩
Name six schemes to realize delayed messages at one go
随机推荐
selenium的web自动化中常用的js-修改元素属性翻页
自学table au
Storage space modifier in CUDA
Does the assignment of Boolean types such as tag attribute disabled selected checked not take effect?
Code skills - Controller Parameter annotation @requestparam
CUDA用户对象
Win10:添加或者删除开机启动项,在开机启动项中添加在用户自定义的启动文件
Sublime Text 配置php编译环境
(the 100th blog) written at the end of the second year of doctor's degree -20200818
Error "list" object is not callable in Web automatic switching window
unittest.TextTestRunner不生成txt测试报告
20210306转载如何使TextEdit有背景图片
CTF three count
看完有用的blog
Uploading attachments using Win32 in Web Automation
Latex 编译报错 I found no \bibstyle & \bibdata & \citation command
20210306 reprint how to make TextEdit have background pictures
构建学习tensorflow
Redis——大Key問題
There are multiple good constructors and room will problem