On 23/08/2021 03:42, inkbottle wrote:
Links between two different files, like
`[[id:e54113f9-2ad7-4a86-94be-68ffc696de0b][hello]]`, get broken when
publishing. (whatever the settings).

I haven't found any workaround.

Being able to move around entries, functionality provided by `org-id-link-to-
org-use-id`, is pivotal, IMO.

From my point of view it looks like a bug.
https://code.orgmode.org/bzg/org-mode/src/master/lisp/ox.el#L4381
checks for ID property.
https://code.orgmode.org/bzg/org-mode/src/master/lisp/ox-html.el#L1659
queries CUSTOM_ID only. I suppose, ID should be here as well. A subtle point is which one (ID or CUSTOM_ID) should be used if both are defined for some headers.

Maybe it is possible to create workaround as a custom config without touching of Org code. I guess, "nicer" ids may be replaced by values of ID property. Examples (I tried none of them): - https://tecosaur.github.io/emacs-config/config.html#nicer-generated-heading https://orgmode.org/list/e1jxajq-0004dk...@lists.gnu.org/ (TEC. [Interest] Determanistic Org IDs. Sun, 19 Jul 2020 22:27:31 +0800) - https://github.com/alphapapa/unpackaged.el#export-to-html-with-useful-anchors https://orgmode.org/list/ca+g3_pocytkr6m1k8xupzusg5ehd5tv4fe4x-6mvadcsjsk...@mail.gmail.com/ (Tom Gillespie. Tue, 8 Dec 2020 20:39:08 -0500, Re: stability of toc links) - https://github.com/zzamboni/dot-doom/blob/master/doom.org#capturing-and-creating-internal-org-links https://orgmode.org/list/cagy83ecfexvco6tutoqiywgddo0cxe+db828leiddimxbro...@mail.gmail.com/
(Diego Zamboni. Wed, 9 Dec 2020 09:45:52 +0100. Re: stability of toc links)
- http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings https://orgmode.org/list/4698cfeb2e415f88bd25e71267f29...@isnotmyreal.name/ (TRS-80. Sat, 12 Dec 2020 20:25:15 -0500. Re: Better heading links in org-mode exports)
- https://writequit.org/articles/emacs-org-mode-generate-ids.html



Reply via email to