From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Links in tables and LaTeX export Date: Tue, 05 Jul 2011 14:03:39 +0200 Message-ID: <87vcvhlysk.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe4Lz-0007AI-G3 for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 08:03:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe4Lx-0007RB-SG for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 08:03:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:42725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe4Lw-0007Qy-Vr for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 08:03:45 -0400 Received: by wyg36 with SMTP id 36so4832699wyg.0 for ; Tue, 05 Jul 2011 05:03:43 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Mon, 04 Jul 2011 15:58:04 -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: > Aloha all, > > Links in tables have changed recently. > > I have this link definition: > > #+source: define-citep-link > #+begin_src emacs-lisp :results silent > (org-add-link-type > "citep" 'ebib > (lambda (path desc format) > (cond > ((eq format 'html) > (format "(%s)" path)) > ((eq format 'latex) > (if (or (not desc) (equal 0 (search "citep:" desc))) > (format "\\citep{%s}" path) > (format "\\citep[%s]{%s}" desc path) > ))))) > #+end_src > > Links outside of a table export correctly: > > [[citep:wagner90][598]] exports to \citep[598]{wagner} > > Inside a table the same link exports like this: > > [[citep:wagner90]\footnote{DEFINITION NOT FOUND: 598}] I think I have fixed it in master. Could you confirm this? Regards, -- Nicolas Goaziou