Nicolas Goaziou <n.goaz...@gmail.com> writes: > Hello, > > t...@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