From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: How can I get multiple references to the same footnote in org table [ox-latex]
Date: Wed, 10 Aug 2016 21:03:54 +0000 [thread overview]
Message-ID: <CAFyQvY33vV6sOkUz1m7QS=SgB_NheqE6V=PbN2J4fag5T-nP4Q@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1841 bytes --]
Hi,
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:
=====
% Created 2016-08-10 Wed 16:59
% Intended LaTeX compiler: xelatex
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage[letterpaper,margin=1.0in]{geometry}
\usepackage{float}
\usepackage{parskip}
\usepackage{hyperref}
\usepackage[cachedir=/tmp/kmodi/.minted/\jobname]{minted}
\usepackage[section]{placeins}
\usepackage{tikz}
\usepackage{caption}
\usepackage[mathscr]{eucal}
\usepackage{latexsym}
\author{Kaushal.Modi}
\date{\today}
\title{}
\hypersetup{
pdfauthor={Kaushal.Modi},
pdftitle={},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 25.1.50.23 (Org mode 8.3.5)},
pdflang={English},
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=blue,
urlcolor=blue
}\begin{document}
\tableofcontents
\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?
Org-version: Org-mode version 8.3.5 (release_8.3.5-1061-g48a874 @
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/)
Thanks.
--
Kaushal Modi
[-- Attachment #1.2: Type: text/html, Size: 3390 bytes --]
[-- Attachment #2: pasted1 --]
[-- Type: image/png, Size: 8486 bytes --]
next reply other threads:[~2016-08-10 21:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 21:03 Kaushal Modi [this message]
2016-08-20 16:40 ` How can I get multiple references to the same footnote in org table [ox-latex] Kaushal Modi
2016-08-22 10:11 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFyQvY33vV6sOkUz1m7QS=SgB_NheqE6V=PbN2J4fag5T-nP4Q@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 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.