org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
Emacs Lisp TeX Other
Latest commit 8fb1275 Oct 27, 2017 @jkitchin jkitchin added issue 482 files
Permalink
Failed to load latest commit information.
citeproc Synchronize author-year with unsrt Jul 14, 2017
screenshots replace screenshot. add text to screenshots. Jan 16, 2016
test Generalized title-case conversion for entries. Sep 15, 2017
tests added issue 482 files Oct 27, 2017
.ert-runner try to get ert-runner setup for testing. Feb 28, 2016
.gitignore add init file an update makefile for testing Jun 30, 2016
.travis.yml oops. cut and pasted instead of copy and pasted... Sep 26, 2017
Cask try to get ert-runner setup for testing. Feb 28, 2016
Makefile New test setup Jul 18, 2016
README.org Update README.org May 26, 2017
development.org add development file Jun 1, 2017
doi-utils.el make adding doi more flexible so it recognizes urls too Jul 14, 2017
nist-webbook.el Add org-ref-link-set-parameters macro for org compatibility Feb 28, 2017
org-ref-arxiv.el Add org-ref-link-set-parameters macro for org compatibility Feb 28, 2017
org-ref-bibtex.el Removed the check of the whole buffer in org-ref-replace-ascii. Sep 27, 2017
org-ref-citeproc.el * org-ref-citeproc.el: Fix looking-at function call Feb 28, 2017
org-ref-core.el remove message left over from debugging Oct 19, 2017
org-ref-glossary.el Set fallback export for glossaries Apr 7, 2017
org-ref-helm-bibtex.el fix issue on bracketed links in helm-bibtex cite command Jun 11, 2017
org-ref-helm-cite.el eliminate entry in the let. May 26, 2017
org-ref-helm.el update org-ref to check for cleveref and biblatex Jun 20, 2017
org-ref-isbn.el Fix wrong variable name May 19, 2017
org-ref-issues.org update the issues file. May 9, 2017
org-ref-ivy-cite.el Set of changes to complete issue #463 Jun 20, 2017
org-ref-ivy.el rm comment Jul 2, 2016
org-ref-latex.el defvar for byte-compiling Jun 29, 2016
org-ref-pdf.el Merge branch 'add-pdf-to-bibtex' of https://github.com/jabranham/org-ref Jul 26, 2017
org-ref-pubmed.el Add org-ref-link-set-parameters macro for org compatibility Feb 28, 2017
org-ref-reftex.el Practically undo PR #248 Jun 30, 2016
org-ref-sci-id.el Add org-ref-link-set-parameters macro for org compatibility Feb 28, 2017
org-ref-scifinder.el Autoload interactive functions. Jan 29, 2016
org-ref-scopus.el Merge pull request #395 from marsam/feature/org-set-parameters-macro Mar 1, 2017
org-ref-url-utils.el add defvar and declare-functions Jun 29, 2016
org-ref-utils.el improve debug to list the completion library Jun 20, 2017
org-ref-worldcat.el minor doc change Dec 17, 2015
org-ref-wos.el Add org-ref-link-set-parameters macro for org compatibility Feb 28, 2017
org-ref.bib add new references to bib file. Update org manual Jun 2, 2017
org-ref.el bump version Jun 20, 2017
org-ref.org Removed the check of the whole buffer in org-ref-replace-ascii. Sep 27, 2017
x.sh commit to force travis build Feb 28, 2017
x2bib.el fix org-ref to org-ref-core Jun 25, 2016

README.org

org-ref: citations, cross-references, indexes, glossaries and bibtex utilities for org-mode

Coverage Status MELPA MELPA Stable

Introduction to org-ref on YouTube.

Screenshots

Here are some annotated images of basic insertion of citations in org-mode. ./screenshots/introduction.png

The links in org-ref are functional. They do things when your cursor is on them, or you click on them, and sometimes when the mouse hovers over them.

./screenshots/functional-links.png

Here is an example of a menu of actions you get when you click on a cite link.

./screenshots/cite-menu.png

org-ref can analyze your org-file and tell you about it, for example if there are bad citations, multiply defined labels, bad reference links, missing bibliography files, etc… You can select each one and it will jump to the location to help you fix it.

./screenshots/org-ref-analysis.png

Installation

Package installation via Melpa

org-ref has been added to Melpa.

(add-to-list 'package-archives
	     '("melpa" . "http://melpa.org/packages/") t)
(when (< emacs-major-version 24)
  ;; For compatibility 
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize)

Then, you should be able to do M-x package-list-packages, find org-ref and install it.

Installation via github

Clone this repo, add it to your load-path, and require org-ref.

git clone https://github.com/jkitchin/org-ref.git

Configuration

You should set these variables. Here is an example of how mine are set in an init.el file.

(setq reftex-default-bibliography '("~/Dropbox/bibliography/references.bib"))

;; see org-ref for use of these variables
(setq org-ref-bibliography-notes "~/Dropbox/bibliography/notes.org"
      org-ref-default-bibliography '("~/Dropbox/bibliography/references.bib")
      org-ref-pdf-directory "~/Dropbox/bibliography/bibtex-pdfs/")

You may want to set some convenient keys for working in your bibtex file. These commands operate on the citation key at point.

If you use helm-bibtex as the citation key completion method you should set these variables too.

(setq bibtex-completion-bibliography "~/Dropbox/bibliography/references.bib"
      bibtex-completion-library-path "~/Dropbox/bibliography/bibtex-pdfs"
      bibtex-completion-notes-path "~/Dropbox/bibliography/helm-bibtex-notes")

;; open pdf with system pdf viewer (works on mac)
(setq bibtex-completion-pdf-open-function
  (lambda (fpath)
    (start-process "open" "*open*" "open" fpath)))

;; alternative
;; (setq bibtex-completion-pdf-open-function 'org-open-file)

There are alternative citation key completion methods.

org-ref-helm-cite
An alternative to helm-bibtex
org-ref-ivy-cite
Uses ivy for key completion
org-ref-reftex
Uses reftex and org-mode for completion (no longer developed)

Finally, add this to your init.el files.

(require 'org-ref)

Go forth and citate.

Some other useful libraries in org-ref

Note many of these have been renamed with an org-ref prefix.

doi-utils
Download bibtex entries and PDFs from doi and crossref queries.
org-ref-pdf
Add drag-n-drop PDF to create bibtex entries
org-ref-url-utils
Add drag-n-drop urls to create bibtex entries
org-ref-bibtex
Utility functions for bibtex
org-ref-latex
org-ref-like features in LaTeX.
org-ref-arxiv
arxiv links, add bibtex entries from arxiv.org.
org-ref-pubmed
pubmed links, add bibtex entries from PMID.
org-ref-isbn
Add bibtex entries from a book ISBN
org-ref-wos
WebOfKnowledge links and queries
org-ref-scopus
Scopus links and queries
x2bib
Convert bibliography formats to and from bibtex
nist-webbook
Links to NIST Webbook resources

Manual

For more information, see the org-ref manual.

Errors and issues

Please report errors here: issues.

Contributors

I would like to thank the contributors to org-ref, and everyone who has filed an issue, or asked about org-ref on the org-mode Mailing list.