Skip to main content

LaTeX and BibTeX

Designed for University of Melbourne staff and students on the various methods of reference management within LaTeX documents. The basics of a LaTeX bibliography is explained with reference to more popular editors such as Overleaf v2 (formerly ShareLaTeX)

EndNote and LaTeX

Rather than having to edit your BibTeX bibliographic entries manually, you can manage your references with a reference management program, such as EndNote, and then export references in BibTeX format. 

This guide is suitable if you already have a well-developed EndNote library that you would prefer to utilize rather than start entering references from scratch either manually or into another BibTeX based reference management program. 

Latex uses a citation key to identify the references to be added, this is in the form: \cite {citekey}.  The citekey is often in the form of author:year. e.g.: \cite {berry:1980} but it can take any form, e.g.: \cite {citation01} etc.  Endnote has two bibtex export styles, one that use the Record Number as the citekey: {RN75}, the other that uses author/year as the citekey: {berry1980}. 

The boxes below show how to export bibtex files from Endnote for the two citekey formats.

Step-by Step Endnote and Latex record number citekey guide

Prepare references in EndNote

  1. Import/Create your required EndNote references. For help in creating an EndNote library please refer to the EndNote LibGuide.

Change output style

  1. Under the Edit tab, click Output Style then Output Style Manager. 
  2. Search for BibTeX Export then tick the box to ensure it pops up as an option under Output Style.
  3. The new style addition will only have to be done the first time you required a BibTeX bibliography. In future, it will appear in the drop down box under Select another style.

Export references to BibTeX

  1. Select your required references by using the Ctrl button and highlighting by right clicking the references you need or use the Ctrl and buttons to select all references. 
  2. Ensuring the required references are highlighted, and the BibTeX Export library output style is chosen then under the File tab click Export
  3. Before saving the BibTeX file, change the file extension from .txt to .bib.
  4. Lastly ensure that you save your BibTeX file in the same folder as your LaTeX document as LaTeX does not have the ability to search every file in your computer. 

EndNote and LaTeX using the authoryear citekey

Step-by-step EndNote and LaTeX authoryear citekey guide

Prepare references in EndNote

  1. Import/Create your required EndNote references. For help in creating an EndNote library please refer to the EndNote LibGuide.
  2. Label each of your needed references. There is a Label field in every reference option and is normally not pre-populated. This step is required for easy citing in your LaTeX document. 

Change output style

  1. Under the Edit tab, click Output Style then Output Style Manager. 
  2. Search for BibTeX Export using EN label, then tick the box to ensure it pops up as an option under Output Style.
  3. The new style addition will only have to be done the first time you required a BibTeX bibliography. In future, it will appear in the drop down box under Select another style.

Export references to BibTeX

  1. Select your required references by using the Ctrl button and highlighting by right clicking the references you need or use the Ctrl and buttons to select all references. 
  2. Ensuring the required references are highlighted, and the BibTeX Export using EN label library output style is chosen then under the File tab click Export
  3. Before saving the BibTeX file, change the file extension from .txt to .bib.
  4. Lastly ensure that you save your BibTeX file in the same folder as your LaTeX document as LaTeX does not have the ability to search every file in your computer.