Suppose I create a tex and a bib file. They work fine. Then I rename the tex file, and keep the same (old) name for the bib file. When I compile the new tex file, the bibliography does not work - just comes up with "?" signs.
Why does this happen, and how do I rectify this?
Thanks
main.tex. When BibTeX is run, it creates a file calledmain.bbl, which contains the formatted bibliographic items. The filemain.bblis read by LaTeX during the next compilation run, and the result is the bibliography section in your pdf file. Now, if you rename the main tex file to, say,wow.tex, LaTeX will look for a file calledwow.bblfor the formatted bibliographic items ... and comes up empty. Two possible remedies: (i) re-run BibTeX (to createwow.bblfrom scratch); or (ii) rename the filemain.bbltowow.bbl. Then, rerun LaTeX twice more. – Mico Jan 31 '17 at 22:28