zandy icon indicating copy to clipboard operation
zandy copied to clipboard

Citations to clipboard

Open avram opened this issue 13 years ago • 2 comments

Discussion on Zotero forums suggests that it would be useful to push in-text citations and bibliography-formatted citations to the clipboard; specified use case is Google Docs, but this would be useful anywhere.

Two ways to do this: make the API server do it, or embed citeproc-js in a WebView. The latter would also entail translating from Zotero JSON to citeproc-js JSON, but it's doable (we could request the citeproc-js JSON from the server, but then we might as well request a formatted cite).

avram avatar Dec 13 '11 01:12 avram

For clipboard access (we could probably even make a SpannedString for formatted cites): http://developer.android.com/reference/android/text/ClipboardManager.html

Can't use the new version, since that requires API 11.

avram avatar Dec 16 '11 10:12 avram

I think this might be relevant as there are standalone scripting engines to avoid WebView usage just for the sake of JS.

mlt avatar Dec 16 '11 19:12 mlt