From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Links in tables and LaTeX export Date: Tue, 05 Jul 2011 05:18:37 -1000 Message-ID: References: <87vcvhlysk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7Og-00086U-Nt for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe7Oe-00012D-Lh for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:18:46 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:57282) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qe7Oe-00011F-0x for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 11:18:44 -0400 In-Reply-To: <87vcvhlysk.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 05 Jul 2011 14:03:39 +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 Aloha Nicolas, I can confirm that the formerly broken links in my tables work with Org-mode version 7.5 (release_7.5.596.gea215). All the best, Tom Nicolas Goaziou writes: > 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, -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com