emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Christian Moe <mail@christianmoe.com>
Cc: orgmode list <emacs-orgmode@gnu.org>
Subject: Re: [ODT][BUG] Custom link types in ODT footnotes
Date: Tue, 24 Feb 2015 15:59:13 +0100	[thread overview]
Message-ID: <87h9ub4apq.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m2y4nnz8fs.fsf@christianmoe.com> (Christian Moe's message of "Tue, 24 Feb 2015 15:32:39 +0100")

Hello,

Christian Moe <mail@christianmoe.com> 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

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 14:32 [ODT][BUG] Custom link types in ODT footnotes Christian Moe
2015-02-24 14:59 ` Nicolas Goaziou [this message]
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=87h9ub4apq.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    /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).