From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: ASCII export w/ citations Date: Fri, 02 Jan 2015 16:52:22 -0500 Message-ID: References: <87r3ves607.fsf@nicolasgoaziou.fr> <87mw62s00p.fsf@nicolasgoaziou.fr> <87egrc9ann.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7A8y-0001S9-Ht for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 16:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7A8v-0005gv-Cx for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 16:52:28 -0500 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:56461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7A8v-0005gn-8G for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 16:52:25 -0500 Received: by mail-qc0-f170.google.com with SMTP id x3so13683683qcv.29 for ; Fri, 02 Jan 2015 13:52:24 -0800 (PST) In-reply-to: <87egrc9ann.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode mailing list * On 2015-01-02 at 15:42, Nicolas Goaziou wrote: > Ken Mankoff writes: > > In your initial mail, you wrote > > (org-add-link-type > "cite" (lambda (key) (org-open-file cby-references-file t nil key)) > (lambda (path desc format) > (cond > ((eq format 'latex) (format "\\autocite{%s}" path)) > ((eq format 'ascii) (format "[@%s]" path)) > ))) > > The second lambda is a custom export function for "cite" links. > > Anyway, I think you should update Org as the behaviour is different > than in your initial mail. Yes everything works well now with the updated (Git) Org. Thanks, -k.