<div dir="ltr">I want to have separate bibliographies in each chapter. From the command line I have no problem with the following structure and running pdflatex and bibtex:<div><br></div><div>In file main.tex:</div><div>\begin{document}<br></div><div>\bibliographystyle{...}</div><div>\include{chapter1}</div><div><br></div><div>In file chapter1.tex:</div><div>\chapter{...}<br></div><div>\bibliography{main}<br></div><div><br></div><div>In file main.bib:</div><div>@book{...}</div><div><br></div><div>However, TeXworks doesn't compile the bib file even when I select:</div><div>pdflatex+makeindex+bibtex.</div><div><br></div><div>Thanks in advance for your help,</div><div>Moti</div><div><br></div></div>