From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: New exporter queries, captions Date: Sun, 30 Sep 2012 19:20:32 -1000 Message-ID: References: <87obl9sxkp.fsf@gmail.com> <87k3vbtbnr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIYQi-0003jf-VF for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 01:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIYQh-0008Mf-QQ for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 01:20:32 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:36643) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TIYQh-0008L2-FL for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 01:20:31 -0400 In-Reply-To: <87k3vbtbnr.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 30 Sep 2012 23:59:20 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org-mode Nicolas Goaziou 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 "(%s)" 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