Set a defvar called interleave--notes-dir. The user should make a point to save the pdf associated notes org file either in the same folder or in the interleave--notes-dir.
When calling M-x interleave from a pdf file (let's say file-name.pdf), we will search for file-name.org first in the same folder and then in interleave--notes-dir. If the search is successful, that file is opened and the Interleave session will continue as now.
But if file-name.org is not found, then it is created in interleave--notes-dir with the header #+INTERLEAVE_PDF: /path/to/file-name.pdf. The user can choose to move it to the same folder as the pdf is they wish (or we can add a defvar for an option to create the notes org in either the same folder or in interleave--notes-dir by default). I personally like the idea of keeping all notes in one folder. And then the Interleave session will continue as now.
What do you think? I will get started on adding this feature when I get a chance.
Hi,
I have this idea:
defvar
calledinterleave--notes-dir
. The user should make a point to save the pdf associated notes org file either in the same folder or in theinterleave--notes-dir
.M-x interleave
from a pdf file (let's sayfile-name.pdf
), we will search forfile-name.org
first in the same folder and then ininterleave--notes-dir
. If the search is successful, that file is opened and the Interleave session will continue as now.file-name.org
is not found, then it is created ininterleave--notes-dir
with the header#+INTERLEAVE_PDF: /path/to/file-name.pdf
. The user can choose to move it to the same folder as the pdf is they wish (or we can add adefvar
for an option to create the notes org in either the same folder or ininterleave--notes-dir
by default). I personally like the idea of keeping all notes in one folder. And then the Interleave session will continue as now.What do you think? I will get started on adding this feature when I get a chance.