From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Jackson Subject: Bug: Exporting table with footnote to LaTeX [7.9.2] Date: Sun, 11 Nov 2012 15:45:09 -0800 Message-ID: <50A03885.5080408@jacksonhost.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------060901060807090902000902" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXhDc-00010w-5V for emacs-orgmode@gnu.org; Sun, 11 Nov 2012 18:45:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXhDZ-0007mj-0O for emacs-orgmode@gnu.org; Sun, 11 Nov 2012 18:45:36 -0500 Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:45727) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TXhDY-0007mN-Lf for emacs-orgmode@gnu.org; Sun, 11 Nov 2012 18:45:32 -0500 Received: from [68.4.166.22] (port=32926 helo=[192.168.1.100]) by box291.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1TXhDB-0000kn-5l for emacs-orgmode@gnu.org; Sun, 11 Nov 2012 16:45:09 -0700 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------060901060807090902000902 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit When exporting to LaTeX, any footnotes inside a table are missing the closing curly brace. For example, a footnote such as: | Field 1[fn:: A footnote.] | Field 2 | is exported to LaTeX as: \begin{center} \begin{tabular}{l} Field 1\footnote{A footnote. \\ \end{tabular} \end{center} Note that the closing curly brace is missing from the footnote. The code for generating the LaTeX appears to be in org-latex.el at line 2,463, and looks correct to me. Perhaps the closing brace is removed later? --------------060901060807090902000902 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit When exporting to LaTeX, any footnotes inside a table are missing the closing curly brace.

For example, a footnote such as:
   | Field 1[fn:: A footnote.] | Field 2 |
is exported to LaTeX as:
\begin{center}
\begin{tabular}{l}
 Field 1\footnote{A footnote.  \\
\end{tabular}
\end{center}
Note that the closing curly brace is missing from the footnote.

The code for generating the LaTeX appears to be in org-latex.el at line 2,463, and looks correct to me.  Perhaps the closing brace is removed later?
--------------060901060807090902000902--