Hello,

Arne Babenhauserheide <arne_...@web.de> 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
> main.org.
>
> #+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)
>   ,#+END_SRC
>
>   ,* Footnotes
>
>   [fn:1] footnote referenced in main
>
>   [fn:2] footnote referenced in sub
>
> #+END_SRC
>
> #+BEGIN_SRC org :tangle sub.org
>   This footnote will get lost[fn:2]
> #+END_SRC

`org-footnote-action' does nothing. 

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.

Regards,

-- 
Nicolas Goaziou

Reply via email to