当前位置:网站首页>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
边栏推荐
- 奇葩pip install
- ZZQ的博客目录--更新于20210601
- 计算属性普通函数写法 和 set get 写法
- selenium备忘录:selenium\webdriver\remote\remote_connection.py:374: ResourceWarning: unclosed<xxxx>解决办法
- [self cultivation of programmers] - Reflection on job hunting Part II
- automation - Jenkins pipline 执行 nodejs 命令时,提示 node: command not found
- virtualenv和pipenv安装
- Redis - hot key issues
- Sentinel Alibaba open source traffic protection component
- FE - Weex 使用简单封装数据加载插件为全局加载方法
猜你喜欢

ZZQ的博客目录--更新于20210601

Blog directory of zzq -- updated on 20210601

CTF three count

Thread hierarchy in CUDA

Sentinel规则持久化到Nacos

No process runs when querying GPU, but the video memory is occupied

默认google浏览器打不开链接(点击超链接没有反应)

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

Linux MySQL 5.6.51 Community Generic 安装教程

Pytest (2) mark function
随机推荐
Introduce two automatic code generators to help improve work efficiency
Hydration failed because the initial UI does not match what was rendered on the server. One of the reasons for the problem
Idea announced a new default UI, which is too refreshing (including the application link)
Sparse array (nonlinear structure)
TensorRT的数据格式定义详解
奇葩pip install
[literature reading and thought notes 13] unprocessing images for learned raw denoising
阿里云MFA绑定Chrome浏览器
Find the highest value of the current element Z-index of the page
selenium+msedgedriver+edge浏览器安装驱动的坑
qq邮箱接收不到jenkins构建后使用email extension 发送的邮件(timestamp 或 auth.......)
ctf三计
Name six schemes to realize delayed messages at one go
DeprecationWarning: .ix is deprecated. Please use.loc for label based indexing or.iloc for positi
The intern left a big hole when he ran away and made two online problems, which made me miserable
AtCoder Beginner Contest 253 F - Operations on a Matrix // 树状数组
实习生跑路留了一个大坑,搞出2个线上问题,我被坑惨了
Latex 编译报错 I found no \bibstyle & \bibdata & \citation command
记录一次RDS故障排除--RDS容量徒增
Alibaba cloud MFA binding Chrome browser