当前位置:网站首页>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:
xelatexWait for the command to compile .tex Source file generation .aux Supporting documents and .bcf References ; - Step2:
biberCommand processing .bcf Reference document format of reference document record 、 Reference items and other information , Generate .bbl Literature list ,biblatexMacro package recognition uses the information in it to output reference labels and literature tables ; - Step3:
xelatexWait 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
biblatexMacro package setting optionsbackref, Reusexelatexcompile , 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
边栏推荐
- AtCoder Beginner Contest 253 F - Operations on a Matrix // 树状数组
- AWD learning
- Latex参考文献引用失败 报错 LaTeX Warning: Citation “*****” on page y undefined on input line *
- Functions of tensorrt
- CUDA中的动态全局内存分配和操作
- Selenium memo: selenium\webdriver\remote\remote_ connection. Py:374: resourcewarning: unclosed < XXXX > solution
- Three suggestions for all students who have graduated and will graduate
- 华为MindSpore开源实习机试题
- unittest.TextTestRunner不生成txt测试报告
- 实现strStr() II
猜你喜欢

代码技巧——Controller参数注解@RequestParam

华为MindSpore开源实习机试题

Shardingsphere JDBC

Log (common log framework)

Redis - hot key issues

QQ email cannot receive the email sent by Jenkins using email extension after construction (timestamp or auth...)

CTF three count

实现strStr() II

Apt command reports certificate error certificate verification failed: the certificate is not trusted
![[literature reading and thought notes 13] unprocessing images for learned raw denoising](/img/a5/ed26a90b3edd75a37b2e5164f6b7d2.png)
[literature reading and thought notes 13] unprocessing images for learned raw denoising
随机推荐
Latex在VSCODE中编译中文,使用中文路径问题解决
CUDA中的存储空间修饰符
20210306转载如何使TextEdit有背景图片
unittest.TextTestRunner不生成txt测试报告
Redis——热点key问题
看完有用的blog
selenium+msedgedriver+edge浏览器安装驱动的坑
20201002 vs 2019 qt5.14 developed program packaging
Solution to the black screen of win computer screenshot
[self cultivation of programmers] - Reflection on job hunting Part II
Redis——缓存击穿、穿透、雪崩
Fe - wechat applet - Bluetooth ble development research and use
Asynchronous data copy in CUDA
IDEA公布全新默认UI,太清爽了(内含申请链接)
Redis---1. Data structure characteristics and operation
Win10桌面图标没有办法拖动(可以选中可以打开可以删除新建等操作但是不能拖动)
Selenium memo: selenium\webdriver\remote\remote_ connection. Py:374: resourcewarning: unclosed < XXXX > solution
Redis——大Key問題
Win10网络图标消失,网络图标变成灰色,打开网络设置闪退等问题解决
Linked list (linear structure)