emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How can I get multiple references to the same footnote in org table [ox-latex]
@ 2016-08-10 21:03 Kaushal Modi
  2016-08-20 16:40 ` Kaushal Modi
  0 siblings, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2016-08-10 21:03 UTC (permalink / raw)
  To: emacs-org list


[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-22 18:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-08-22 12:36     ` Kaushal Modi
2016-08-22 18:38       ` Nicolas Goaziou

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).