如何正确找到.bib 文件?

如何正确找到.bib 文件?

我有一个.bib名为的文档References.bib保存在以下目录中:

C:\Users\dvale\Documents\3_References\References.bib

该文件包含以下条目:

@Article{Ballot2014,
  author    = {Ballot, Andreas},
  title     = {Diversity of cyanobacteria and cyanotoxins in {Hartbeespoort Dam, South Africa}},
  journal   = {Marine and Freshwater Research},
  year      = {2014},
  volume    = {65},
  number    = {2},
  pages     = {175--189},
  issn      = {1323-1650},
  doi       = {10.1071/mf13153},
}

我创建了一个文档并引用了此参考文献,但引用没有出现,显然是因为.bib找不到该文件。我正在使用biber书目工具(如果此信息很重要)。

\documentclass[12pt,a4paper]{article}
\usepackage{biblatex}
\addbibresource[location=remote]{C:/Users/dvale/Documentos/3_References/References.bib}
\begin{document}
Example \cite{Ballot2014}
\printbibliography
\end{document}

当我编译参考书目(TeXstudio 中的 F8)时出现以下错误

ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'!

编辑1:

我使用 JabRef 创建带有编码的.bib文件UTF-8

.blg文件在记事本中有以下信息

[0] Config.pm:312> INFO - This is Biber 2.15 (beta)
[0] Config.pm:315> INFO - Logfile is 'MWE.blg'
[105] biber-MSWIN64:330> INFO - === 
[127] Biber.pm:415> INFO - Reading 'MWE.bcf'
[234] Biber.pm:952> INFO - Found 1 citekeys in bib section 0
[251] Biber.pm:4334> INFO - Processing section 0
[267] Biber.pm:4523> INFO - Looking for bibtex format file 'C:/Users/dvale/Documentos/3_References/References.bib' for section 0
[502] Utils.pm:411> ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'!
[502] Biber.pm:132> INFO - ERRORS: 1

答案1

问题出在引用所使用的路径上。

MWE 中使用的路径是葡萄牙语(我的笔记本的语言)

C:/Users/dvale/Documentos/3_References/References.bib 

但将 Documentos 换成 Documents 后,问题就消失了

C:/Users/dvale/Documents/3_References/References.bib 

相关内容