From de2082281e1b5116eded9ad741535501fc76ed3f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 9 Mar 2021 17:41:40 +0100 Subject: [PATCH] Remove org-ref MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I never really used it as i don’t write actual publications. --- configuration.org | 27 +-------------------------- customizations.el | 1 - 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/configuration.org b/configuration.org index b466247..62b1fe2 100644 --- a/configuration.org +++ b/configuration.org @@ -131,7 +131,7 @@ Just to make sure, although most Linux DEs do this for me. ** Set Org’s main directory -Since a lot of packages use it as their base (org-projectile, org-ref, org-caldav, etc.), i need +Since a lot of packages use it as their base (org-projectile, org-caldav, etc.), i need it as early as possible. #+BEGIN_SRC emacs-lisp @@ -3028,31 +3028,6 @@ This is a big one; I use a lot of customisation here. ("r" . org-random-todo))) #+END_SRC -** Citations and cross-references for Org - -#+BEGIN_SRC emacs-lisp -(use-package org-ref - :after - org - :custom - (org-ref-bibliography-notes (expand-file-name "bibliography-notes" org-directory)) - (org-ref-default-bibliography (expand-file-name "references.bib" org-directory)) - (org-ref-pdf-directory (expand-file-name "bibtex-pdfs" org-directory))) -#+END_SRC - -And set up a function to open PDF files with the system pdf viewer, using ~xdg-open~. - -An alternative could be -#+BEGIN_EXAMPLE -(customize-set-variable 'bibtex-completion-pdf-open-function 'org-open-file)) -#+END_EXAMPLE - -#+BEGIN_SRC emacs-lisp -(customize-set-variable 'bibtex-completion-pdf-open-function - (lambda (fpath) - (start-process "xdg-open" "*open*" "open" fpath))) -#+END_SRC - ** Load CalDAV entries from NextCloud #+BEGIN_SRC emacs-lisp diff --git a/customizations.el b/customizations.el index 50781db..ca50d9e 100644 --- a/customizations.el +++ b/customizations.el @@ -180,7 +180,6 @@ org-projectile org-projectile-helm org-random-todo - org-ref org-rtm org-sticky-header origami