From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: broken latex export of footnote from a table cell? Date: Sat, 12 Mar 2011 02:32:10 -0500 Message-ID: <4795.1299915130@alphaville.dokosmarshall.org> References: <004401cbe070$216817a0$643846e0$@us> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=43799 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyJJ9-00034Q-N5 for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 02:32:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyJJ7-00086L-Bn for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 02:32:15 -0500 Received: from vms173001pub.verizon.net ([206.46.173.1]:53366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyJJ7-00085k-8k for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 02:32:13 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHX00F4HOXNIU60@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 01:32:11 -0600 (CST) In-reply-to: Message from "Mikhail Titov" of "Fri, 11 Mar 2011 22:44:10 CST." <004401cbe070$216817a0$643846e0$@us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mikhail Titov Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Mikhail Titov wrote: > Hello! > > This is my first message. I'm excited about org-mode! Thank you for = > developing such a great tool! > > However, I found out that I can't have a footnote in a table cell. If I = > export such document to LaTeX, I get misplaced footnote:( I'm running MS = > Windows XP SP3 32 bit. > > -----cut----- > #+Title: orgmode to latex epic fail, footnote in a table cell > > Works here [fn:: This is a good footnote]. Does it? > > #+LATEX: \begin{table}[h] > | /org-version/ | /emacs-version/ | /Why can't I use bold here with */ | > |---------------+-----------------+------------------------------------| > | 7.5 | 23.2.1 | some text[fn:: Why am I here?] | > #+TBLFM: $1=3D'(message org-version)::$2=3D'(message emacs-version) > #+LATEX: \end{table} > > Some text here. > -----cut----- > Footnotes in tables are difficult. Even if you leave out org completely and just look at latex, things are far from simple. There is a FAQ and an answer on this topic here: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab As you can see, things are not simple even if you write in latex. None of this is implemented in org. Best advice: don't use footnotes in tables. If you have to use them, add them in a post-export pass, possibly by formatting the table outside of org and including it from a separate file. HTH, Nick