emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Arne Babenhauserheide" <Arne_Bab@web.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: C-u M-x org-footnote-action sort deletes footnotes used in #+include:’d files [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)]
Date: Thu, 3 Jan 2019 19:49:58 +0100	[thread overview]
Message-ID: <trinity-f05170e5-1477-4fc7-bfb3-3e1656c9c4c9-1546541398383@3c-app-webde-bap07> (raw)
In-Reply-To: <87k1jlvoii.fsf@nicolasgoaziou.fr>


> Arne Babenhauserheide <arne_bab@web.de> writes:
> 
> > In my setup, it deletes footnote [fn:2].
> >
> > Damn, I missed one important part in the ECM: Set
> >
> >       org-footnote-section
> >
> > to nil. Does it still leave them untouched?
> 
> I still cannot reproduce it.

Then I’ll need to test this in org 9.

Does it at least move footnote [fn:1] out from the Footnotes section?
If not, then the call org-footnote-action does not actually work.

> > It does not reference between included files, but references from
> > included files to the main file actually work.
> 
> I'm positively sure this cannot be. Indeed "ox.el" has a comment about
> it:
> 
>     ;; Append ID to all footnote references and definitions, so they
>     ;; become file specific and cannot collide with footnotes in other
>     ;; included files.

I’m sure that this works, because I’m creating a PDF via ox-latex using those footnotes.

Here’s the source with a full autotools setup: https://bitbucket.org/ArneBab/1w6/src/default/Hauptdokument/ews30/

Main file: https://bitbucket.org/ArneBab/1w6/src/cd0a985945e46389d2690b759869706df572e65f/Hauptdokument/ews30/ews.org

You can test this with the latest release: https://www.1w6.org/releases/ews30eb1.tar.gz

Build it with


    ./configure; make distcheck


I hope that org 9 does not break this.

Best wishes,
Arne

      reply	other threads:[~2019-01-03 18:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27 18:09 Bug: C-u M-x org-footnote-action sort deletes footnotes used in #+include:’d files [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)] Arne Babenhauserheide
2018-12-28  9:10 ` Nicolas Goaziou
2018-12-28 10:58   ` Arne Babenhauserheide
2018-12-30 10:01     ` Nicolas Goaziou
2019-01-02 20:12       ` Arne Babenhauserheide
2019-01-03 13:50         ` Nicolas Goaziou
2019-01-03 18:49           ` Arne Babenhauserheide [this message]

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=trinity-f05170e5-1477-4fc7-bfb3-3e1656c9c4c9-1546541398383@3c-app-webde-bap07 \
    --to=arne_bab@web.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).