You can create BibTeX records manually. It is also possible to automatically generate records by exporting reference details directly from databases, journal websites, Google Scholar or other search tools. You can also generate BibTeX files directly from your reference management software e.g. RefWorks, Zotero or EndNote.
Whether using MS Word or LaTeX to prepare documents, it is a good idea to use reference management software to capture, store and organise your references, all in one place. A list of selected references can easily be exported to create a BibTeX file ready to use with your LaTeX document.
Although using reference manager software seems like an additional step, doing this allows you the flexibility to create bespoke BibTeX files for each project while keeping your references in an organised library. It also allows you to create references using other programs, such as Word.
Many databases allow automatic export or download of references into BibTeX file(s). Major databases allow bulk export of selected records in one operation e.g. Web of Science Core Collection, Engineering Village and Scopus. Other databases allow the export of individual records e.g. DBLP.
The process is similar for most of these databases:
If the save option only gives a .txt file option. you can change the file extension to .bib
BibTeX records can be downloaded from major journal websites either from the article or issue web page or from search results. The process is similar to exporting from databases.
To export BibTeX citations from Google Scholar, you need to enable BibTeX in your settings:
Your search results should now include an option to generate a BibTeX record.
When generating your BibTeX file, either from a database or journal directly or with the help of reference management software, you can come across some issues with formating. Here are some common problems:
Special LaTeX characters: characters like %, $, & included in your .bib file can cause errors during LaTeX compilation. Use your LaTeX editor to find and replace these, e.g. replace & with \&.
Notes field: imported records often include unnecessary information e.g. notes field. Exclude the notes field from your .bib file to improve reference quality. When using RefWorks, you can tidy up your references directly in RefWorks by using the Bulk Edit feature to clear selected fields. When exporting from Zotero, untick the notes field option when generating BibTeX file.
Retaining capitalization: some bibliographic styles strip out capitalisation in fields such as the title field. This can be a problem when using acronyms. To fix the issue, edit the BibTeX file and enclose the specific text in curly brackets (whole not partial words) e.g. title={Study of incompressible {MHD} flow in a circular pipe}.