* 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
* Re: How can I get multiple references to the same footnote in org table [ox-latex]
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
0 siblings, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2016-08-20 16:40 UTC (permalink / raw)
To: emacs-org list, Nicolas Goaziou, Rasmus
[-- Attachment #1.1: Type: text/plain, Size: 2164 bytes --]
Hello,
I'm just bumping this email as it could have got missed.
On Wed, Aug 10, 2016, 5:03 PM Kaushal Modi <kaushal.modi@gmail.com> 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: ??):
>
> [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
>
--
Kaushal Modi
[-- Attachment #1.2: Type: text/html, Size: 4008 bytes --]
[-- Attachment #2: pasted1 --]
[-- Type: image/png, Size: 8486 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I get multiple references to the same footnote in org table [ox-latex]
2016-08-20 16:40 ` Kaushal Modi
@ 2016-08-22 10:11 ` Nicolas Goaziou
2016-08-22 12:36 ` Kaushal Modi
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-08-22 10:11 UTC (permalink / raw)
To: Kaushal Modi; +Cc: emacs-org list, Rasmus
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I get multiple references to the same footnote in org table [ox-latex]
2016-08-22 10:11 ` Nicolas Goaziou
@ 2016-08-22 12:36 ` Kaushal Modi
2016-08-22 18:38 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2016-08-22 12:36 UTC (permalink / raw)
To: emacs-org list, Rasmus
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
On Mon, Aug 22, 2016 at 6:11 AM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Footnotes in tables are quite to solve on the LaTeX side. Anyway,
> I think this issue is now fixed in master.
>
> Thank you.
>
Thanks! I confirm the fix.
PS: You meant "quite (easy?/difficult?) to solve on the LaTeX side"? :)
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 747 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I get multiple references to the same footnote in org table [ox-latex]
2016-08-22 12:36 ` Kaushal Modi
@ 2016-08-22 18:38 ` Nicolas Goaziou
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2016-08-22 18:38 UTC (permalink / raw)
To: Kaushal Modi; +Cc: emacs-org list, Rasmus
Kaushal Modi <kaushal.modi@gmail.com> writes:
> PS: You meant "quite (easy?/difficult?) to solve on the LaTeX
> side"? :)
Pick whichever you want!
More seriously, footnotes are a bit tricky in LaTeX.
Regards,
^ 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).