[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: C-u M-x org-footnote-action sort deletes footnotes used in
Re: [O] 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/)]
Wed, 02 Jan 2019 21:12:01 +0100
mu4e 1.0; emacs 25.3.1
Nicolas Goaziou <address@hidden> writes:
>> here’s a minimal release. Add it into an org-file, then create main.org
>> and sub.org with M-x org-babel-tangle. Finally run the code-block in
>> #+BEGIN_SRC org :tangle main.org
>> ,#+include: sub.org
>> Here is a footnote[fn:1]
>> run the following code block with C-c C-c and answer with =s=
>> ,#+BEGIN_SRC elisp
>> (org-footnote-action t)
>> ,* Footnotes
>> [fn:1] footnote referenced in main
>> [fn:2] footnote referenced in sub
>> #+BEGIN_SRC org :tangle sub.org
>> This footnote will get lost[fn:2]
> `org-footnote-action' does nothing.
In my setup, it deletes footnote [fn:2].
Damn, I missed one important part in the ECM: Set
to nil. Does it still leave them untouched?
> However this will probably not export as you would expect. Indeed,
> footnotes in included file are independent, so you cannot reference
> footnotes between included files.
It does not reference between included files, but references from
included files to the main file actually work.
What I would expect is that the footnotes get moved to the end of the
section with the last #+include: which uses the footnote.
heißt politisch sein
ohne es zu merken
Description: PGP signature
- Re: [O] 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 <=