emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: New exporter queries, captions
Date: Sun, 30 Sep 2012 23:59:20 +0200	[thread overview]
Message-ID: <87k3vbtbnr.fsf@gmail.com> (raw)
In-Reply-To: <m1pq5p7tep.fsf@poto.westell.com> (Thomas S. Dye's message of "Thu, 13 Sep 2012 06:57:02 -1000")


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.


Nicolas Goaziou

  reply	other threads:[~2012-09-30 22:03 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 [this message]
2012-10-01  5:20       ` Thomas S. Dye

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:

  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=87k3vbtbnr.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \


* 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


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).