Open modernhero666 opened 1 year ago
What do you mean by {{note}}
? It is unclear what you expect that to be (note from the bibtex entry, literature note you made in obsidian, annotation you made in a pdf that you want to bring into obsidian, etc). Having that information would help solve your issue.
Having said that, the {{note}}
attribute picks up the note
attribute of the bibtex entry. So if it's empty/does not exist, that's one reason why nothing shows up when you load the literature note.
For example, with this test entry, having {{note}}
in the citations plugin template would add the This is a really cool paper
to your literature note in obsidian.
@Article{citekey,
author = {LastName, FirstName},
year = {2023},
note = {This is a really cool paper},
abstract = {example abstract},
}
In my case the note field is called annote and using {{annote}} does not seem to pick it up. Is there any way this could be included in the template otherwise? I am using citations to import papers from Paperpile, which generates a bibtex in my google drive, so there is nothing I can change in the export side of things.
This is what the entry looks like:
@ARTICLE{Connolly2017-cp,
title = "Process, mechanism, and modeling in macroecology",
author = "Connolly, Sean R and Keith, Sally A and Colwell, Robert K and
Rahbek, Carsten",
journal = "Trends Ecol. Evol.",
publisher = "Elsevier Current Trends",
volume = 32,
number = 11,
pages = "835--844",
abstract = "Macroecology has traditionally....",
month = "1~" # nov,
year = 2017,
keywords = "biogeography; macroecology; mechanistic models; model-based
ecology; process-based models; virtual worlds",
doi = "10.1016/j.tree.2017.08.011",
pmid = 28919203,
issn = "0169-5347,1872-8383",
language = "en",
annote = "Distinction between process based and correlative
SDMs.<div><br></div>"
}
@lnilya if you want to pick something out from the bib entry that does not have the handlebars shortcut in the plugin settings, you can access it using {{entry.data.fields.FIELD}}
. In your case, that should be {{entry.data.fields.annote}}
. See e.g., #100 and my comment here.
I put the {{note}} to my template, when I open literature there is nothing
title: {{title}} authors: {{authorString}} year: {{year}}
Notes
{{eprint}} {{abstract}} {{note}}