Hi Ihor, * Gregor Zattler <telegr...@gmx.net> [2025-07-27; 21:57 +02]: > * Ihor Radchenko <yanta...@posteo.net> [2025-07-27; 14:45 GMT]: >> Could you please provide more details about how to reproduce the >> problem? See https://orgmode.org/manual/Feedback.html#Feedback > > only now I produced a minimal example > from emacs -Q and the problem vanished. > I should have done that before reporting > the problem. > > Later I will investigate my > configuration and probably come back > again with some more specific questions.
I now found the culprit in my configuration: It sets org-html-prefer-user-labels to t. This renders links to radio targets non-functional when publishing to HTML. See attacher a minimal working/failing example. Un-tar in /tmp and then do cd /tmp/2025-07-31-org-html-prefer-user-labels-publishing-problem/; rm publish/test.html; emacs -Q -nw --eval '(setq org-html-prefer-user-labels t)' -l doit.el ; ls -l publish/test.html this will provide a test.html with non-functioning links to radio targets. If instead one does cd /tmp/2025-07-31-org-html-prefer-user-labels-publishing-problem/; rm publish/test.html; emacs -Q -nw --eval '(setq org-html-prefer-user-labels nil)' -l doit.el ; ls -l publish/test.html the links to the radio targets are functional in the produced html file. I wished radio targets were recognised as user defined identifiers (NAME) and treated accordingly in publishing. Is that possible? Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.-
2025-07-31-org-html-prefer-user-labels-publishing-problem.tar
Description: Unix tar archive