From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Babenhauserheide Subject: =?UTF-8?B?UmU6IEJ1ZzogQy11IE0teCBvcmctZm9vdG5vdGUtYWN0aW9uIHNv?= =?UTF-8?B?cnQgZGVsZXRlcyBmb290bm90ZXMgdXNlZCBpbiAjK2luY2x1ZGU64oCZZCBm?= =?UTF-8?B?aWxlcyBbOC4yLjEwIChyZWxlYXNlXzguMi4xMCBAIC91c3Ivc2hhcmUvZW1h?= =?UTF-8?B?Y3MvMjUuMy9saXNwL29yZy8pXQ==?= Date: Wed, 02 Jan 2019 21:12:01 +0100 Message-ID: <87ef9urf8u.fsf@web.de> References: <87bm56et9d.fsf@web.de> <87ftui2f0l.fsf@nicolasgoaziou.fr> <877eftex4w.fsf@web.de> <875zvb1gfh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gemsB-0003na-MT for emacs-orgmode@gnu.org; Wed, 02 Jan 2019 15:12:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gems5-00041Z-Kf for emacs-orgmode@gnu.org; Wed, 02 Jan 2019 15:12:15 -0500 Received: from mout.web.de ([212.227.15.4]:45365) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gems5-0003t3-Az for emacs-orgmode@gnu.org; Wed, 02 Jan 2019 15:12:09 -0500 In-reply-to: <875zvb1gfh.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: >> here=E2=80=99s a minimal release. Add it into an org-file, then create m= ain.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 =3Ds=3D >> ,#+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.=20 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? > 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. Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlwtGxMACgkQE++NRSQD w+s1Bw//fiIi/4hFwOfk+7fCnitn5HRr0DnMrg0S2VPkmDfEdRl/558R6yv9sOiY d7/yUKQhbWFTzqNnjdVwyuxxdl77TOmzcI8h1bjS697yVPfwzx5PZcHy6Ki+VLgH HfwxKjd1UpyIRse//kwkMRluR4P5S0ROglFyboupg3M4a/EsTc27jggVXx+08+IW oB4jJxDrwP5ykEb4FIbCq7ayAE+GHYSAkGffB5gko811FVcSkAsUfDOgzU7M7Axv UoTGmb15QmOXpdm74/0Vl27uud+jXJqVi3Lo6Vu8eXH3A+CB+cCsDcC4PvwUZwM4 lYpTUOFqvMmQDFKLk861yDoqMYB6vsIg5zv26imYLXDxsALEMcoJeJQfYEoazHNL 7Esm73f6JfhQ0a29GxSTiMJqGcpJ0hjWGbODcB9OLr/CotDOjmWHh7tLN6l/+IUp NGJieiOOQUM2CqsyWLQyvNcpdwn8jMrhStjvOEj44psSEeRkkXzkpP70VquXvpiT MOMuKWap9sSaYB4JqoeQAkvE0cC+ddUG0oTFiPCEiVkJZXCWtLh7qMFw4xbymWWj RZuGySs12xhRknG4hT5pPUwZ21EuAIwl1roWW/uXbv+TydEJ4t1xDv7a6ftvwIKA KZjb98t6BDVmh+nG3l4E6NjxXEoOoSIOq4iIwN7H+oJdimyqozuIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcLRsTAAoJENzPDbMLwQVIlCUD/0Frni2a 8joRh4BzuFMH3LtPuLlotilY6eSggacdQ1EpvneUDK1/HB02WuPGYWdrzyCaUqdR kt34qXSvobVGA2sH0a1Qcf9or/8hdyiOCyjq+OoF+JAeX/w/musGsHyvIpSs12zB gGsknq+Hge18XC4AKpy3lVAVNJwjpjMF/161 =Kmr8 -----END PGP SIGNATURE----- --=-=-=--