I am using the book style and each chapter is put in a separate file and included in the main file by
\include. At the end of the main file, I put the following lines:
But when I cite a reference in Chapter 1, for instance, which is in a separate file, a question mark [?] appears instead of the right reference number. But at the end of the PDF file produced, the references are correctly listed.
I don't know how to fix this.