A guide about how to manage scientific references efficiently by creating a BibTeX database in JabRef. The JabRef source code can be downloaded from JabRef Github Releases while a Windows installer is available at JabRef Sourceforge.
JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format. JabRef runs on the Java VM (version 1.8 or newer), and should work equally well on Windows, Linux and Mac OS X.
A number of commercial reference managers operate as a cloud service to make your references available from anywhere. This service can be emulated by storing the reference files and the BibTeX database in a Dropbox folder. If Dropbox is not available, the reference files and the BibTex database can simply be stored in a usual folder.
In this section, it will be explained how to create the database, how to include references to the BibTex file, how to cite references, how to create groups of topics and how to add additional properties.
A new database is simply created by clicking on File→New Database
. Make sure that the database encoding is UTF-8, i.e. the most widely used character encoding, by clicking on File→Database properties
and by selecting UTF-8
in the Database encoding
field.
References can mainly be included in two different ways: either the BibTeX file of the reference is directly downloaded from the online database, like ScienceDirect, Springer, … or the reference is added manually.
In this first case, the BibTeX file is downloaded from the website as shown in the previous picture. Notice that the abstract can also be added. This file is then opened in JabRef, the entry is copied and then pasted in the full database. Usually, the BibTeX format is not entirely coherent in auto-generated files downloaded from the internet. For this reason, some modifications have to be applied by opening the entry editor in JabRef. As shown in the following picture, the modifications can be made by working directly on the BibTeX source. This window is opened by double-clicking on the reference. The different properties can, however, also be changed individually by modifing the values in the other tabs, like the Required fields
tab.
The following modifications are usually applied:
Antoci2007
in the previous picture, and which is used in the LaTeX document to cite the reference. The key should ideally have the following format “Name of the first author + date of publication”, which is followed by “b”, “c”, … if the author wrote several articles in the same year, as explained earlier.Tools→Autogenerate BibTeX Keys
.
File
field of the General
tab by a relative path. It can then be opened by clinking on the corresponding Adobe icon, as shown below.Tools→Cleanup entries
.Tools→Cleanup entries
.
References are included manually by clicking on the New BibTeX
entry button (see picture below). The entry type is then selected in the pop-up menu and the different fields are filled out. It might be interesting to respect the guidelines of the previous section, i.e. to use a standardized key and author format, to add a link to the corresponding PDF reference, …
Citing references in LaTeX is simplified by JabRef since the reference keys have not to be extracted manually. In fact, the corresponding references can be selected and a right click makes it possible to Copy \cite{BibTeX key}
. The clipboard then contains the citing command with the respective keys, which can be pasted in the LaTeX document.
Besides searching references by the search bar, they can be classified in groups based on keywords. This feature eliminates the need to duplicate articles in a “file/folder” structure, if a references is relevant two multiple different domains. Groups are created by clicking on Groups→Toogle groups interface
and then on +
in the Groups menu. A group based on keywords is created by selecting the Dynamically group entries by searching a field for a keyword
option.
Additional properties can be associated with a reference, like a rating variable, a not-printed/printed boolean or a not read/skimmed/read indicator, … These options are available at Options→Preferences→Entry table columns
.