Hey guys, recently I got some great help to help me organize different types of notes, the solution in my case ended up being sub-directories.
I explain more in there in case anyone wants to achieve a similar thing.
What I’m struggling with right now is to place my org roam bibtex notes in a subdirectory.
I use helm-bibtex to add notes to URL’s saved via zotero and exported with Better Bibtex into a single .bib file.
When I open helm-bibtex and use “Edit note” the location of this notes go to the parent folder of my org-roam directory. I’d like to place this notes into a sub-directory called “resources”
I’m using spacemacs (I’ll include my configurations at the end of this ) I placed my configurations in a private layer as instructed in the documentation, the only change from the defaults should be the keybinding.
We have very similar settings, although I edit my .bib file by hand. In any case, to place your org roam bibtex notes in your “resources” sub-directory you need to add the path into your orb-template. This is how I have it:
Note that in my template I have :file-name "refs/${citekey}. With this the org-roam-bibtex notes are created in my “refs” sub-folder within my org-roam-directory. The file name for my literature notes is simply the bibtex key. So if I make a note for an article with bibtex key “Jones2018”, the file created will be something like this:
my-org-roam-directory/refs/Jones2018.org
In my template I also defined the header of the file. I write my literature notes using org-noter
Which allows me to write my notes associated to particular locations of the pdf. With this information on the header I can create the notes file using org-roam-bibtex, call org-noter and start typing. It is a very nice setup.
@jmburgos Thanks man you just saved me so much time I didn’t know where the path was defined.
In case anyone else need to set things up I’ll write down what I changed from your configs:
Like you explained this is done in :file-name what comes before the ${citekey} determined the sub-directory.
In my case I changed mine to.
:file-name "resources/${citekey}"
And now everything works. For those who might be using spacemacs I did all of this within my org-roam private layer.
Thanks again @jmburgos appreciate the help! And yeah I’ve been using org-noter, it’s amazing, but I wasn’t able to figure out how to make it work with org-roam-bibtex so your explanation was exactly what I needed!
If I understood correctly, in your case for org-noter, this is the path where you have your pdf files stored right? /home/julian/Documents/Refs/
Do you have a link to your dotfiles perhaps? I’d really love to check it out since you are steps ahead of what I want to achieve!
Sorry, I do not have a link to my dotfiles… I have been meaning to upload them to github forever. In any case, org-noter works pretty much out of the box. My only configuration is this:
no worries at all! Thanks for sharing the org-noter configs I’m setting up right now!
Awesome, let me know if you end up sharing your dotfiles!
Thanks again!
The other components of my “note-taking ecosystem” are ivy-bibtex and org-ref. With ivy-bibtex and org-roam-bibtex I can search my reference database (kept as a single bibtex file), select the “edit notes” options, and I get a note formatted with the template defined in orb-templates. With org-ref I get all the functionality of working links when I write documents, including the option to write notes on a reference already cited in a document. To make everything work together I have the following configuratons: