Re: Replace org link with footnote

2023-11-11 Thread Ihor Radchenko
Matt writes: > ... Maybe a fun first commit for someone would be to update > `org-footnote-new` to accept optional LABEL and DEFINITION arguments that > allow a footnote to be created programmatically? I would not mind such a patch. -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: Replace org link with footnote

2023-11-11 Thread Matt
On Sat, 11 Nov 2023 04:54:15 +0100 Max Nikulin wrote --- > https://list.orgmode.org/ugucve$12l4$1...@ciao.gmane.io Thanks for the reference. It's always good to relate associated information :)

Re: Replace org link with footnote

2023-11-10 Thread Max Nikulin
On 11/11/2023 03:23, Matt wrote: Here's a quick hack to replace an Org link with a footnote. [...] (if (org-in-regexp org-link-bracket-re 1) During the following discussion I thought on `org-export-filter-parse-tree-functions' as a means to transform links into footnotes for ox-ascii (it

Replace org link with footnote

2023-11-10 Thread Matt
Here's a quick hack to replace an Org link with a footnote. Maybe a fun first commit for someone would be to update `org-footnote-new` to accept optional LABEL and DEFINITION arguments that allow a footnote to be created programmatically? (defun my-replace-link-with-footnote () "Replace an o