Comments (6)
Thank you for your impressive work. It means a lot to me.
Please use citation keys as the name. Usually, I find a paper using the tile instead of the author's name. And citation keys usually include some pieces of the paper title which is quite useful for finding a paper page in Notion. Hope to see this feature in the next version.
from notero.
To get the citation key for an item, is it as simple as calling item.getField('citationKey'), or is there a different approach to use?
This is indeed the correct way, and it will simply roll over to the native citation key field when Zotero adds their own support for it.
Do you have a recommendation for how to best determine if BBT is installed? I'm thinking something like this?
That will do it; not that for Zotero 7, BBT can be installed/uninstalled while Zotero keeps running, so it's not a one-time check you can do. If you need a synchronous way to test for presence, you can test for Zotero.BetterBibTeX
, but on Zotero 6, that has an edge case whene BBT is uninstalled, but Zotero has not been restarted yet.
from notero.
This feature has (finally) been released in v0.5.1! 🎉
from notero.
Helpful information from @YP-Li shared in #101:
The Citation Key in Zotero is not native, the most popular way to generate it is based on better-bibtex (another plugin for Zotero).
In better-bibtex, users can customize the rules for Citation Key generation. The generated Citation Key may change for updates of the generation rules or updates of the bibliographic information, unless it has been pinned. Therefore, in some other note-taking software that integrates Citation Key, such as logseq, it is required that the Citation Key is already pinned before generating the notes page.
from notero.
@retorquere, I'm hoping to get some input from you as a fellow Zotero plugin developer! I have some questions about the correct way to integrate with BBT.
-
To get the citation key for an item, is it as simple as calling
item.getField('citationKey')
, or is there a different approach to use? -
Do you have a recommendation for how to best determine if BBT is installed? I'm thinking something like this?
const addon = await AddonManager.getAddonByID('[email protected]'); return addon && addon.isActive;
Thanks!
from notero.
Thanks for the prompt and helpful feedback, @retorquere!
from notero.
Related Issues (20)
- Error: Failed to load HTML content HOT 10
- [New feature] Authors as pages with relations to each of their papers HOT 4
- Database ID not found but everything follows the guidelines. HOT 3
- image
- Sync configs table doesn't render all items until scroll
- Only newly added literature from Zotero will be updated, and literature that existed before the Zotero connection will not be updated.
- issues with integrating v0.5.7 HOT 3
- On Macbook M1 Sonoma (14.11), nothing works after v0.4.11
- Request to Notion API has timed out HOT 3
- Collection Field not syncing HOT 12
- Error when trying to sync HOT 1
- Notero Preferences Not Showing in V7 Beta HOT 2
- Notero preferences section can not be located. HOT 2
- Notero not syncing HOT 2
- Disruption of Drag-and-Drop Feature During Notero Sync HOT 2
- Note sync fails when encountering invalid URL HOT 4
- Integration token HOT 1
- Error in Syncing - APIResponseError: body failed validation HOT 5
- Notero not compatible with OSX Zotero Version 6.0.8 HOT 1
- API Response Error HOT 4
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 notero.