{"action":"opened","issue":{"url":"https://api.github.com/repos/vafa/bidi/issues/2","repository_url":"https://api.github.com/repos/vafa/bidi","labels_url":"https://api.github.com/repos/vafa/bidi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/vafa/bidi/issues/2/comments","events_url":"https://api.github.com/repos/vafa/bidi/issues/2/events","html_url":"https://github.com/vafa/bidi/issues/2","id":191502147,"number":2,"title":"Implement user macros for checking direction and language","user":{"login":"vafa","id":23310551,"avatar_url":"https://avatars.githubusercontent.com/u/23310551?v=3","gravatar_id":"","url":"https://api.github.com/users/vafa","html_url":"https://github.com/vafa","followers_url":"https://api.github.com/users/vafa/followers","following_url":"https://api.github.com/users/vafa/following{/other_user}","gists_url":"https://api.github.com/users/vafa/gists{/gist_id}","starred_url":"https://api.github.com/users/vafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vafa/subscriptions","organizations_url":"https://api.github.com/users/vafa/orgs","repos_url":"https://api.github.com/users/vafa/repos","events_url":"https://api.github.com/users/vafa/events{/privacy}","received_events_url":"https://api.github.com/users/vafa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T11:55:50Z","updated_at":"2016-11-24T11:55:50Z","closed_at":null,"body":"Currently, the `bidi` package offers `\\if@RTL` and `\\if@nonlatin` booleans for cheking direction and language. These two booleans are internal so there should be some user interface to these as well\r\n\r\n- `\\ifRtoL{<true>}{<false>}` should expand to `<true>` if we are in the right to left mode and to `<false>` if we are in the left to right mode.\r\n\r\n- `\\ifLtoR{<true>}{<false>}` (reverse of `\\ifRtoL`)\r\n\r\n- `\\iflatin{<true>}{<false>}` should expand to `<true>` if we are in the latin mode and to `<false>` if we are in the non-latin mode.\r\n\r\n- `ifnonlatin{<true>}{<false>}` (reverse of `\\iflatin`)"}}
{"actor":{"display_login":"vafa"}}