Hello, Kaushal Modi <kaushal.m...@gmail.com> writes:
> Ah! I made a typo in the example above; here's the corrected one: > > * Link source > :PROPERTIES: > :EXPORT_FILE_NAME: link-source > :END: > - Link to [[#link-dest][Link dest]] > * Link dest > :PROPERTIES: > :EXPORT_FILE_NAME: link-dest > :CUSTOM_ID: link-dest > :END: > > ("Link source" and "Link dest" subtrees are at the same level. So exporting > just "Link source" subtree does not 'see' the "Link dest" subtree.) I guess you could write a function that changes custom ID links into external links prior to export, e.g., within `org-export-before-parsing-hook'. Regards, -- Nicolas Goaziou