emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>, Rasmus <rasmus@gmx.us>
Subject: Re: How can I get multiple references to the same footnote in org table [ox-latex]
Date: Mon, 22 Aug 2016 12:11:32 +0200	[thread overview]
Message-ID: <87inutw1t7.fsf@saiph.selenimh> (raw)
In-Reply-To: <CAFyQvY0bWXwcumd0dnn8R=XQZbWSwKy3PDi2YEk8QQNc+NYtMw@mail.gmail.com> (Kaushal Modi's message of "Sat, 20 Aug 2016 16:40:03 +0000")

Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> I'm just bumping this email as it could have got missed.

Indeed.

>> Here is a minimum working example:
>>
>> =====
>> | abcd | efgh[fn:1] |
>> | ijkl | mnop[fn:1] |
>> | qrst | uvwx       |
>> | y    | z          |
>> * Footnotes
>>
>> [fn:1] Some interesting footnote
>>
>> =====
>>
>> When I export it to PDF, this is the generated intermediate .tex file:

[...]

>> \begin{center}
>> \begin{tabular}{ll}
>> abcd & efgh\footnotemark\\
>> ijkl & mnop\textsuperscript{\ref{org76fc583}}\\
>> qrst & uvwx\\
>> y & z\\
>> \end{tabular}
>> \end{center}\footnotetext[1]{Some interesting footnote}
>> \end{document}
>> =====
>>
>> Notice that the second reference to the same footnote is some random
>> reference: \ref{org76fc583}
>>
>> As a result, the second reference to the exact same footnote looks like
>> this (question marks: ??):
>>
>> [image: pasted1]
>>
>> Is there a fix for this? Or a workaround in org/latex?

Footnotes in tables are quite to solve on the LaTeX side. Anyway,
I think this issue is now fixed in master.

Thank you.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-08-22 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10 21:03 How can I get multiple references to the same footnote in org table [ox-latex] Kaushal Modi
2016-08-20 16:40 ` Kaushal Modi
2016-08-22 10:11   ` Nicolas Goaziou [this message]
2016-08-22 12:36     ` Kaushal Modi
2016-08-22 18:38       ` Nicolas Goaziou

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=87inutw1t7.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=rasmus@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).