Caution: Parts of this information are outdated.
Please help improving this page.
It's easier than you think. Please check our CONTRIBUTING.md.
JabRef lets you link up your entries with files of any type stored on your system.
Thereby, it uses the field
file, which contains a list of linked files.
Each entry can have an arbitrary number of file links, and each linked file can be opened quickly from JabRef.
doi are used as links to documents on the web in the form of an URL or a DOI identifier respectively.
In BibTeX terms, the file links are stored as text in the field
From within JabRef, however, they appear as an editable list of links accessed from the entry editor along with other BibTeX fields.
For each file link, a file type must be chosen, to determine what icon should be used and what application should be called to open the file. The list of file types can be viewed and edited by choosing Options -> Manage external file types, or by clicking the Manage external file types button in the External programs tab of the Preferences dialog.
A file type is specified by its name, a graphical icon, a file extension and an application to view the files. On Windows, the name of the application can be omitted in order to use Window’s default viewer instead.
If the “file” field is included in General fields, you can edit the list of external links for an entry in the Entry editor. The editor includes buttons for inserting, editing and removing links, as well as buttons for reordering the list of links.
If you have a file within or below your file directory (set up in Preferences -> File -> External file links -> Main file directory) with an extension matching one of the defined external file types, and a name containing a BibTeX entry’s BibTeX key, the file can be autolinked by clicking on the Auto button in the entry editor. The rules for which file names can be autolinked to a BibTeX key can be set up in Preferences -> File -> External file links -> Use regular expression search.
If you want to download a file and link to it from a BibTeX entry, you can do this by clicking the Download button in the entry editor. A dialog box will appear, prompting you to enter the URL. The file will be downloaded to your main file directory, named based on the entry’s BibTeX key, and finally linked from the entry.
There are a couple of alternatives to the global file directory. You have the option (under Preferences -> File) to allow links relative to the location of the bib file. Files linked in this way can be moved along with the bib file without breaking the links. There is an additional setting determining whether the bib file location should be the primary file directory. This decides which directory JabRef will use when downloading or moving linked files into your file directory.
You can also set a file directory (absolute, or relative to the bib file location) specifically for one database under File -> Database properties. Finally, in the Database properties dialog you can set a user-specific file directory, which will be valid only when you are the one working on the bib file.
There are several ways to open an external file or web page. In the entry table you can select an entry and use the menu choice, keyboard shortcut or the right-click menu to open an entry’s first external link. Alternatively, if the entry table is set up to show the file column (set up in Preferences -> Entry table -> Special table columns -> Show file column), you can click on the file icon to open an entry’s first link. To access any of an entry’s links, click on the icon with the right mouse button (or Ctrl + Click on Mac OS X) to bring up a menu showing all links.