{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/2438","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/2438/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/2438/events","html_url":"https://github.com/jgm/pandoc/issues/2438","id":110152301,"number":2438,"title":"Conversion of W3C documents: Support of section as href targets","user":{"login":"koppor","id":1366654,"avatar_url":"https://avatars.githubusercontent.com/u/1366654?v=3","gravatar_id":"","url":"https://api.github.com/users/koppor","html_url":"https://github.com/koppor","followers_url":"https://api.github.com/users/koppor/followers","following_url":"https://api.github.com/users/koppor/following{/other_user}","gists_url":"https://api.github.com/users/koppor/gists{/gist_id}","starred_url":"https://api.github.com/users/koppor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppor/subscriptions","organizations_url":"https://api.github.com/users/koppor/orgs","repos_url":"https://api.github.com/users/koppor/repos","events_url":"https://api.github.com/users/koppor/events{/privacy}","received_events_url":"https://api.github.com/users/koppor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-07T04:57:57Z","updated_at":"2015-10-07T22:54:47Z","closed_at":null,"body":"I'm trying to convert W3C documents such as http://www.w3.org/TR/DOM-Parsing/ to HTML.\r\n\r\nThe produced latex file when calling\r\n\r\n    pandoc http://www.w3.org/TR/DOM-Parsing/ --standalone -o test.tex\r\n\r\nis not working as expected: `pdflatex test` fails.\r\n\r\nI know, that this report is not a [MCVE](http://stackoverflow.com/help/mcve), but maybe someone can take over and track down the issue more precisely. Otherwise, just close the issue.\r\n\r\nIn the following, I list the issues I identified.\r\n\r\n## section as target\r\n\r\nThe document uses `<section>` tags to structure the document.\r\nThe `href`s of the TOC jumps to these sections. \r\nThis is not properly converted in pandoc:\r\n\r\n    \\subsection{\\texorpdfstring{{1.\r\n    }Conformance}{1. Conformance}}\\label{h2ux5fconformance}\r\n\r\n## spurious includegraphics\r\n\r\nLine 78 shows an `\\includegraphics` in `\\href`:\r\n\r\n    \\href{http://www.w3.org/}{\\includegraphics{https://www.w3.org/Icons/w3c_home}}\r\n\r\n##  LaTeX Error: Too deeply nested.\r\n\r\nThe [quick fix suggested by so](http://stackoverflow.com/a/13120787/873282) doesn't help.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/146356148","html_url":"https://github.com/jgm/pandoc/issues/2438#issuecomment-146356148","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/2438","id":146356148,"user":{"login":"koppor","id":1366654,"avatar_url":"https://avatars.githubusercontent.com/u/1366654?v=3","gravatar_id":"","url":"https://api.github.com/users/koppor","html_url":"https://github.com/koppor","followers_url":"https://api.github.com/users/koppor/followers","following_url":"https://api.github.com/users/koppor/following{/other_user}","gists_url":"https://api.github.com/users/koppor/gists{/gist_id}","starred_url":"https://api.github.com/users/koppor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppor/subscriptions","organizations_url":"https://api.github.com/users/koppor/orgs","repos_url":"https://api.github.com/users/koppor/repos","events_url":"https://api.github.com/users/koppor/events{/privacy}","received_events_url":"https://api.github.com/users/koppor/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T22:54:47Z","updated_at":"2015-10-07T22:54:47Z","body":"```pandoc 1.15.0.6 Compiled with texmath 0.8.2.2, highlighting-kate 0.6.``` on Windows 10."}}