# How to typeset the whole article efficiently? [duplicate]

Possible Duplicate:
Undefined citation warnings
Question mark instead of citation number

I am a new user of LaTeX. I am writing a paper using TeXworks, using Jabref for the bibliography. I had to typeset so many times to get my article to have correct citation format, otherwise it's showing me a question (?) mark! Sometimes, I had to close all the files and re-open them to get correct output. Sometimes it's not working.

Can anyone please give me any idea to resolve the issue? It's really time consuming having to typeset again and again but not getting the output. In fact, I even don't know in which conditions this happens.

-
Duplicate of Undefined citation warnings –  Alan Munn Jul 18 '12 at 18:12
If you're looking for a way to automate the compilation, take a look at this question: Configure latexmk in TeXworks. –  Alan Munn Jul 18 '12 at 18:15
thank you alan munn. but my prob;em is not yet resolved following the way you described here. any other advice? –  Nusrat Jul 18 '12 at 18:43
@Nusrat If none of the advice here is working, then you need to give us much more specific information about what you are doing. Does this happen on all documents or just one particular one? Given the first question I linked to, you will minimally need to run `latex bibtex latex latex` to get correct references on any document. If you're doing that and still having problems, then there's more you're not telling us. If you want to add more information, you can do so by editing your question. –  Alan Munn Jul 18 '12 at 18:58