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.
:)
Say, in Ruby:p = lambda {|q| puts '\\bibliography{'.concat(Dir::glob(q.concat('*.bib')).map!{|x| x[0..-5]}.join(",")).concat('}')}; p.call('../Sandbox/')
gives me\bibliography{../Sandbox/mybiblio,../Sandbox/test196,../Sandbox/mybiblio2}
.:)
– Paulo Cereda Jul 23 '14 at 19:05