1. 程式人生 > >使用CTEX下Bibtex需要5次編譯,另附winedt的參考文獻自動完成

使用CTEX下Bibtex需要5次編譯,另附winedt的參考文獻自動完成

完整過程
1. Run latex: LaTeX finds the references that are cited in the .tex file and the declaration of the bibliography style file (.bst) and bibliography database (.bib) and records them in the .aux file.
2. Run bibtex: BibTeX reads the .aux file to determine what cited entries to pull from what .bib files, formats and sorts the cited references according to the rules in the .bst file, and write the .bbl file.
3. Run latex again: LaTeX now finds the .bbl file and will read it and write cross reference data to the .aux file.
4. Run latex once more: LaTeX now finds the cross reference data for the citations in the .aux file and will resolve the citations.
5. Run latex for one last time (not always needed): Sometimes step 4 causes changes in line or page breaks that affect cross refence data for page or section links; this final pass through LaTeX should resolve those changes.