From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Org and Citations / References / Bibliography Date: Fri, 06 Nov 2015 06:48:58 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZufVz-0002lp-PE for emacs-orgmode@gnu.org; Fri, 06 Nov 2015 06:49:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZufVv-0002Z1-2N for emacs-orgmode@gnu.org; Fri, 06 Nov 2015 06:49:07 -0500 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:35440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZufVu-0002Yx-TU for emacs-orgmode@gnu.org; Fri, 06 Nov 2015 06:49:02 -0500 Received: by qgec40 with SMTP id c40so28671329qge.2 for ; Fri, 06 Nov 2015 03:49:02 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org Rainer M Krug writes: > It does now. I went through the setup process slowly again using the > README.org and the org-ref.org in > [[https://github.com/jkitchin/org-ref]] as guidelines and it worked. > > But I could not install any of the "useful libraries", as none of them > seems to be on melpa et al? These should all be in the org-ref distribution, so if you have that in your load-path it should work, or add something like :load-path "~/.emacs.d/org-ref" to the optional libaries too. Thanks for sharing your setup. I have not used use-package much, but yours looks pretty clean! > > Thanks a lot - and org-ref looks really great. > > Cheers, > > Rainer > > > P.S.: > > Just for reference: I now have the following in my emacs.org file: > > *** org-ref > See [[https://www.youtube.com/watch?v=JyvpSVl4_dg][org-ref video]] and [[https://github.com/jkitchin/jmax/blob/master/org-ref.org][org-rel github site]] for further details (John Kitchin) > #+begin_src emacs-lisp > (use-package ebib > :ensure t > ) > (use-package dash > :ensure t > ) > (use-package s > :ensure t > ) > (use-package f > :ensure t > ) > (use-package hydra > :ensure t > ) > (use-package org-ref > :ensure f > :load-path "~/.emacs.d/org-ref" > :config > ;; README.org in org-ref repo for the why > (setq reftex-default-bibliography '("~/Documents/Mendeley/bibliography.bib")) > ;; > ;; see org-ref for use of these variables > (setq org-ref-bibliography-notes "~/Documents/Mendeley/notes.org" > org-ref-default-bibliography '("~/Documents/Mendeley/bibliography.bib") > org-ref-pdf-directory "~/iCloud/Mendeley/") > ;; > (setq helm-bibtex-bibliography "~/.emacs.d/org-ref/test.bib") > (setq helm-bibtex-library-path "~/Dropbox/bibliography/bibtex-pdfs") > ;; > ;; open pdf with system pdf viewer (works on mac) > (setq helm-bibtex-pdf-open-function > (lambda (fpath) > (start-process "open" "*open*" "open" fpath))) > > ;; :bind > ;; You may want to set some convenient keys for working in your bibtex file: > ;; ("f10" . org-ref-open-bibtex-notes) > ;; ("f11" . org-ref-open-bibtex-pdf) > ;; ("f12" . org-ref-open-in-browser) > ) > ;; optional but very useful libraries in org-ref > (use-package doi-utils > :disabled t > :ensure t > ) > (use-package jmax-bibtex > :disabled t > :ensure t > ) > (use-package pubmed > :disabled t > :ensure t > ) > (use-package arxiv > :disabled t > :ensure t > ) > (use-package sci-id > :disabled t > :ensure t > ) > #+end_src > >> >> Rainer M Krug writes: >> >>> Hi >>> >>> I have been following the whole discussion about the implementation of a >>> good citation system in org, which is really necessary. >>> >>> At the moment I am again at that point where I would like to include >>> citations in a document and I don't get any citation system to work - >>> neither org-ref[1] nor org's org-reftex-citation nor reftex >>> citation. None of these find anything in a .bib file, I have no overview >>> where I have to specify the bib file and I am frustrated, because it >>> worked some months ago. >>> >>> I would very much like to use org-ref, but I don't even get the supplied >>> examples to work, i.e. find something from the .bib file. >>> >>> Any suggestions what I can do, any simple / minimalistic init.el file >>> which I can merge into my config? >>> >>> Thanks, >>> >>> Rainer >>> >>> >>> Footnotes: >>> [1] http://kitchingroup.cheme.cmu.edu/blog/2014/05/13/Using-org-ref-for-citations-and-references/ >> >> -- >> Professor John Kitchin >> Doherty Hall A207F >> Department of Chemical Engineering >> Carnegie Mellon University >> Pittsburgh, PA 15213 >> 412-268-7803 >> @johnkitchin >> http://kitchingroup.cheme.cmu.edu -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu