{"action":"created","issue":{"url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/128","repository_url":"https://api.github.com/repos/kaushalmodi/ox-hugo","labels_url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/128/comments","events_url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/128/events","html_url":"https://github.com/kaushalmodi/ox-hugo/issues/128","id":294089176,"number":128,"title":"problem about supporting latex equation ","user":{"login":"emacsun","id":4170876,"avatar_url":"https://avatars1.githubusercontent.com/u/4170876?v=4","gravatar_id":"","url":"https://api.github.com/users/emacsun","html_url":"https://github.com/emacsun","followers_url":"https://api.github.com/users/emacsun/followers","following_url":"https://api.github.com/users/emacsun/following{/other_user}","gists_url":"https://api.github.com/users/emacsun/gists{/gist_id}","starred_url":"https://api.github.com/users/emacsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emacsun/subscriptions","organizations_url":"https://api.github.com/users/emacsun/orgs","repos_url":"https://api.github.com/users/emacsun/repos","events_url":"https://api.github.com/users/emacsun/events{/privacy}","received_events_url":"https://api.github.com/users/emacsun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-03T06:36:05Z","updated_at":"2018-02-03T12:29:16Z","closed_at":null,"author_association":"NONE","body":"Hi @kaushalmodi ,\r\n\r\nRecently, I want to add some latex equations into my post, such as:\r\n\r\n\\begin{equation}\r\n\\label{eq:1}\r\nC = W\\log_{2} (1+\\mathrm{SNR})\r\n\\end{equation}\r\n\r\nwhen there are no white space before the first character of the four lines, the ox-hugo works perfect. However when there are white space (auto indent in Org mode) before the first character, ox-hugo will treat the equation as code and convert the fourline literately. \r\n\r\ni.e. \r\n    \\begin{equation}\r\n    \\label{eq:1}\r\n    C = W\\log_{2} (1+\\mathrm{SNR})\r\n    \\end{equation}\r\n\r\nwill be treated as code. However, \r\n\r\n\\begin{equation}\r\n\\label{eq:1}\r\nC = W\\log_{2} (1+\\mathrm{SNR})\r\n\\end{equation}\r\n  \r\nwill be treated as latex equation. The main differences lie in the space before the beginning of each line.\r\n\r\nI check the output *.md file and find the difference.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/comments/362802727","html_url":"https://github.com/kaushalmodi/ox-hugo/issues/128#issuecomment-362802727","issue_url":"https://api.github.com/repos/kaushalmodi/ox-hugo/issues/128","id":362802727,"user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars2.githubusercontent.com/u/3578197?v=4","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T12:29:16Z","updated_at":"2018-02-03T12:29:16Z","author_association":"OWNER","body":"The 2nd and 3rd equation snippets look the exact same. \r\n\r\nCan you please provide a minimum working example of an Org file that shows this issue? Also provide the generated Markdown file.  You can simply commit those files to a test repo, and share that, or upload those to something like a gist or pastebin. "}}
{"actor":{"display_login":"kaushalmodi"}}