Expand NOTER_DOCUMENT path with elisp
jcguu95 opened this issue · comments
The following works
:NOTER_DOCUMENT: ../../.attach/2b/7d94cb-0dc0-4a61-a81e-2a46fd0b015b/test.pdf
But it would be nice if we can make use of elisp:
:NOTER_DOCUMENT: (format "%s/2b/7d94cb-0dc0-4a61-a81e-2a46fd0b015b/test.pdf" attach-dir)
Similarly, one can start playing things like
:NOTER_DOCUMENT: (format "%s/calculus.pdf" my-math-library)
It shouldn't be hard to make this change. I'm happy to make a PR if some hint is provided -- the source code for the main function org-noter
is a bit large..
Thanks :)