From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: [ODT][BUG] Custom link types in ODT footnotes Date: Tue, 24 Feb 2015 15:32:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGXC-0000vk-T9 for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:32:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQGX7-0002HD-ND for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:32:26 -0500 Received: from mail2.b1.hitrost.net ([91.185.211.205]:19197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGX7-0002Eo-Gt for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:32:21 -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: orgmode list Hi, 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. -------- Yours, Christian