{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/3969","repository_url":"https://api.github.com/repos/jgm/pandoc","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/3969/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/3969/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/3969/events","html_url":"https://github.com/jgm/pandoc/issues/3969","id":264808873,"node_id":"MDU6SXNzdWUyNjQ4MDg4NzM=","number":3969,"title":"Context output ignores raw_tex when it is alone in a paragraph","user":{"login":"PeterDavidson","id":1904596,"node_id":"MDQ6VXNlcjE5MDQ1OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1904596?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterDavidson","html_url":"https://github.com/PeterDavidson","followers_url":"https://api.github.com/users/PeterDavidson/followers","following_url":"https://api.github.com/users/PeterDavidson/following{/other_user}","gists_url":"https://api.github.com/users/PeterDavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDavidson/subscriptions","organizations_url":"https://api.github.com/users/PeterDavidson/orgs","repos_url":"https://api.github.com/users/PeterDavidson/repos","events_url":"https://api.github.com/users/PeterDavidson/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDavidson/received_events","type":"User","site_admin":false},"labels":[{"id":509565226,"node_id":"MDU6TGFiZWw1MDk1NjUyMjY=","url":"https://api.github.com/repos/jgm/pandoc/labels/format:ConTeXt","name":"format:ConTeXt","color":"c2e0c6","default":false},{"id":484597970,"node_id":"MDU6TGFiZWw0ODQ1OTc5NzA=","url":"https://api.github.com/repos/jgm/pandoc/labels/writer","name":"writer","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-12T04:14:49Z","updated_at":"2018-08-14T14:17:18Z","closed_at":null,"author_association":"NONE","body":"I have just updated to the latest (source) version of pandoc and have found that since V 1.19.2.1 the treatment of raw_tex has changed.\r\n\r\nIt seems that a tex command on a line of its own is now ignored in context, but if anything else is on the line then it is included.\r\n\r\nIf I build the file (test.md)\r\n\r\n```\r\n\\placefloats\r\n\r\n\\placefloats\r\n\r\nHere \\placefloats \r\n\r\n```\r\n\r\nwith \r\n\r\n```\r\npandoc.exe -f markdown+raw_tex+latex_macros -t context -o test.tex test.md\r\n```\r\n\r\nI get\r\n```\r\nHere \\placefloats \r\n```\r\n\r\nWhen I run it using V 1.19.2.1 I get\r\n\r\n```\r\n\\placefloats\r\n\r\n\\placefloats\r\n\r\nHere \\placefloats\r\n```\r\nas I would expect. The latex writer does include them and the RawInline elements are visible in the json output so it seems that it is a problem with the context writer.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/412887634","html_url":"https://github.com/jgm/pandoc/issues/3969#issuecomment-412887634","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/3969","id":412887634,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjg4NzYzNA==","user":{"login":"cacology","id":8105529,"node_id":"MDQ6VXNlcjgxMDU1Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/8105529?v=4","gravatar_id":"","url":"https://api.github.com/users/cacology","html_url":"https://github.com/cacology","followers_url":"https://api.github.com/users/cacology/followers","following_url":"https://api.github.com/users/cacology/following{/other_user}","gists_url":"https://api.github.com/users/cacology/gists{/gist_id}","starred_url":"https://api.github.com/users/cacology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cacology/subscriptions","organizations_url":"https://api.github.com/users/cacology/orgs","repos_url":"https://api.github.com/users/cacology/repos","events_url":"https://api.github.com/users/cacology/events{/privacy}","received_events_url":"https://api.github.com/users/cacology/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T14:17:18Z","updated_at":"2018-08-14T14:17:18Z","author_association":"NONE","body":"Wondering about this. I've been using PeterDavidson's filter for awhile now (thank you!) and discovered this issue repeats for org input as well. I.e.\r\n\r\ntest.org:\r\n```\r\n#+TITLE: Org Test\r\n* Top Level \\placefloats\r\n\\placefloats\r\n\r\nText \\placefloats\r\n```\r\n\r\nCalling `pandoc -f org+raw_tex -t context --filter context-filter.py test.org` (`context-filter.py` is just the filter above) gives:\r\n```\r\n\\section[title={Top Level },reference={top-level}]\r\n\r\nText\r\n```\r\n\r\nwhereas, `pandoc -f org+raw_tex -t latex test.org gives:\r\n```\r\n\\hypertarget{top-level}{%\r\n\\section{\\texorpdfstring{Top Level\r\n\\placefloats}{Top Level }}\\label{top-level}}\r\n\r\n\\placefloats\r\n\r\nText \\placefloats\r\n```"}}
{"actor":{"display_login":"cacology"}}