LaTeX文内引用报错:undefined citations及空参考文献问题求助
LaTeX文内引用报错:未定义引用及空参考文献问题
我在撰写学位论文时需要实现LaTeX文内引用,目前遇到以下问题:
- 无论使用何种编译器,均出现“undefined citations”(未定义引用)错误,PDF中仅显示引用键;同时提示参考文献为空
- 相同代码及参考文献在朋友的Overleaf环境中可正常运行,但我使用MikTeX+Texmaker始终无法解决问题
已尝试的操作:
- 最初打算从外部文件调用引用(通过Zotero生成可更新的.bib文件),指定文件路径无效
- 将参考文献文件放在.tex同目录下后问题仍未解决
附上我的代码、日志警告信息,请求协助排查问题:
代码
\documentclass[11pt]{article} usepackage{geometry} usepackage{latexsym} usepackage{graphicx} usepackage[style=ieee]{biblatex} \addbibresource{refs.bib} %%updated from References.bib %document headings \title{Practice} \author{Justin Smith} \begin{document} %Cover Page \maketitle \textbf{This page represents the cover page}\\newline \textit{Report will begin here} \thispagestyle{empty} \pagebreak %Introduction \section{Introduction} The introduction for the report will be inserted here \pagebreak %end Introduction %Literature Survey \section{Literature Survey} \subsection{Referencing Examples} This section serves to use a reference and understand how to implement references as well as generate a reference list at the end of this report.\\ The citation test \cite{schmidtPreprocessingMethodologyEnhance2019}\\ \pagebreak %Reference List \section*{Reference List} %%\bibliographystyle{IEEE} %%\bibliography{C:/Users66smi/OneDrive/University of Pretoria/Zotero/MyZoteroLibrary.bib} %%\printbibliography[title = Reference List] %%\bibliography{MyZoteroLibrary.bib} \end{document}
日志警告信息(翻译后)
LaTeX警告:第3页第36行的引用'schmidtPreprocessingMethodologyEnhance2019'未定义。 第36-37行段落出现Underfull \hbox(劣度值10000) [] [3] LaTeX警告:第39行的参考文献为空。 (Latex test.aux) LaTeX警告:存在未定义的引用。 biblatex包警告:请重新运行Biber处理以下文件: (biblatex) "Latex test" (biblatex) 之后重新运行LaTeX。 logreq包信息:正在将请求写入'"Latex test".run.xml'。 \openout1 = `"Latex test.run.xml"'。 )
内容的提问来源于stack exchange,提问作者Justin Smith
相关产品推荐
相关产品推荐

