emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Mikhail Titov" <mlt@gmx.us>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: RE: broken latex export of footnote from a table cell?
Date: Mon, 14 Mar 2011 11:04:46 -0500	[thread overview]
Message-ID: <001701cbe261$8ebdf570$ac39e050$@gmx.us> (raw)
In-Reply-To: <4795.1299915130@alphaville.dokosmarshall.org>

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: emacs-orgmode-bounces+mlt=gmx.us@gnu.org [mailto:emacs-orgmode-bounces+mlt=gmx.us@gnu.org] On Behalf Of Nick Dokos
Sent: Saturday, March 12, 2011 1:32 AM
To: Mikhail Titov
Cc: nicholas.dokos@hp.com; emacs-orgmode@gnu.org
Subject: Re: [O] broken latex export of footnote from a table cell?

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-14 16:05 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
2011-03-14 16:04   ` Mikhail Titov [this message]

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='001701cbe261$8ebdf570$ac39e050$@gmx.us' \
    --to=mlt@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).