[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] New exporter queries, captions
From: |
Nicolas Goaziou |
Subject: |
Re: [O] New exporter queries, captions |
Date: |
Sun, 30 Sep 2012 23:59:20 +0200 |
Hello,
address@hidden (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 Goaziou