Re: Custom link type that attaches file in :follow

2021-04-12 Thread Nicolas Goaziou
Hello, Tarjei Bærland writes: > Something seems to go wrong during the export, however, where a new > attachment directory is created. Is my assumption that the export will > run with =point= at the link incorrect? Yes, this assumption is incorrect. The export process operates on a parse tree, a

Custom link type that attaches file in :follow

2021-04-12 Thread General discussions about Org-mode.
Hi! I am having some trouble adding a link via =org-link-set-parameters=. I want to have a custom =xournalpp=-link type that behaves as follows: - follow :: Open attached file - exists :: open the file - don't exist :: create attachment directory and copy template file into it - export :: Use