{"action":"reopened","issue":{"url":"https://api.github.com/repos/Juris-M/citeproc-js/issues/6","repository_url":"https://api.github.com/repos/Juris-M/citeproc-js","labels_url":"https://api.github.com/repos/Juris-M/citeproc-js/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Juris-M/citeproc-js/issues/6/comments","events_url":"https://api.github.com/repos/Juris-M/citeproc-js/issues/6/events","html_url":"https://github.com/Juris-M/citeproc-js/issues/6","id":156844676,"number":6,"title":"Bugs for Creators entered through Extra cheater syntax","user":{"login":"bwiernik","id":4773225,"avatar_url":"https://avatars.githubusercontent.com/u/4773225?v=3","gravatar_id":"","url":"https://api.github.com/users/bwiernik","html_url":"https://github.com/bwiernik","followers_url":"https://api.github.com/users/bwiernik/followers","following_url":"https://api.github.com/users/bwiernik/following{/other_user}","gists_url":"https://api.github.com/users/bwiernik/gists{/gist_id}","starred_url":"https://api.github.com/users/bwiernik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwiernik/subscriptions","organizations_url":"https://api.github.com/users/bwiernik/orgs","repos_url":"https://api.github.com/users/bwiernik/repos","events_url":"https://api.github.com/users/bwiernik/events{/privacy}","received_events_url":"https://api.github.com/users/bwiernik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-05-25T20:37:52Z","updated_at":"2016-09-23T21:18:46Z","closed_at":null,"body":"I've found some bugs with how citeproc-js seems to handle creator names entered using the Zotero Extra field and the cheater syntax.\r\n\r\nIf I enter a name like this:\r\n{:editor: Book | Editor}\r\n\r\nciteproc-js picks it up and recognizes that it is an editor, but three things don't work.\r\n\r\nFirst, the \"initialize-with\" parameter for names isn't respected--[\"initialize-with\"=\". \"] renders as:\r\n(Book, Editor, Ed.) in apa.csl\r\n\r\nSecond, names entered via Extra don't seem to work correctly for <subsitute> parameters. For example, if a Report lacks an author, but has an editor in Extra, the citation renders as:\r\n(1999). _Title_. Place: Publisher.\r\n\r\nInteresting, what seems to be happening is that citeproc-js recognizes that there is an editor, but doesn't actually render the contexts. If I remove the editor from Extra, it renders as:\r\n_Title_. (1999). Place: Publisher.\r\n\r\nIf there is both an editor and a translate in Extra (with the same name--so they should collapse), it renders as:\r\n(1999). _Title_. (Translate, First, Trans.) Place: Publisher.\r\n\r\nThird, collapsing of editor and translator doesn't work if one of the two names is defined through cheater syntax, but the other is not. (e.g., if Translator is entered into proper Zotero fields, but Editor is entered in Extra, they won't collapse into \"Ed. & Trans.\")--if both are in Extra, it works as expected.\r\n\r\n"}}
{"actor":{"display_login":"fbennett"}}