emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org exports broken ID links


From: Ihor Radchenko
Subject: Re: Org exports broken ID links
Date: Sat, 31 Aug 2024 15:14:54 +0000

Rudolf Adamkovič <rudolf@adamkovic.org> writes:

> REPRODUCTION STEPS:
> ...
>      * Foo :noexport:
>      :PROPERTIES:
>      :ID: xxx
>      :END:
>      
>      * Bar
>      [[id:xxx][Foo]]
>   
>   3. Export the file as HTML using (`C-c C-e h o').
>
> EXPECTED:
>
>   The export stops due to a broken link, as per
>
>     `org-export-with-broken-links'.
>
> ACTUAL:
>
>   Org produces an HTML file with a link that points to nowhere.

That link is not broken - it points to a file containing the linked
heading. It just happens to be the same Org file.

The same mechanism is applied when you export a file with id: link that
points to _another_ Org file - the link will be created to that Org file.

Not a bug.
Canceled.

If you want a feature controlling whether to export fuzzy/id links to
Org files, feel free to open a feature request.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]