emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: orgmode list <emacs-orgmode@gnu.org>
Subject: [ODT][BUG] Custom link types in ODT footnotes
Date: Tue, 24 Feb 2015 15:32:39 +0100	[thread overview]
Message-ID: <m2y4nnz8fs.fsf@christianmoe.com> (raw)


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

             reply	other threads:[~2015-02-24 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 14:32 Christian Moe [this message]
2015-02-24 14:59 ` [ODT][BUG] Custom link types in ODT footnotes Nicolas Goaziou
2015-02-24 15:28   ` Christian Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y4nnz8fs.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).