{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/rticles/issues/55","labels_url":"https://api.github.com/repos/rstudio/rticles/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rticles/issues/55/comments","events_url":"https://api.github.com/repos/rstudio/rticles/issues/55/events","html_url":"https://github.com/rstudio/rticles/issues/55","id":122747238,"number":55,"title":"PLoS template mfailing with \\citep","user":{"login":"sguyader","id":13856378,"avatar_url":"https://avatars.githubusercontent.com/u/13856378?v=3","gravatar_id":"","url":"https://api.github.com/users/sguyader","html_url":"https://github.com/sguyader","followers_url":"https://api.github.com/users/sguyader/followers","following_url":"https://api.github.com/users/sguyader/following{/other_user}","gists_url":"https://api.github.com/users/sguyader/gists{/gist_id}","starred_url":"https://api.github.com/users/sguyader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sguyader/subscriptions","organizations_url":"https://api.github.com/users/sguyader/orgs","repos_url":"https://api.github.com/users/sguyader/repos","events_url":"https://api.github.com/users/sguyader/events{/privacy}","received_events_url":"https://api.github.com/users/sguyader/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T14:41:46Z","updated_at":"2015-12-17T14:41:46Z","closed_at":null,"body":"I tried to knit the PLoS template in RStudio, but it failed with the following error in the R Markdown output console:\r\n```\r\noutput file: Untitled.knit.md\r\n! Undefined control sequence.\r\nl.114 Cite fancy references \\citep     \r\n                                       {Garnier2007}.\r\n```\r\nI think it is because there should be \\usepackage{natbib} in the template.tex, but there is none.\r\nWhen adding this line to template.tex, it compiles and produces the expected result."}}