Comments (3)
For 1, we have two functions. One is zotra-add-entry-from-search
which might be similar to biblio
since it populates a bibliographic entry (bibtex/biblatex/CSL json/CSV/etc) using a search identifier (DOI, ISBN, PMID, arXiv ID).
The other is zotra-add-entry-from-url
which needs a url to a journal/repo/youtube video/whatever and populates the bibliography entry. I've described in the README how to use org-protocol to get a bookmarklet in the browser that acts similar to Zotero-connector so that you can visit a website in your browser, click on the bookmarklet and an entry will be added to your bibliography file.
I agree that, for this case, probably no particular integration code is needed.
For 2, that's mostly correct. The zotra-get-attachment
function can get attachment urls (if there is more that one attachment, it'll either ask the user to choose a single one or return the list of all of them) from either search identifier or the url. The version of bibtex-completion-add-pdf-to-library
that I've written in the README is using the url field of the bibtex entry and falls back to asking the user for a url when the bibtex entry doesn't have such a field.
There are also zotra-download-attachment
(-from-search
/-from-url
) functions, but it might be easier to integrate if you use zotra-get-attachment
instead
from citar.
I can't predict when or if I'll have time to get this, given other priorities. But PR and/or wiki contribution would certainly be welcome.
FWIW, citar is designed to be pretty flexible in terms of integration with other packages, so much so that it's often better to spin off functionality like this into independent small packages.
from citar.
Thanks for the note.
So let me see if IUC:
The idea here is zotra can be used to add either:
- an entry, with metadata populated from the zotero translators
- a link to a PDF attachment to an already-existing entry; you're example is this
Is that correct?
On 2, we do have a broader command called citar-add-library-files
. I'll need to think about this one a bit more. It might be that adding a hook here would be useful, but am not sure.
I think 1 is pretty much the same as using biblio
with the embark-become
example, so could just add another example to the wiki (and so, no particular integration code needed):
https://github.com/emacs-citar/citar/wiki/Embark#embark-become
from citar.
Related Issues (20)
- Custom `C-i` bindings do not play well with `citar-open` and `RET` HOT 9
- Feature request: `citar-open-files-or-links` HOT 4
- Customizable `citar-add-file-to-library` HOT 3
- Display transform function for full names HOT 15
- Alignment doesn't work with star in template HOT 1
- Misaligned completion suggestions with company mode HOT 2
- citar--format-candidates docstring confusion
- The Homepage button on melpa leads to a 404 HOT 5
- Installing citar with guix: "Symbol's value as variable is void: citar-indicator-create" HOT 7
- citeproc: add way to specify output format
- Citar fails to display files containing commas HOT 5
- Feature request: Allow `citar` to add multiple files to library item/citeky via `citar-add-file-to-library` HOT 1
- `citar-open-entry` receives wrong citekey HOT 6
- modularizing citar--select-multiple HOT 2
- citar functions to act on buffers HOT 6
- (How to?) add a direct call to `citar-file-open-external` from citar's "menu"
- Problems rendering superscripts correctly for in-text citations when exporting to ODT HOT 3
- Make citar-open more configurable HOT 9
- Issues with `citar-export-local-bib-file` HOT 8
- embark-related parsing problems when multiple citekeys HOT 14
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 citar.