all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: Exporting table with footnote to LaTeX [7.9.2]
@ 2012-11-11 23:45 Bill Jackson
  2012-11-12 20:21 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Jackson @ 2012-11-11 23:45 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 875 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Exporting table with footnote to LaTeX [7.9.2]
  2012-11-11 23:45 Bug: Exporting table with footnote to LaTeX [7.9.2] Bill Jackson
@ 2012-11-12 20:21 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-11-12 20:21 UTC (permalink / raw)
  To: Bill Jackson; +Cc: emacs-orgmode

Hello,

Bill Jackson <bill@jacksonhost.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-12 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-11 23:45 Bug: Exporting table with footnote to LaTeX [7.9.2] Bill Jackson
2012-11-12 20:21 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.