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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Exporting table with footnote to LaTeX [7.9.2] Date: Mon, 12 Nov 2012 21:21:50 +0100 Message-ID: <87mwym7esh.fsf@gmail.com> References: <50A03885.5080408@jacksonhost.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY0a9-0000dN-4u for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 15:26:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY0a6-0006pI-1F for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 15:26:09 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:59768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY0a5-0006p5-RR for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 15:26:05 -0500 Received: by mail-we0-f169.google.com with SMTP id u3so3541784wey.0 for ; Mon, 12 Nov 2012 12:26:05 -0800 (PST) In-Reply-To: <50A03885.5080408@jacksonhost.com> (Bill Jackson's message of "Sun, 11 Nov 2012 15:45:09 -0800") 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: Bill Jackson Cc: emacs-orgmode@gnu.org Hello, Bill Jackson writes: > 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? You should not bother too much about it, footnotes in tables are not supported directly by LaTeX anyway. Regards, -- Nicolas Goaziou