update packages
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
;;; org-ref.el --- citations, cross-references and bibliographies in org-mode
|
||||
;;; org-ref.el --- citations, cross-references and bibliographies in org-mode -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright(C) 2014-2016 John Kitchin
|
||||
;; Copyright(C) 2014-2021 John Kitchin
|
||||
|
||||
;; Author: John Kitchin <jkitchin@andrew.cmu.edu>
|
||||
;; URL: https://github.com/jkitchin/org-ref
|
||||
;; Version: 1.1.1
|
||||
;; Version: 3.0
|
||||
;; Keywords: org-mode, cite, ref, label
|
||||
;; Package-Requires: ((dash "2.11.0") (htmlize "1.51") (helm "1.5.5") (helm-bibtex "2.0.0") (ivy "0.8.0") (hydra "0.13.2") (key-chord "0") (s "1.10.0") (f "0.18.0") (pdf-tools "0.7"))
|
||||
;; Package-Requires: ((dash "0") (s "0") (f "0") (htmlize "0") (hydra "0") (avy "0") (parsebib "0") (bibtex-completion "0") (citeproc "0"))
|
||||
;; This file is not currently part of GNU Emacs.
|
||||
|
||||
;; This program is free software; you can redistribute it and/or
|
||||
@@ -26,18 +26,26 @@
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; Lisp code to setup bibliography, cite, ref and label org-mode links.
|
||||
;; Also sets up reftex and helm for org-mode citations. The links are
|
||||
;; clickable and do things that are useful.
|
||||
;; Lisp code to setup bibliography, cite, ref and label org-mode links. The
|
||||
;; links are clickable and do things that are useful.
|
||||
;;
|
||||
;; The default setup uses helm-bibtex.
|
||||
;; This uses vanilla completing-read in Emacs. You can customize by requiring
|
||||
;; `org-ref-helm' or `org-ref-ivy' after this.
|
||||
|
||||
;; You should really read org-ref.org in this package for details.
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'org-ref-core)
|
||||
(require org-ref-completion-library)
|
||||
|
||||
|
||||
(setq org-ref-insert-link-function 'org-ref-insert-link
|
||||
org-ref-insert-cite-function 'org-ref-insert-cite-link
|
||||
org-ref-insert-label-function 'org-ref-insert-label-link
|
||||
org-ref-insert-ref-function 'org-ref-insert-ref-link
|
||||
org-ref-cite-onclick-function (lambda (_) (org-ref-citation-hydra/body)))
|
||||
|
||||
|
||||
;;* The end
|
||||
(provide 'org-ref)
|
||||
|
||||
Reference in New Issue
Block a user