[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [O] broken latex export of footnote from a table cell?
From: |
Mikhail Titov |
Subject: |
RE: [O] broken latex export of footnote from a table cell? |
Date: |
Mon, 14 Mar 2011 11:04:46 -0500 |
Thank you, Nicholas!
That explains everything. I wonder how I didn't come across the link you
mentioned before. I should have tried that simply in LaTeX.
Mikhail
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Nick Dokos
Sent: Saturday, March 12, 2011 1:32 AM
To: Mikhail Titov
Cc: address@hidden; address@hidden
Subject: Re: [O] broken latex export of footnote from a table cell?
Mikhail Titov <address@hidden> 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