From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Reuleaux Subject: Re: org-ref code Date: Mon, 12 May 2014 09:12:26 +0100 Message-ID: <87iopbv2j9.fsf@a-rx.info> References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjlNU-0007B8-8o for emacs-orgmode@gnu.org; Mon, 12 May 2014 04:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjlNP-0001pn-IS for emacs-orgmode@gnu.org; Mon, 12 May 2014 04:14:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:49980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjlNP-0001pe-B1 for emacs-orgmode@gnu.org; Mon, 12 May 2014 04:14:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WjlNM-0002wf-9x for emacs-orgmode@gnu.org; Mon, 12 May 2014 10:14:20 +0200 Received: from stu826b.kent.ac.uk ([129.12.130.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 May 2014 10:14:20 +0200 Received: from andreas by stu826b.kent.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 May 2014 10:14:20 +0200 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: emacs-orgmode@gnu.org John Kitchin writes: > C-c ] should be bound by default to org-ref-insert-cite-link. It is defined > in a hook function in line 104 of org-ref.org. > > I made a custom variable to store the key-binding, but I realized it > probably doesn't help, since the binding > > >> >> 1. C-u on it does not give me a choice of citation method >> > > If you type C-u M-x org-ref-insert-cite-link > > do you get a choice? > > I just tried this on a fresh pull and it does work for me. I am not sure > why this wouldn't work for you. Do you tangle the .el file from the .org > file? I have this code somewhere else to build it when needed: I can confirm that C-c ] and C-u C-c ] work fine for me. my setup if fairly simple (with org-ref.el tangled from org-ref.org) (require 'org-ref) (custom-set-variables '(org-ref-bibliography-notes "notes.org") '(org-ref-default-bibliography (list "refs.bib")) ;; '(org-ref-pdf-directory "...") ;; '(org-ref-default-citation-link "...") ;; '(org-ref-insert-cite-key "...") ) looking forward to discover more of org-ref. FWIW, I was using textcite:... (with biblatex) as well, helped myself by just inserting a cite:... and then changing the link with C-c C-l from cite to textcite. But I really need read up on all those different citations commands once more, maybe textcite is not really necessary? Could I add it somehow to the list of choices available in "C-u C-c ]" ? (I realized there are citetext, citep*, citep as well, that I yet have to discover). By the way: the org-ref.org literate programming docs are fine for someone interested in the gory details / relatively experienced. Ist there a simpler document just describing its usage - that you would hand out to your chemistry students e. g. ? Somehting maybe explaining the differences from the other approaches that can be found e g in http://tincman.wordpress.com/2011/01/04/research-paper-management-with-emacs-org-mode-and-reftex/ http://www-public.it-sudparis.eu/~berger_o/weblog/2012/03/23/how-to-manage-and-export-bibliographic-notesrefs-in-org-mode/ Thanks for org-ref. -Andreas