{"action":"created","issue":{"url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/31","labels_url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/31/comments","events_url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/31/events","html_url":"https://github.com/apcshields/autocomplete-bibtex/issues/31","id":96859290,"number":31,"title":"Support for Pandoc/CSL JSON","user":{"login":"adunning","id":1084407,"avatar_url":"https://avatars.githubusercontent.com/u/1084407?v=3","gravatar_id":"","url":"https://api.github.com/users/adunning","html_url":"https://github.com/adunning","followers_url":"https://api.github.com/users/adunning/followers","following_url":"https://api.github.com/users/adunning/following{/other_user}","gists_url":"https://api.github.com/users/adunning/gists{/gist_id}","starred_url":"https://api.github.com/users/adunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adunning/subscriptions","organizations_url":"https://api.github.com/users/adunning/orgs","repos_url":"https://api.github.com/users/adunning/repos","events_url":"https://api.github.com/users/adunning/events{/privacy}","received_events_url":"https://api.github.com/users/adunning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-23T17:05:53Z","updated_at":"2015-09-27T16:20:05Z","closed_at":null,"body":"The native format of Pandoc-citeproc is CSL JSON, which is also what Zotero uses, but there was not formerly a way to export this directly, which led to many people using BibTeX instead. As of version 1.1, the Better BibTeX plugin has a 'Pandoc JSON' option that will export CSL JSON, using its generated citation key as an ID, and applying postprocessing to the notes field (allowing one to use CSL variables not yet provided in Zotero's interface). Given that it's now possible to use this format directly, it would be ideal if the autocomplete plugin could parse this as well as BibTeX.\r\n\r\nFrom the user's perspective, the simplest way to implement this would likely be to detect the file extension of the bibliography provided (i.e. `.bib` vs. `.json`). Or would it be more efficient to fork this plugin and have a separate package altogether?"},"comment":{"url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/comments/143573984","html_url":"https://github.com/apcshields/autocomplete-bibtex/issues/31#issuecomment-143573984","issue_url":"https://api.github.com/repos/apcshields/autocomplete-bibtex/issues/31","id":143573984,"user":{"login":"tpoisot","id":579329,"avatar_url":"https://avatars.githubusercontent.com/u/579329?v=3","gravatar_id":"","url":"https://api.github.com/users/tpoisot","html_url":"https://github.com/tpoisot","followers_url":"https://api.github.com/users/tpoisot/followers","following_url":"https://api.github.com/users/tpoisot/following{/other_user}","gists_url":"https://api.github.com/users/tpoisot/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoisot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoisot/subscriptions","organizations_url":"https://api.github.com/users/tpoisot/orgs","repos_url":"https://api.github.com/users/tpoisot/repos","events_url":"https://api.github.com/users/tpoisot/events{/privacy}","received_events_url":"https://api.github.com/users/tpoisot/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T16:20:05Z","updated_at":"2015-09-27T16:20:05Z","body":"Sorry for the delay -- I'm not 100% ready to merge yet. There are still some weird UI things that happen for reasons I'm not sure of, and I'd like to add some support to the bibtex parser too (maybe)."}}