Timeline for What is the mechanism by which org-export collates links for the summary?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2021 at 17:20 | history | edited | John Kitchin | CC BY-SA 4.0 |
added 824 characters in body
|
Jan 26, 2021 at 15:47 | comment | added | stsquad | Anyway going to your suggestion I tired adding it to the export block (see amended question) however while the footnotes were applied they didn't show up. My attempts to add :with-footnotes t the the custom exporters options-alist where met with "org-collect-keywords: Wrong type argument: char-or-string-p, t" | |
Jan 26, 2021 at 14:32 | comment | added | stsquad | AFAICT ((org-export-custom-protocol-maybe link anchor 'ascii info) nil) means the custom mu4e exporter means these links are skipped. Hmm not sure how to work around that limitation - I guess an advise after to add the links that were skipped? | |
Jan 26, 2021 at 13:48 | comment | added | John Kitchin | Indeed it does! I looked in ox-ascii.el. It is sort of hard to follow, but there is a function called org-ascii--describe-links that generates those descriptions, and the best I can tell they get inserted at the end of each heading during the export in the function org-ascii-headline. This isn't simply done by the export function on a link. | |
Jan 26, 2021 at 10:32 | comment | added | stsquad | I thought it may be something in my config but I verified with an emacs -q and did a C-c C-e C-s C-b t A (export, subtree, body only, plain text) of a node with a URL link in it and the default was to split the link from the text put it at the bottom as a footnote. I should note there is more to the actual export but the behavior I'm trying to understand happens in vanilla. | |
Jan 25, 2021 at 18:27 | comment | added | John Kitchin | I don't see how you can get what is in that url with vanilla export of web links in org-mode. Is something is missing in your description of what you are doing? usually links are just transcoded in place. For footnotes that is also true, but if you look at the html export code in org-html-inner-template it adds a org-html-footnote-section for example, that relies on info parsed from the doc. | |
Jan 25, 2021 at 9:04 | comment | added | stsquad | Normal web-links are getting processed, see one of my actual updates for an example: lists.linaro.org/pipermail/linaro-toolchain/2021-January/… | |
Jan 25, 2021 at 0:47 | comment | added | John Kitchin | what other link has that behavior? | |
Jan 24, 2021 at 22:55 | comment | added | stsquad | But that is the existing behavior I have with other links. I certainly don't preprocess my org file with HTML links but when exported they have been split from the link location and footnotes at the end of the section. | |
Jan 24, 2021 at 21:15 | comment | added | John Kitchin | I don't think that is possible. You need something to happen at two places, where your link is, and where you want the footnotes. you would have to add a new link type like a bibliography I think, with an export for that. | |
Jan 24, 2021 at 20:32 | comment | added | stsquad | I am so I'm wondering where the existing logic is doing this during export so I try and hook in to that mechanism. | |
Jan 24, 2021 at 17:56 | history | answered | John Kitchin | CC BY-SA 4.0 |