【问题标题】:Citation undefined on input even though they exist引文在输入时未定义,即使它们存在
【发布时间】:2022-07-20 20:54:04
【问题描述】:

您好,我在论文中使用 Overleaf,最近开始出现此警告: 第 1 页的引文“objprogen”在输入第 8 行未定义。

此引文已在“sources.bib”文件中创建,如下所示:

@article{objprogen,
  author={Guo, Wenzhong and Lin, Renjie and Wang, Shiping and Xiong, Neal},
  booktitle={2018 9th International Symposium on Parallel Architectures, Algorithms and 
  Programming (PAAP)}, 
  title={Object Proposal Generation for Unsupervised Object Localization}, 
  year={2018},
  volume={},
  number={},
  pages={235-242},
  doi={10.1109/PAAP.2018.00046}}

这是我的 main.tex 文件:

\documentclass[a4paper]{article}
\usepackage{blindtext, graphicx}
\usepackage{csquotes}
\usepackage[hidelinks]{hyperref}
\usepackage{url}
\usepackage[style=authoryear-ibid,backend=biber]{biblatex}
\hyphenation{op-tical net-works semi-conduc-tor}
\bibliography{sources.bib}

\begin{document}

\title{Can image recognition systems be successfully integrated with existing VIN databases 
irrespective of the vehicle manufacturer}
\author{myname}


\maketitle{}

\input{includes/01-Abstract}
\input{includes/02-Introduction}
\input{includes/03-Literature}
\input{includes/04-Methodology}
\input{includes/05-Findings}
\input{includes/06-Conclusion}
\input{includes/07-Appendix}

\end{document}

【问题讨论】:

  • 您能否制作一个不依赖于我们无权访问的外部文件的可编译minimal reproducible example?可能在其他地方有一些不相关的错误导致 biber 无法运行。
  • 如果您向我们展示 .log 文件也会有所帮助
  • 与问题无关,但hyperref 应该在其他包之后加载,而不是\bibliography,您应该使用\addbibresource(正确的 biblatex 宏)

标签: latex overleaf biblatex


【解决方案1】:

我遇到了同样的问题,通过添加\bibliographystyle{plain}解决了(当然原则上你可以使用其他样式)。对我来说,tex文件的结构如下

\documentclass[oneside, a4paper, onecolumn, 11pt]{article}
%%some packages%%
\begin{document}
%%% some stuff

\bibliographystyle{plain}
\bibliography{bibfile} %bibfile name without the .bib extension

\end{document}

所以与你相反,\bibliography 也在文档环境中。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-11-11
    • 1970-01-01
    • 2023-01-28
    • 2017-09-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-17
    相关资源
    最近更新 更多