From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ODT][BUG] Custom link types in ODT footnotes Date: Tue, 24 Feb 2015 15:59:13 +0100 Message-ID: <87h9ub4apq.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGw7-0007rB-6c for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:58:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQGw1-0002n5-Qu for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:58:11 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGw1-0002my-Kj for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:58:05 -0500 In-Reply-To: (Christian Moe's message of "Tue, 24 Feb 2015 15:32:39 +0100") 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: Christian Moe Cc: orgmode list Hello, Christian Moe writes: > custom link types created with org-add-link-type seem to no longer work > in ODT footnotes. > > The expected output of the below example is for the bbdb link to be > replaced with /nil/ (I don't have Stallman in my address book) and for > SCREAMING LINK to be upcased if you've executed the source block. This > works in both body text and footnote for HTML export, but only in body > text, not footnote, for ODT. > > ------- Example: -------- > > #+title: Test of custom link types in footnotes > > This is a bbdb:R.*Stallman link.[fn:1] > > #+begin_src emacs-lisp > (org-add-link-type "scream" nil > (lambda (path desc format) > (upcase desc))) > #+end_src > > This is a silly [[scream:234][screaming link]] for testing.[fn:2] > > * Footnotes > > [fn:1] This is a bbdb:R.*Stallman link in a footnote. > > [fn:2] This is a silly [[scream:234][screaming link]] in a footnote. > > -------- This should be fixed. Thank you. Regards, -- Nicolas Goaziou