From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Links in tables and LaTeX export Date: Tue, 05 Jul 2011 11:06:32 -0400 Message-ID: <30438.1309878392@alphaville.dokosmarshall.org> References: <87vcvhlysk.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7D9-0004tf-3K for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe7D6-0005vM-N5 for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:06:50 -0400 Received: from vms173017pub.verizon.net ([206.46.173.17]:43620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7D6-0005ue-97 for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:06:48 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LNV003JA8MXI450@vms173017.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 10:06:39 -0500 (CDT) In-reply-to: Message from Nicolas Goaziou of "Tue, 05 Jul 2011 14:03:39 +0200." <87vcvhlysk.fsf@gmail.com> 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: nicholas.dokos@hp.com, Org-mode Nicolas Goaziou wrote: > 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? > Assuming my simple test is representative, this seems fixed: I get expected results with a link in either normal text or in a table cell. I have not tried any other contexts (e.g. inside a list). Nick