From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Links in tables and LaTeX export Date: Mon, 04 Jul 2011 15:58:04 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdutv-00018H-Cv for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 21:58:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdutt-0003vc-To for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 21:58:11 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:34224) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qdutt-0003ue-MT for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 21:58:09 -0400 Received: from cpe-24-94-66-191.hawaii.res.rr.com ([24.94.66.191] helo=potofo-ou) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1Qdutq-0008DD-0f for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 19:58:06 -0600 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: Org-mode 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'm using Org-mode version 7.5 (release_7.5.566.g8d45). All the best, Tom -- Thomas S. Dye http://www.tsdye.com