From: tsd@tsdye.com (Thomas S. Dye)
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: New exporter queries, captions
Date: Sun, 30 Sep 2012 19:20:32 -1000 [thread overview]
Message-ID: <m1wqza7opr.fsf@tsdye.com> (raw)
In-Reply-To: <87k3vbtbnr.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 30 Sep 2012 23:59:20 +0200")
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Is it possible to expand links, too? If I have
>> #+CAPTION: Data from [[textcite:ladefoged08:_variab_hawaii][;]].
>> I get
>> \caption{Data from [[textcite:ladefoged08:_variab_hawaii][;]].}
>>
>> My textcite link type is here:
>>
>> #+name: define-biblatex-textcite-link
>> #+begin_src emacs-lisp :results silent :exports none
>> (org-add-link-type
>> "textcite" 'ebib
>> (lambda (path desc format)
>> (cond
>> ((eq format 'html)
>> (format "(<cite>%s</cite>)" path))
>> ((eq format 'latex)
>> (if (or (not desc) (equal 0 (search "textcite:" desc)))
>> (format "\\textcite{%s}" path)
>> (format "\\textcite[%s][%s]{%s}"
>> (cadr (split-string desc ";"))
>> (car (split-string desc ";")) path))))))
>> #+end_src
>
> It is now possible to have links in captions.
>
>
> Regards,
Nicolas,
Very nice. Works like a charm here.
Thanks for all your work.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
prev parent reply other threads:[~2012-10-01 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 21:26 New exporter queries, captions Thomas S. Dye
2012-09-13 16:21 ` Nicolas Goaziou
2012-09-13 16:57 ` Thomas S. Dye
2012-09-30 21:59 ` Nicolas Goaziou
2012-10-01 5:20 ` Thomas S. Dye [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=m1wqza7opr.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.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).