24
5. Mendeley and BibTex / LaTeX
5.1
Export from Mendeley to BibTex
http://libguides.mit.edu/content.php?pid=241351&sid=1992274
“How do I export from bto BibTeX?
Open Mendeley, and within "My Library" found on the left, select references that you would like to
export to BibTeX. In the drop-down menu in the toolbar at the top of the screen, click "File --> Export"
(or ctrl-E if you use keyboard shortcuts) and in the dropdown list of file types, chose "Save as type:
BibTeX" and save to the same location as the LaTeX file.
If you're working with Mendeley on a PC and your manuscript is on Athena, you'll need to save the
BibTeX export to your hard drive and use FTP or another file transfer method to transfer the file to the
correct directory in your Athena space.
To link the bibliography file that you just downloaded to your document, you need to enter two
commands: \bibliographystyle{style} should go just inside your \begin{document} command.
style.bst is the name of the style file dictating the format of your bibliography (see How do I change
the format of the bibliography? below).
\bibliography{filename} should go wherever you want LaTeX to generate the bibliography.
filename.bib is the name of the file that you just downloaded from RefWorks containing your
exported references. “ (Green, n.d.)
5.2
Automatically create a BibTex files
Also from the Tools menu, and options, BibTeX tab you can set Mendeley to automatically create a
BibTex file for each reference in the library.
21