On 01/11/2022 12:48, Ihor Radchenko wrote:
Max Nikulin writes:

It seems org-id.el should be extended to handle some features common to
all formats such as custom suffix instead of ".org"

Could you please elaborate?

Currently ox-html has an option to replace links to .org files with links to exported .html files. I suppose, this option should be generalized to other export backends. It is up to user to set appropriate target format to get cross links between exported files.

For ox-latex usually there is no point to link .tex files, target format is almost certainly .pdf. However PDF files may be created from ODF or HTML files, so a user should be able to specify arbitrary suffix, e.g. ".pdf", as a replacement of ".org" file links during export.

Besides "file:" links such feature should work at least for "id:" links.

There is another subthread to discuss link to .org source vs. link to target format.




Reply via email to