From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ASCII export w/ citations Date: Fri, 02 Jan 2015 21:42:52 +0100 Message-ID: <87egrc9ann.fsf@nicolasgoaziou.fr> References: <87r3ves607.fsf@nicolasgoaziou.fr> <87mw62s00p.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y792m-0006Gu-1q for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 15:42:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y792i-0007ni-SK for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 15:41:59 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:35836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y792i-0007nQ-NJ for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 15:41:56 -0500 In-Reply-To: (Ken Mankoff's message of "Fri, 02 Jan 2015 09:58:24 -0500") 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: Ken Mankoff Cc: Org-mode mailing list Ken Mankoff writes: > I don't see mention of custom export functions in the manual. Is there a > page describing how I would use these, or can you provide an example > that would stop printing of links in ASCII export? 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. BTW, if you want to remove all links from ASCII export, use an export filter. Regards,