{"action":"created","issue":{"url":"https://api.github.com/repos/ioi/translation/issues/1","repository_url":"https://api.github.com/repos/ioi/translation","labels_url":"https://api.github.com/repos/ioi/translation/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ioi/translation/issues/1/comments","events_url":"https://api.github.com/repos/ioi/translation/issues/1/events","html_url":"https://github.com/ioi/translation/issues/1","id":131283525,"number":1,"title":"LaTex doesn't compile in pdf","user":{"login":"mezun7","id":2029774,"avatar_url":"https://avatars.githubusercontent.com/u/2029774?v=3","gravatar_id":"","url":"https://api.github.com/users/mezun7","html_url":"https://github.com/mezun7","followers_url":"https://api.github.com/users/mezun7/followers","following_url":"https://api.github.com/users/mezun7/following{/other_user}","gists_url":"https://api.github.com/users/mezun7/gists{/gist_id}","starred_url":"https://api.github.com/users/mezun7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezun7/subscriptions","organizations_url":"https://api.github.com/users/mezun7/orgs","repos_url":"https://api.github.com/users/mezun7/repos","events_url":"https://api.github.com/users/mezun7/events{/privacy}","received_events_url":"https://api.github.com/users/mezun7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T09:02:52Z","updated_at":"2016-02-08T03:41:20Z","closed_at":null,"body":"Hi! Why LaTex is not compiling into pdf?\r\n<img width=\"866\" alt=\"2016-02-04 12 02 15\" src=\"https://cloud.githubusercontent.com/assets/2029774/12810406/2817093c-cb37-11e5-984b-261fbb7547dd.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/ioi/translation/issues/comments/181183571","html_url":"https://github.com/ioi/translation/issues/1#issuecomment-181183571","issue_url":"https://api.github.com/repos/ioi/translation/issues/1","id":181183571,"user":{"login":"myungwoo","id":9026019,"avatar_url":"https://avatars.githubusercontent.com/u/9026019?v=3","gravatar_id":"","url":"https://api.github.com/users/myungwoo","html_url":"https://github.com/myungwoo","followers_url":"https://api.github.com/users/myungwoo/followers","following_url":"https://api.github.com/users/myungwoo/following{/other_user}","gists_url":"https://api.github.com/users/myungwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/myungwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myungwoo/subscriptions","organizations_url":"https://api.github.com/users/myungwoo/orgs","repos_url":"https://api.github.com/users/myungwoo/repos","events_url":"https://api.github.com/users/myungwoo/events{/privacy}","received_events_url":"https://api.github.com/users/myungwoo/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T03:41:19Z","updated_at":"2016-02-08T03:41:19Z","body":"Replacing\r\nline 47, 48 of file views/tasks_preview.erb and\r\nline 52, 53 of file views/tasks_edit.erb to\r\n```\r\n  <script type=\"text/x-mathjax-config\">\r\n    MathJax.Hub.Config({\r\n        asciimath2jax: {\r\n            delimiters: [['\\\\(','\\\\)']]\r\n        },\r\n        messageStyle: 'none',\r\n        elements: ['content']//, 'mathSandbox']\r\n    });\r\n    MathJax.Hub.Register.StartupHook('AsciiMath Jax Ready', function() { \r\n        MathJax.InputJax.AsciiMath.AM.define('deg', '\\u00B0'); \r\n        MathJax.InputJax.AsciiMath.AM.define('ang', '\\u2220');\r\n        MathJax.InputJax.AsciiMath.AM.define('|-', '\\u22a2');\r\n        MathJax.InputJax.AsciiMath.AM.define('|=', '\\u22a8');\r\n        MathJax.InputJax.AsciiMath.AM.define('|_', '\\u230a');\r\n        MathJax.InputJax.AsciiMath.AM.define('_|', '\\u230b');\r\n    });\r\n    MathJax.Hub.Register.StartupHook('End', function() { \r\n        if (window.dojo) {\r\n            dojo.query('.mathjaxHidden').forEach(function (elem) {\r\n                dojo.removeClass(elem, 'mathjaxHidden');\r\n            });\r\n            dojo.query('.MathJax').parents('.choice').forEach(function (elem) {\r\n                dojo.addClass(elem, 'hasMath');\r\n            });\r\n        } else if (document.querySelector) {\r\n            \r\n            Array.prototype.slice.call(document.querySelectorAll('.MathJax')).forEach(function (elem) { \r\n                if (elem.parentNode.classList.contains('choice')) {\r\n                    elem.parentNode.classList.add('hasMath'); \r\n                }\r\n            });\r\n        }\r\n    });\r\n    MathJax.InputJax.AsciiMath.postfilterHooks.Add(function (data) {\r\n        var recur = function (node) {\r\n            var numChildren = node.childNodes.length;\r\n            var i, curr;\r\n            for (i = 0; i < numChildren; i++) {\r\n                curr = node.childNodes[i];\r\n                if (curr.nodeName === 'mtable') {\r\n                    curr.columnalign = 'right';\r\n                }\r\n                if (curr.childNodes) {\r\n                    recur(curr);\r\n                }\r\n            }\r\n        };\r\n        recur(data.math.root);\r\n    });\r\n</script>\r\n  <script type=\"text/javascript\" src=\"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full\"></script>\r\n```\r\n\r\nworks for me. :+1: \r\nI don't know how to use github stuff. So I'll just post solution for the issue here."}}