emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Mikhail Titov <mlt@gmx.us>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: broken latex export of footnote from a table cell?
Date: Sat, 12 Mar 2011 02:32:10 -0500	[thread overview]
Message-ID: <4795.1299915130@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "Mikhail Titov" <mlt@gmx.us> of "Fri, 11 Mar 2011 22:44:10 CST." <004401cbe070$216817a0$643846e0$@us>

Mikhail Titov <mlt@gmx.us> 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

  reply	other threads:[~2011-03-12  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12  4:44 broken latex export of footnote from a table cell? Mikhail Titov
2011-03-12  7:32 ` Nick Dokos [this message]
2011-03-14 16:04   ` Mikhail Titov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4795.1299915130@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mlt@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).