Comments (8)
Hi, I will look into the issue.
It would also be great help for me if you can explicitly add {{citekey}} to allowed metadata fields
You can use the {{id}}
metadata field; this is equivalent to {{citekey}}
. Or did I misunderstand your statement above?
Note:: for batch metadata operations {{id}}
will return empty.
from obsidian-reference-map.
This is fixed in the latest release. Please test it.
from obsidian-reference-map.
@anoopkcn thank you for a quick fix, it works well now!
Regarding {{id}} you understood me perfectly, but unfortunately {{id}} is not always equivalent to citekey.
Let's say I added some doi to my obsidian note. Reference map will recognize it as a paper and create an entrance. But its key will be doi, not citekey.
Have a look at this example:
I added https://doi.org/10.1038/s41419-020-03238-7
with template {{author}}, {{year}} %%[{{id}}] %%
I will receive the following: M. Schank, 2020 %%[10.1038/s41419-020-03238-7] %%
from obsidian-reference-map.
Oh yes, I see what you mean now. Currently, {{citekey}}
is only available for references you have in the Zotero library. I will think of a way to construct citekey
for references not in the Zotero library.
I have a couple of ideas about this. The biggest problem in implementing this is maintaining consistency between zotero bibtex citekey
format and whatever format I implement for references(since better bibtex doesn't have a public typescript package). That is a long way of saying it might take a bit of time for me to implement this feature 😁
from obsidian-reference-map.
It is harder than that :)
if I cite a paper using doi although HAVING it in my library: https://doi.org/10.1016/j.cell.2022.11.001 (citekey @LOPEZOTIN2023243) Refmap will recognize it but when using the same template {{author}}, {{year}} %%[{{id}}] %%
return C. López-Otín, 2022 %%[10.1016/j.cell.2022.11.001] %%
but not C. López-Otín, 2022 %%[@LOPEZOTIN2023243] %%
but anyway, I got your point. It is not a crucial thing, but still a little bit of pain for me
from obsidian-reference-map.
In the next patch, I can add a setting to convert the reference id
s to citekey
if the references are present in the Zotero library. This could solve the problem you specified in the last message.
from obsidian-reference-map.
it would be great, thank you so much!
from obsidian-reference-map.
Hi @irzhegalova, I added this feature in the latest version(Reference-Map is now available in the community plugins so you can simply do an update)
behaviour: If you have a DOI in the markdown file Reference-Map will look for the Citekey in the Zotero library; if it finds the CiteKey, it will substitute the {{id}}
for that CiteKey instead of the DOI. The index cards will also show a link to the Zotero entry.
NOTE: you have to enable this in the settings called Find CiteKey from ID
.
from obsidian-reference-map.
Related Issues (20)
- Filter redundent references HOT 1
- Use Zotero Library as Semantic Scholar Fallback HOT 11
- Support DOI search in Search Reference HOT 4
- [FR] Insert the metadata into the corresponding entry in the note's YAML area
- [FR] Pull bibliography from Zotero HOT 3
- [FR] Eliminating duplicate references HOT 3
- [FR] Add filtering function to Reference Map Graph
- Port of zotero is not available in settings HOT 3
- Account for doi ending with a point HOT 2
- [FR] Add literature in Reference Map Graph directly HOT 1
- please add show or hide journal HOT 2
- When clicking a button on the index card in the `reference map`, highlight / zoom in on the reference in the `reference map graph` view
- Provide the ability to set a background or text border beneath references in the `reference map graph` view.
- Provide the ability to deselect selected references in the `reference map graph` view
- Accents (éè öü) not showing in title
- Provide the ability to autocomplete citation keys based on `.bib` file
- Invalid regular expression HOT 3
- Connect with latest Zotero HOT 2
- Add the ability to specify `.bib` file on a per-note basis
- Show all the references in the Zotero library at once?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-reference-map.