Placing bib file for BibTeX compiling with TeXStudio on Mac

by Miles Fernando   Last Updated July 12, 2019 08:23 AM

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

/usr/local/texlive/texmf-local/bibtex/bib/local

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!



Related Questions


Updated June 20, 2015 23:10 PM

Updated January 09, 2018 18:23 PM

Updated March 06, 2018 10:23 AM

Updated August 22, 2015 17:10 PM