There are several *.bib files in one directory which I want to add to my bibliography.
I don't want to add them one by one like this:
\bibliography{../dir/a,../dir/b,../dir/c}
I tried adding the directory to bibtex like this: (see here)
bibtex --include-directory "../dir/
resulting in
bibtex: unrecognized option '--include-directory=../dir/'
This option seems to be specific to mikTeX BibTeX, but I am using TeXLive.
Is there a way to add all *.bib files in ../dir/ to my bibliography?
I am already using TeX, BibTeX and Make, so a solution using those tools is preferred, although any solution is welcome.
Best Answer
By default, in TeX Live
bibtex
looks for local.bib
files in your localtexmf/bibtex/bib
folder. So you can put your directory containing the bib files there, or make a symbolic link inside that folder to your directory. Either one will work. Then you just use\bibliography{a,b,c}
for.bib
filea.bib
,b.bib
etc.