From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New exporter queries, captions Date: Sun, 30 Sep 2012 23:59:20 +0200 Message-ID: <87k3vbtbnr.fsf@gmail.com> References: <87obl9sxkp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIRbb-0004fj-F3 for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 18:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIRba-0006Oh-DC for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 18:03:19 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:65492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIRba-0006OQ-7b for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 18:03:18 -0400 Received: by weyu3 with SMTP id u3so2782963wey.0 for ; Sun, 30 Sep 2012 15:03:17 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Thu, 13 Sep 2012 06:57:02 -1000") 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: "Thomas S. Dye" Cc: Org-mode 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 Goaziou