Problem:
When using multiple bibliographies, e.g. for each chapter in a book, we use packages chapterbib, multibib, or bibunits and use
\include{chapter1}
\include{chapter2}
etc... with \bibliography{<bib file>}
inside each chapter file (chapter1.tex
, chapter2.tex
...).This works well in WinEdt, but not others, tested with TeXMaker, TeXnicCenter, TeXStudio.
I have figured out that WinEdt run BibTeX several times, first on the main file, then on each chapter file. This correctly creates references on each chapters. In contrast, the other editors (TeXStudio...) compile BibTeX only on the main file, and cannot generate references for each chapter (the file inside
\include
).Question:
My idea is to create a batch BibTeX run like in WinEdt for other editors (we can actually configure the compiling commands in these editors). How to do that?
This is just my idea, any better ideas are certainly appreciate.
Thanks