I'm trying to do a similar thing as in Centralised .bib file on Mac, which is to put my .bib files in a different folder than my current tex file. I've tried placing it in


as suggested, but when I build the tex file with TeXStudio I keep getting this message:

Process started: /Library/TeX/texbin/bibtex "[mytexfilename]".aux

This is BibTeX, Version 0.99d (TeX Live 2019)
The top-level auxiliary file: [mytexfilename].aux
The style file: ACM-Reference-Format.bst
I couldn't open database file [mybibfilename].bib ---line 21 of file [mytexfilename].aux : \bibdata{[mybibfilename] : }
I'm skipping whatever remains of this command
I found no database files while reading file [mytexfilename].aux
Warning--I didn't find a database entry for "[citekey]" (There were 2 error messages)

Process exited with error(s)

I wonder why TeXStudio can't find my bib file. I suppose it's with the bibtex command setting in TeXStudio? Now it's like this

BibTex /Library/TeX/texbin/bibtex %.aux

I've really gone through many other posts and still I'm quite lost. I also had trouble typesetting the error message here so please bear with the inconvenient format. Thank you very much!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.