【问题标题】:my code keep showing Cannot find 'test.aux.bcf'我的代码一直显示找不到'test.aux.bcf'
【发布时间】:2021-05-01 12:38:56
【问题描述】:

这是我的 test.tex 文件....

\documentclass[oneside]{book}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}


\usepackage[
backend=biber,
style=alphabetic,
citestyle=authoryear
]{biblatex}

\addbibresource{ref}



\begin{document}

\frontmatter
\title{\vspace{-1.0cm}\textbf{\Large{This is a title}}} %Title
\mainmatter

some Random Text Yayyyyyyy

some Random Text Yayyyyyyy

some Random Text Yayyyyyyy

Random text here \cite{a1}.

some Random Text Yayyyyyyy

some Random Text Yayyyyyyy \cite{a2}

\backmatter
\printbibliography

\end{document}

这是我的 ref.bib 文件……

@article{a1,
  title= "Peter Gabriel Bergmann, Introduction to the theory of relativity",
  author= "Infeld, L"
  journal="Bulletin of the American Mathematical Society",
  volume="49",
  number="7",
  pages="527--529",
  year="1943",
  publisher="American Mathematical Society"
"

@book{a2,
  title="Matrices and tensors in physics",
  author="Joshi, Avinash Wasudeo",
  year="1995",
  publisher="New Age International"
}

我的错误信息是,

进程已启动 信息 - 这是 Biber 2.16 信息 - 日志文件是 'test.aux.blg' 错误 - 找不到“test.aux.bcf”!信息 - 错误:1 进程因错误退出

任何人都可以帮助我厌倦了这个并想解决这个问题,以便我可以将它应用到我的论文中。我正在使用 TexMaker。

【问题讨论】:

  • 您似乎将 .aux 文件提供给 biber,这一定是 TexMaker 配置错误
  • 你能展示你的texmaker配置吗?该命令应该类似于biber %(没有文件类型)
  • 您还缺少\addbibresource{ref.bib}中的文件类型
  • 而 a1 bib 条目是 1) 缺少结束 } 2) 在作者之后缺少逗号
  • 是的,它是 biber %,它对 \addbibresource{ref.bib} 给出了相同的错误,我在 \begin{document} 之前添加了它

标签: latex bibtex bibliography


【解决方案1】:

我已验证根目录是删除编译器选项以在 build 文件夹中创建 LATEX 文件,我的计算机在此文件夹中找不到 .bcf 文件。但是一旦我取消选中该框并且文件与 .tex 文件位于同一文件夹中,它就解决了。

另一方面,代码\addbibresource{ref} 必须显示为\addbibresource{ref.bib}

在编译器配置中,我已经写好了biber.exe的路径:"C:/Users/juanf/Documents/Programas/LATEX/miktex/bin/x64/biber" %.bcf (您必须将出现在 biber.exe 属性中的路径放入) 我希望它可以帮助你或其他有同样问题的人!

【讨论】:

    猜你喜欢
    • 2023-01-15
    • 1970-01-01
    • 2019-08-21
    • 2022-10-14
    • 1970-01-01
    • 1970-01-01
    • 2021-12-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多