zotxt-emacs
zotxt-emacs copied to clipboard
status of easykeys
hello,
I am using zotxt-emacs and I am quite happy with it so far. I am experiencing an issue with easykeys, but I see in other issue reports that easykeys is deprecated and that should not be used (e.g., in issue #5).
Is easykeys still supported and tested? The easykey functions are not documented in the README, but are not reported as deprecated in the source code either.
thanks,
Thanks for the report! I think using BetterBibTeX citekeys is a far better option and I'm in the process of deprecating easy keys. Sorry for any confusion. I have a branch to deprecate them (https://github.com/egh/zotxt-emacs/pull/51) but I'm still working on it.
If you like the general format of easy keys it should be possible to use the same format with BetterBibTeX.
Thanks for the feedback! I agree that easy keys could be probably replaced by BetterBibTeX for most uses.
If you like the general format of easy keys it should be possible to use the same format with BetterBibTeX.
Please could you elaborate? AFAIK, using BetterBibTeX, the only way to insert a reference link is to drag'n drop the reference from zotero into an org document. Or is there another way? zotxt-emacs is still useful here because it allows to stay in the emacs window.
I have the following need for the insertion of reference links. Sometimes I would like to select/change the format of the link description: usually either the full citation, or a reference key. The possibility to use a short citation for the link description would be nice as well.
I saw that zotxt-emacs has already a full support for that, but the 'API' does not easily offer this possibility.
Would you have a suggestion for the best way to implement this? What about adding the possibility to support the universal argument (C-u
) to let the user select the format of the link description?
Are you using the org mode links or pandoc citations? I was thinking of pandoc citations.
If you are using pandoc citations, there doesn't seem to be a great way. If you use the Quick Copy method with "BetterBibTeX Citation Key Quick Copy"
_
It generates a citekey like: \cite{doe:2005first}, which is great for LaTeX but not pandoc.
I merged some updates to the README that describe how to insert a citekey into a pandoc markdown file from directly within emacs. I find this a lot easier to do.
If you want to change the link description, you can use the variables org-zotxt-link-description-style
and zotxt-default-bibliography-style
to change the link description (the second one should be customizable - I'll push a fix for that).
Thanks for the detailed feedback.
In emacs, I use org mode links ;).
I also use LaTeX, so I have configured zotero/BBT to do exports from zotero in the LaTeX format.
Since exports from zotero are reserved for LaTeX usage, from emacs, I would like to import in org files references as full citations and as citation keys. The format of the zotero:// link does not really matter as long as it correctly reaches the target reference in zotero ;). As soon as I find some time, I'll try to implement a wrapper function for this purpose.