Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am hoping to draw upon the expertise of other LaTeX/BibTeX user to help improve a common workflow of mine.

Currently, I download and import BibTex citations from the likes of IEEE/Springer/ScienceDirect and then cut and paste the citation into JabRef. That is, it goes something like this:

  • (In firefox) IEEE/Springer/Whatever -> Export as BibTeX
  • Open export.bib in gedit
  • Create new article in JabRef
  • Copy-paste citation text from gedit into Jabref.

Trying to open the export.bib file into Jabref has it open the BibTeX file as a new database and I have to copy and paste the citation anyway.

I would like to improve this workflow to a one-click "Open With" when I save the .bib from Firefox and it gets added to my BibTeX database.

I currently use JabRef, but would be willing to switch BibTeX managers if something else (in Linux) offers this feature. Of course, a script with cat $FILE >> /path/to/my_database.bib might work, but I then still have to find that reference to link it to the paper I just saved :)

share|improve this question
JabRef can import files into a bib-file: File --> Import into current database. – Torbjørn T. Oct 27 '12 at 8:36
You might also consider using a different tool, e.g. Zotero or Mendeley both have a "one-click savo-to-database button" for all major browsers, including Firefox. Web-based alternatives are Connotea, citeulike or BibSonomy. All of the mentioned programs allow export to .bib files which can be used directly or manipulated using JabRef. – matth Oct 27 '12 at 10:08
You might also consider switching to biblatex+biber as biber can open remote .bib data sources directly with no importing or downloading at all. – PLK May 3 '13 at 19:36

4 Answers 4

up vote 5 down vote accepted

You can set up Jabref to automatically import a reference from Firefox into the current database, but it's somewhat arcane. Here is my solution under Linux:

1) Select Options -> Preferences -> Advanced -- and check "Listen for remote operation ..." I don't think it matters which port.

2) Create a small bash script (text file) named "jabref-import" that looks like this:

java -jar ~/local/jabref/JabRef-2.8.1.jar -i --importToOpen "$*"

Replace "~/local/jabref/JabRef-2.8.1.jar" with the path to your Jabref .jar file on your machine. Or if you have a working executable called "jabref", you can replace everything before the "-i" with "jabref". Just make sure your executable accepts command-line options (mine didn't).

In Ubuntu 13.04, the following variant of the script works:

`which jabref` -i --importToOpen "$*"

where which jabref searches for an executable called jabref on your current $PATH.

3) Make the file executable:

chmod ugo+x jabref-import

4) Make sure Jabref is already open. Go to Firefox, download a citation file. It could be a .bib or .ris or .ref or whatever. Select the "Open with..." option in the dialog, and select the jabref-import executable that you just made. The import dialog should pop up in Jabref with your citation.

share|improve this answer
Thank you for providing a solution about 6 months after I first asked :) It is precisely what I was looking for. – Damien May 4 '13 at 0:18

If you have the BibTeX-Code available and copy that to your clipboard (either by opening the export.bib or by copying it from the homepage) and you click on the JabRef window (so that it has the focus) you can just paste (Ctrl+V) it as a new entry.

I knew that from BibDesk (Mac OS) which I am using and found the same for JabRef here

share|improve this answer
Quite helpful. Reduces the workflow by a step or two. To find the article quickly again, sort by timestamp. – Damien Oct 28 '12 at 0:41
Wonderful answer. Extremely useful. – Echeban Nov 28 '14 at 22:36

Here is my workflow.

  1. Get the DOI of the article to cite. You find the DOI on the download page of the paper and it is also usually printed on the first page of the paper.
  2. Paste the DOI into the Jabref search plugin DOI to BibTeX and press "fetch".
  3. You will get a "list" of the search results, which is in most cases only one item. Click "OK" to import them.
  4. Check the new entry in your bib file.

The benefit is that you need less time to import a new article. The DOI is also often easier to spot then the Export button on the web page.

share|improve this answer
I realized that using DOI import does not return the correct entry type. For example, I had a lot of Inproceeding entries that were recognized as articles by DOI import. Do you encounter similar issues? – tc88 Sep 4 at 10:40
@tc88, most if not all proceeding articles, which I have cited, were published in a citable journal, so I did not bother to change the bib entry type from @ARTICLE to @INPROCEEDING. – quinmars Sep 4 at 12:17

My answer is a variation to Damien's for KDE (4.14):

1) the same - check "Listen for remote operation ..."

2) Go to the KDE System settings > File Assosiations.

3) Create new file type (button "+ Add..." in the bottom):

  • group - text
  • type name - bibliography

4) Select bibliography and in the right part of window "Add...":

  • Filename Patterns: *.ris, *.bib, *.ref, *.enw and so on.
  • Application Preference Order: Education > Science > JabRef
    (or write here command like /usr/local/bin/jabref %f - this is for PC-BSD)

5) Apply.

Now you can click on file in browser and select "Open..." - import window will arise (you should start JabRef firstly!).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.