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


Hi,

I confirm it's fixed. Thanks! That was fast.

Yours,
Christian

Nicolas Goaziou writes:

> 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,

      reply	other threads:[~2015-02-24 15:28 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
2015-02-24 15:28   ` Christian Moe [this message]

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=m2ioerz5tx.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).