From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Reuleaux Subject: Re: org-ref code Date: Wed, 14 May 2014 04:39:37 +0100 Message-ID: <878uq5m3k6.fsf@a-rx.info> References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> <871tvzm859.fsf@pinto.chemeng.ucl.ac.uk> <87zjimnccb.fsf@a-rx.info> <87tx8uc59f.fsf@ucl.ac.uk> <87ha4tmexn.fsf@a-rx.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkQ4h-0003Rt-JM for emacs-orgmode@gnu.org; Tue, 13 May 2014 23:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkQ4b-00066B-Hu for emacs-orgmode@gnu.org; Tue, 13 May 2014 23:41:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:44901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkQ4b-000667-BX for emacs-orgmode@gnu.org; Tue, 13 May 2014 23:41:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WkQ4Y-0003oB-QM for emacs-orgmode@gnu.org; Wed, 14 May 2014 05:41:38 +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 ; Wed, 14 May 2014 05:41:38 +0200 Received: from andreas by stu826b.kent.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 05:41:38 +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: > with the most recent org-ref, it should be sufficient to put this in your > init file: > > (org-ref-define-citation-link "textcite" ?I) > (org-ref-define-citation-link "citeauthorfull" ?F) > > this will create a textcite link and create a reftex menu you select with > the key I, and the other link with the key F. these should automatically be > links, and have completion functions. These will get exported as > \textcite{label} and \citeauthorfull{label}. The > org-ref-define-citation-link function adds the link, creates the functions > necessary, and adds the types to the right places. > > You do not need to do the manual additions unless you manually define the > link like you did with org-add-link-type. > OK, I see, and works fine, thanks. One minor thing: Am I restricted to single-letter keystrokes above ? like: I ---- (...?I) F ---- (... ?F) C-t ---- (... ?\C-t) I tried to get working something like C-r C-t with something like this (... ?(kbd "C-r C-t")) with no success, but I am unsure, if there is just something simple missing like a quote or a backslash, or if it's just not possible at this point. -Andreas