{"action":"created","issue":{"url":"https://api.github.com/repos/DynareTeam/dynare/issues/263","repository_url":"https://api.github.com/repos/DynareTeam/dynare","labels_url":"https://api.github.com/repos/DynareTeam/dynare/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/DynareTeam/dynare/issues/263/comments","events_url":"https://api.github.com/repos/DynareTeam/dynare/issues/263/events","html_url":"https://github.com/DynareTeam/dynare/issues/263","id":11243402,"number":263,"title":"latex variable with exponent causes compilation error","user":{"login":"sebastien-villemot","id":586809,"avatar_url":"https://avatars.githubusercontent.com/u/586809?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastien-villemot","html_url":"https://github.com/sebastien-villemot","followers_url":"https://api.github.com/users/sebastien-villemot/followers","following_url":"https://api.github.com/users/sebastien-villemot/following{/other_user}","gists_url":"https://api.github.com/users/sebastien-villemot/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastien-villemot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastien-villemot/subscriptions","organizations_url":"https://api.github.com/users/sebastien-villemot/orgs","repos_url":"https://api.github.com/users/sebastien-villemot/repos","events_url":"https://api.github.com/users/sebastien-villemot/events{/privacy}","received_events_url":"https://api.github.com/users/sebastien-villemot/received_events","type":"User","site_admin":false},"labels":[{"id":28295260,"url":"https://api.github.com/repos/DynareTeam/dynare/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"houtanb","id":584723,"avatar_url":"https://avatars.githubusercontent.com/u/584723?v=3","gravatar_id":"","url":"https://api.github.com/users/houtanb","html_url":"https://github.com/houtanb","followers_url":"https://api.github.com/users/houtanb/followers","following_url":"https://api.github.com/users/houtanb/following{/other_user}","gists_url":"https://api.github.com/users/houtanb/gists{/gist_id}","starred_url":"https://api.github.com/users/houtanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtanb/subscriptions","organizations_url":"https://api.github.com/users/houtanb/orgs","repos_url":"https://api.github.com/users/houtanb/repos","events_url":"https://api.github.com/users/houtanb/events{/privacy}","received_events_url":"https://api.github.com/users/houtanb/received_events","type":"User","site_admin":false},"assignees":[{"login":"houtanb","id":584723,"avatar_url":"https://avatars.githubusercontent.com/u/584723?v=3","gravatar_id":"","url":"https://api.github.com/users/houtanb","html_url":"https://github.com/houtanb","followers_url":"https://api.github.com/users/houtanb/followers","following_url":"https://api.github.com/users/houtanb/following{/other_user}","gists_url":"https://api.github.com/users/houtanb/gists{/gist_id}","starred_url":"https://api.github.com/users/houtanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtanb/subscriptions","organizations_url":"https://api.github.com/users/houtanb/orgs","repos_url":"https://api.github.com/users/houtanb/repos","events_url":"https://api.github.com/users/houtanb/events{/privacy}","received_events_url":"https://api.github.com/users/houtanb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2013-02-21T14:48:28Z","updated_at":"2016-12-02T13:39:57Z","closed_at":null,"body":"See: http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3846\n\nQuick fix is to require users to place brackets around latex \nvariables containing exponents (and probably underscores)\n\nComplete fix is to place braces around variables with lead/lags and those variables with no lead/lag but that are followed by an exponent. In the user's case, we would output: B^problem_t-1^\\rho\n"},"comment":{"url":"https://api.github.com/repos/DynareTeam/dynare/issues/comments/264455828","html_url":"https://github.com/DynareTeam/dynare/issues/263#issuecomment-264455828","issue_url":"https://api.github.com/repos/DynareTeam/dynare/issues/263","id":264455828,"user":{"login":"JohannesPfeifer","id":3679304,"avatar_url":"https://avatars.githubusercontent.com/u/3679304?v=3","gravatar_id":"","url":"https://api.github.com/users/JohannesPfeifer","html_url":"https://github.com/JohannesPfeifer","followers_url":"https://api.github.com/users/JohannesPfeifer/followers","following_url":"https://api.github.com/users/JohannesPfeifer/following{/other_user}","gists_url":"https://api.github.com/users/JohannesPfeifer/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesPfeifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesPfeifer/subscriptions","organizations_url":"https://api.github.com/users/JohannesPfeifer/orgs","repos_url":"https://api.github.com/users/JohannesPfeifer/repos","events_url":"https://api.github.com/users/JohannesPfeifer/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesPfeifer/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T13:39:57Z","updated_at":"2016-12-02T13:39:57Z","body":"@houtanb The first one should become `{{C_a}_{C_bc}}`, i.e. no slash should be introduced. Also, I don't see why this should not compile.\r\n\r\nThe second one is not supposed to compile. It is the user's duty to make sure that the LaTeX expression provided is a valid one. If the user provides an invalid expression that already has double subscripts as in the example,, we cannot fix this. We should only make sure that if there already is a proper subscript, we don't break compilation by adding another subscript"}}
{"actor":{"display_login":"JohannesPfeifer"}}