{"action":"created","comment":{"url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/comments/38708585","id":38708585,"diff_hunk":"@@ -182,11 +182,12 @@ Zotero.BetterBibTeX.CAYW.Formatter = {\n   pandoc: (citations) ->\n     formatted = []\n     for citation in citations\n+      locator = if citation.locator then \"#{Zotero.BetterBibTeX.CAYW.shortLocator[citation.label]} #{citation.locator}\" else ''\n       cite = ''\n       cite += \"#{citation.prefix} \" if citation.prefix\n       cite += '-' if citation['suppress-author']\n       cite += \"@#{citation.citekey}\"\n-      cite += \", #{citation.label} #{citation.locator}\" if citation.locator\n+      cite += \", #{locator}\"","path":"chrome/content/zotero-better-bibtex/cayw.coffee","position":10,"original_position":10,"commit_id":"dc782f8266a749ea340c506fc78bbd0a96bcaae3","original_commit_id":"dc782f8266a749ea340c506fc78bbd0a96bcaae3","user":{"login":"retorquere","id":132108,"avatar_url":"https://avatars.githubusercontent.com/u/132108?v=3","gravatar_id":"","url":"https://api.github.com/users/retorquere","html_url":"https://github.com/retorquere","followers_url":"https://api.github.com/users/retorquere/followers","following_url":"https://api.github.com/users/retorquere/following{/other_user}","gists_url":"https://api.github.com/users/retorquere/gists{/gist_id}","starred_url":"https://api.github.com/users/retorquere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retorquere/subscriptions","organizations_url":"https://api.github.com/users/retorquere/orgs","repos_url":"https://api.github.com/users/retorquere/repos","events_url":"https://api.github.com/users/retorquere/events{/privacy}","received_events_url":"https://api.github.com/users/retorquere/received_events","type":"User","site_admin":false},"body":"This always inserts the comma, even if the locator isn't set. Is this desired? I don't know pandoc well enough to say.","created_at":"2015-09-03T23:30:47Z","updated_at":"2015-09-03T23:30:47Z","html_url":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339#discussion_r38708585","pull_request_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339","_links":{"self":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/comments/38708585"},"html":{"href":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339#discussion_r38708585"},"pull_request":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339"}}},"pull_request":{"url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339","id":44102985,"html_url":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339","diff_url":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339.diff","patch_url":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339.patch","issue_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/339","number":339,"state":"open","locked":false,"title":"Cosmetics","user":{"login":"davepwsmith","id":1024707,"avatar_url":"https://avatars.githubusercontent.com/u/1024707?v=3","gravatar_id":"","url":"https://api.github.com/users/davepwsmith","html_url":"https://github.com/davepwsmith","followers_url":"https://api.github.com/users/davepwsmith/followers","following_url":"https://api.github.com/users/davepwsmith/following{/other_user}","gists_url":"https://api.github.com/users/davepwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/davepwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davepwsmith/subscriptions","organizations_url":"https://api.github.com/users/davepwsmith/orgs","repos_url":"https://api.github.com/users/davepwsmith/repos","events_url":"https://api.github.com/users/davepwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/davepwsmith/received_events","type":"User","site_admin":false},"body":"Change 'page' to 'p' which is more usual in english.\r\nThis is, really, just my personal preference for formatting pandoc citations, but I think it is neater without the 'p.' or 'page' (probably because I use MLA style!)","created_at":"2015-09-03T12:55:30Z","updated_at":"2015-09-03T23:30:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27c91b0ac7502084329db140b8b84c16d19e6a2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339/commits","review_comments_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339/comments","review_comment_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/339/comments","statuses_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/statuses/dc782f8266a749ea340c506fc78bbd0a96bcaae3","head":{"label":"davepwsmith:patch-2","ref":"patch-2","sha":"dc782f8266a749ea340c506fc78bbd0a96bcaae3","user":{"login":"davepwsmith","id":1024707,"avatar_url":"https://avatars.githubusercontent.com/u/1024707?v=3","gravatar_id":"","url":"https://api.github.com/users/davepwsmith","html_url":"https://github.com/davepwsmith","followers_url":"https://api.github.com/users/davepwsmith/followers","following_url":"https://api.github.com/users/davepwsmith/following{/other_user}","gists_url":"https://api.github.com/users/davepwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/davepwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davepwsmith/subscriptions","organizations_url":"https://api.github.com/users/davepwsmith/orgs","repos_url":"https://api.github.com/users/davepwsmith/repos","events_url":"https://api.github.com/users/davepwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/davepwsmith/received_events","type":"User","site_admin":false},"repo":{"id":41859154,"name":"zotero-better-bibtex","full_name":"davepwsmith/zotero-better-bibtex","owner":{"login":"davepwsmith","id":1024707,"avatar_url":"https://avatars.githubusercontent.com/u/1024707?v=3","gravatar_id":"","url":"https://api.github.com/users/davepwsmith","html_url":"https://github.com/davepwsmith","followers_url":"https://api.github.com/users/davepwsmith/followers","following_url":"https://api.github.com/users/davepwsmith/following{/other_user}","gists_url":"https://api.github.com/users/davepwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/davepwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davepwsmith/subscriptions","organizations_url":"https://api.github.com/users/davepwsmith/orgs","repos_url":"https://api.github.com/users/davepwsmith/repos","events_url":"https://api.github.com/users/davepwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/davepwsmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davepwsmith/zotero-better-bibtex","description":"Make Zotero effective for us LaTeX holdouts","fork":true,"url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex","forks_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/forks","keys_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/teams","hooks_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/hooks","issue_events_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/issues/events{/number}","events_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/events","assignees_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/assignees{/user}","branches_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/branches{/branch}","tags_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/tags","blobs_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/git/refs{/sha}","trees_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/statuses/{sha}","languages_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/languages","stargazers_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/stargazers","contributors_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/contributors","subscribers_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/subscribers","subscription_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/subscription","commits_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/commits{/sha}","git_commits_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/git/commits{/sha}","comments_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/comments{/number}","issue_comment_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/issues/comments{/number}","contents_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/contents/{+path}","compare_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/merges","archive_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/downloads","issues_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/issues{/number}","pulls_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/pulls{/number}","milestones_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/milestones{/number}","notifications_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/labels{/name}","releases_url":"https://api.github.com/repos/davepwsmith/zotero-better-bibtex/releases{/id}","created_at":"2015-09-03T12:43:08Z","updated_at":"2015-09-03T12:43:08Z","pushed_at":"2015-09-03T16:48:12Z","git_url":"git://github.com/davepwsmith/zotero-better-bibtex.git","ssh_url":"git@github.com:davepwsmith/zotero-better-bibtex.git","clone_url":"https://github.com/davepwsmith/zotero-better-bibtex.git","svn_url":"https://github.com/davepwsmith/zotero-better-bibtex","homepage":"","size":82457,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ZotPlus:master","ref":"master","sha":"d2db63fc9a125ff8cfdcd5210753b14383305cdd","user":{"login":"ZotPlus","id":7780331,"avatar_url":"https://avatars.githubusercontent.com/u/7780331?v=3","gravatar_id":"","url":"https://api.github.com/users/ZotPlus","html_url":"https://github.com/ZotPlus","followers_url":"https://api.github.com/users/ZotPlus/followers","following_url":"https://api.github.com/users/ZotPlus/following{/other_user}","gists_url":"https://api.github.com/users/ZotPlus/gists{/gist_id}","starred_url":"https://api.github.com/users/ZotPlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZotPlus/subscriptions","organizations_url":"https://api.github.com/users/ZotPlus/orgs","repos_url":"https://api.github.com/users/ZotPlus/repos","events_url":"https://api.github.com/users/ZotPlus/events{/privacy}","received_events_url":"https://api.github.com/users/ZotPlus/received_events","type":"Organization","site_admin":false},"repo":{"id":12968763,"name":"zotero-better-bibtex","full_name":"ZotPlus/zotero-better-bibtex","owner":{"login":"ZotPlus","id":7780331,"avatar_url":"https://avatars.githubusercontent.com/u/7780331?v=3","gravatar_id":"","url":"https://api.github.com/users/ZotPlus","html_url":"https://github.com/ZotPlus","followers_url":"https://api.github.com/users/ZotPlus/followers","following_url":"https://api.github.com/users/ZotPlus/following{/other_user}","gists_url":"https://api.github.com/users/ZotPlus/gists{/gist_id}","starred_url":"https://api.github.com/users/ZotPlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZotPlus/subscriptions","organizations_url":"https://api.github.com/users/ZotPlus/orgs","repos_url":"https://api.github.com/users/ZotPlus/repos","events_url":"https://api.github.com/users/ZotPlus/events{/privacy}","received_events_url":"https://api.github.com/users/ZotPlus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZotPlus/zotero-better-bibtex","description":"Make Zotero effective for us LaTeX holdouts","fork":false,"url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex","forks_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/forks","keys_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/teams","hooks_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/hooks","issue_events_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/events{/number}","events_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/events","assignees_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/assignees{/user}","branches_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/branches{/branch}","tags_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/tags","blobs_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/statuses/{sha}","languages_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/languages","stargazers_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/stargazers","contributors_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/contributors","subscribers_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/subscribers","subscription_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/subscription","commits_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/contents/{+path}","compare_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/merges","archive_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/downloads","issues_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues{/number}","pulls_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls{/number}","milestones_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/milestones{/number}","notifications_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/labels{/name}","releases_url":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/releases{/id}","created_at":"2013-09-20T08:26:14Z","updated_at":"2015-08-25T23:42:49Z","pushed_at":"2015-09-03T23:28:11Z","git_url":"git://github.com/ZotPlus/zotero-better-bibtex.git","ssh_url":"git@github.com:ZotPlus/zotero-better-bibtex.git","clone_url":"https://github.com/ZotPlus/zotero-better-bibtex.git","svn_url":"https://github.com/ZotPlus/zotero-better-bibtex","homepage":"","size":104809,"stargazers_count":133,"watchers_count":133,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":6,"forks":26,"open_issues":6,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339"},"html":{"href":"https://github.com/ZotPlus/zotero-better-bibtex/pull/339"},"issue":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/339"},"comments":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/issues/339/comments"},"review_comments":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339/comments"},"review_comment":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/pulls/339/commits"},"statuses":{"href":"https://api.github.com/repos/ZotPlus/zotero-better-bibtex/statuses/dc782f8266a749ea340c506fc78bbd0a96bcaae3"}}}}