TransWikia.com

How to find correctly the .bib file?

TeX - LaTeX Asked by Daniel Valencia C. on May 15, 2021

I have a .bib document called References.bib saved in the following directory:

C:UsersdvaleDocuments3_ReferencesReferences.bib

This file contains this entry:

@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},
}

I created a document and cited this reference, however the citation is not appearing, apparently because the .bib file was not found. I’m using biber as bibliographic tool (if is important this information).

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}

When I compile the bibliography (F8 in TeXstudio) the following error appears

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

EDIT 1:

I use JabRef to create my .bib files with UTF-8 encoding

The .blg file has the following information in the notepad

[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

One Answer

The problem is in the path used for the references.

The path used in the MWE was in Portuguese (language of my notebook)

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

But changing Documentos for Documents, the problem disappeared

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

Answered by Daniel Valencia C. on May 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP