I have a nested document in which I \include chapters from different
files, and at the end of each document is a bibliography (using the
chapterbib package, however this does not seem to be an issue here). I
build the document with <leader>ll.
The point is that whenever a bibliography is given in a file which is
referenced to via \include in the main document, the .aux file from that
chapter is not processed by bibtex, and hence the bibliography does not
appear (\input works fine, however, to have separate chapterbibs I need
to use \include). It also does not matter whether the included document
is in a subfolder or directly in the main folder. If I run pdflatex and
bibtex from the command line, everything works fine.
How can I patch this, or can you provide a fix to run bibtex for all aux
files in all subfolders?