emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: bhoel@despammed.com (Berthold Höllmann)
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)]
Date: Sun, 17 Apr 2016 17:42:03 +0200	[thread overview]
Message-ID: <87lh4c9r90.fsf@pchoel.xn--hllmanns-n4a.de> (raw)
In-Reply-To: 87bn59vp68.fsf@nicolasgoaziou.fr

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Berthold Hoellmann <berthold.hoellmann@dnvgl.com> writes:
>
>> Actually I was able to patch `org-latex-footnote-reference' to get the
>> results I line. The trick is to add the counter number given at the
>> \footnotetext command to the \footnotemark command also:
>
> It sounds good. Would you like to provide a patch against master for
> that?

I just tried to prepare a patch, but looking into it I reckoned that my
solution breaks hyperref.

The more I looked into the code, the more confused I am (I'm not a lisp
programmer).

hypperref works again half way, if i define the first occurrence of the
footnote using a bare "\footnotemark", and use "\footnotemark[<footnote
number>]" in subsequent uses. As I understand the code,
"\footnotemark[<footnote number>]" should be used, when a footnote
marker is reused, but

  (org-export-footnote-first-reference-p footnote-reference info)

seems to be true only, if "\footnote" was used previously. But I am lost
here.

Kind regards
Berthold Höllmann


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-04-17 16:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  8:54 Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)] Berthold Höllmann
2016-04-14  8:03 ` Nicolas Goaziou
2016-04-14 14:02   ` Berthold Hoellmann
2016-04-16 10:11     ` Nicolas Goaziou
2016-04-17 15:42       ` Berthold Höllmann [this message]
2016-04-19 19:26         ` Nicolas Goaziou
2016-04-19 22:11           ` Berthold Höllmann
2016-04-20 21:40             ` 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=87lh4c9r90.fsf@pchoel.xn--hllmanns-n4a.de \
    --to=bhoel@despammed.com \
    --cc=berthold@xn--hllmanns-n4a.de \
    --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 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).