I have nifty
common.sty that I use is all my
.tex papers (using
\input) to provide uniform formatting, etc.
\addbibresource to include a general bibliography that I use frequently in all my papers.
But, additionally, I'd like to automatically include specific bibliographies for some of my papers, even without having to explicitly do so in my
.tex file. Specifically, I'd like the file
my-funky-paper.bib to be automatically included, if and only if such a file lives in the same directory as
The catch is that I'd like to place the code that does this in the
Can you teach me how? This would be easy to do in any programming language I know, but ss such a thing possible in Tex?