当前位置:网站首页>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
边栏推荐
- 2020-9-23 QT的定时器Qtimer类的使用。
- (第一百篇BLOG)写于博士二年级结束-20200818
- Three suggestions for all students who have graduated and will graduate
- Function execution space specifier in CUDA
- Golang -- map capacity expansion mechanism (including source code)
- Promise中有resolve和无resolve的代码执行顺序
- Sentinel规则持久化到Nacos
- Error "list" object is not callable in Web automatic switching window
- sprintf_ How to use s
- Hydration failed because the initial UI does not match what was rendered on the server. One of the reasons for the problem
猜你喜欢

apt命令报证书错误 Certificate verification failed: The certificate is NOT trusted

Win电脑截图黑屏解决办法

Blog directory of zzq -- updated on 20210601

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

Sentinel 阿里开源流量防护组件

Présence d'une panne de courant anormale; Problème de gestion de la fsck d'exécution résolu

由于不正常断电导致的unexpected inconsistency;RUN fsck MANUALLY问题已解决

js中对于返回Promise对象的语句如何try catch

web自动中利用win32上传附件

默认google浏览器打不开链接(点击超链接没有反应)
随机推荐
默认google浏览器打不开链接(点击超链接没有反应)
When requesting resttemplate, set the request header, request parameters, and request body.
华为MindSpore开源实习机试题
TensorRT的数据格式定义详解
The intern left a big hole when he ran away and made two online problems, which made me miserable
CUDA中的存储空间修饰符
Warp shuffle in CUDA
构建学习tensorflow
Alibaba cloud MFA binding Chrome browser
js中正则表达式的使用
底层机制Mvcc
Log (common log framework)
Virtualenv and pipenv installation
virtualenv和pipenv安装
Unexpected inconsistency caused by abnormal power failure; Run fsck manually problem resolved
eslint配置代码自动格式化
Distributed transactions: the final consistency scheme of reliable messages
分布式事务 :可靠消息最终一致性方案
(the 100th blog) written at the end of the second year of doctor's degree -20200818
【文献阅读与想法笔记13】 Unprocessing Images for Learned Raw Denoising