My question is nearly identical to that posed in these:
Where do I place my own .sty or .cls files, to make them available to all my .tex files?
How to have local package override default package
LaTeX fails to find my .sty file
but unfortunately, I've followed the instructions in various ways and LaTeX still doesn't find my .bst file UNLESS it is in ./ (the PWD). I've tried 3 approaches:
export TEXINPUTS=.:~/my/path:(attempted with both~and the full-path)- put the file in
~/Library/texmf/(I'm on a mac) - specified the full path to the
.bstfile in the\bibliographystylecommand
Any ideas what I'm still doing wrong? I've tried texhash (even though it's not supposed to be necessary) and that also failed. The fact that it works if I put the file in the same directory as the .tex file says it's not a problem with the .bst.
BIBINPUTS(likeTEXINPUTSdoesn't need to be set in the shell); its usual value expects a well structured tree in the "personal area"; so~/Library/texmf/bibtex/bstis the right place. – egreg Oct 17 '11 at 23:43BSTINPUTS, isn't it? AFAIKBIBINPUTSis where bibtex/biber look for databases (.bib-files). – Daniel Oct 27 '11 at 07:34BSTINPUTS– egreg Oct 27 '11 at 07:38