emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How can I get multiple references to the same footnote in org ta


From: Kaushal Modi
Subject: Re: [O] How can I get multiple references to the same footnote in org table [ox-latex]
Date: Sat, 20 Aug 2016 16:40:03 +0000

Hello,

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

On Wed, Aug 10, 2016, 5:03 PM Kaushal Modi <address@hidden> wrote:
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: ??):

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

--

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]