{"action":"opened","issue":{"url":"https://api.github.com/repos/gpoore/minted/issues/66","labels_url":"https://api.github.com/repos/gpoore/minted/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/gpoore/minted/issues/66/comments","events_url":"https://api.github.com/repos/gpoore/minted/issues/66/events","html_url":"https://github.com/gpoore/minted/issues/66","id":57778884,"number":66,"title":"Minted fails to process multiline C/C++ macros because of backslash in code if is used by \\newminted","user":{"login":"LDVSOFT","id":5804255,"avatar_url":"https://avatars.githubusercontent.com/u/5804255?v=3","gravatar_id":"","url":"https://api.github.com/users/LDVSOFT","html_url":"https://github.com/LDVSOFT","followers_url":"https://api.github.com/users/LDVSOFT/followers","following_url":"https://api.github.com/users/LDVSOFT/following{/other_user}","gists_url":"https://api.github.com/users/LDVSOFT/gists{/gist_id}","starred_url":"https://api.github.com/users/LDVSOFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LDVSOFT/subscriptions","organizations_url":"https://api.github.com/users/LDVSOFT/orgs","repos_url":"https://api.github.com/users/LDVSOFT/repos","events_url":"https://api.github.com/users/LDVSOFT/events{/privacy}","received_events_url":"https://api.github.com/users/LDVSOFT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T08:57:48Z","updated_at":"2015-02-16T08:57:48Z","closed_at":null,"body":"I have tried to typeset multiline macro and it failed. The example is:\r\n\r\n    \\documentclass{article}\r\n    \\usepackage{minted}\r\n    \r\n    \\newminted{cpp}\r\n    \r\n    \\begin{document}\r\n    \r\n    \\begin{cppcode}\r\n    #define I \\\r\n    am multiline \\\r\n    define\r\n    \\end{cppcode}\r\n    \r\n    \\end{document}\r\n\r\nThe error is:\r\n\r\n    ! Missing \\endcsname inserted.\r\n    <to be read again> \r\n                       \\par \r\n    l.8 \\begin{cppcode}\r\n\r\nWorks fine when using `\\begin{minted}{cpp}`, though!\r\n\r\nThere are no cached output in _minted... directory, only default.pygstyle. I am using 2.0 version. Nothing interesting in log file. I tested on xelatex engine, but, as I think, it should not matter."}}