{"action":"closed","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2727","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2727/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2727/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2727/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/2727","id":163218242,"number":2727,"title":"LaTeX : Missing fontspec for xelatex compilation.","user":{"login":"kpym","id":3142701,"avatar_url":"https://avatars.githubusercontent.com/u/3142701?v=3","gravatar_id":"","url":"https://api.github.com/users/kpym","html_url":"https://github.com/kpym","followers_url":"https://api.github.com/users/kpym/followers","following_url":"https://api.github.com/users/kpym/following{/other_user}","gists_url":"https://api.github.com/users/kpym/gists{/gist_id}","starred_url":"https://api.github.com/users/kpym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpym/subscriptions","organizations_url":"https://api.github.com/users/kpym/orgs","repos_url":"https://api.github.com/users/kpym/repos","events_url":"https://api.github.com/users/kpym/events{/privacy}","received_events_url":"https://api.github.com/users/kpym/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/latex","name":"latex","color":"FFFFFF"},{"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-06-30T17:16:55Z","updated_at":"2016-07-04T11:32:21Z","closed_at":"2016-07-04T11:32:21Z","body":"The produced LaTeX file doesn't contains `fontspec` package and when it contains accent characters (like `è` for example) when compiled with `xelatex` this characters are missing.\r\n\r\nWe can see in the produced LaTeX file the following code: \r\n\r\n```\r\n\\ifPDFTeX\r\n  \\usepackage[utf8]{inputenc}\r\n\\fi\r\n```\r\n\r\nthat could be competed to: \r\n\r\n```\r\n\\ifPDFTeX\r\n  % --------------- PDFLaTeX ou LaTeX \r\n  \\usepackage[utf8]{inputenc}\r\n\\else\r\n  % --------------- XeLaTeX ou LuaLaTeX\r\n  \\usepackage{fontspec}\r\n\\fi \r\n```\r\n"}}
{"actor":{"display_login":"tk0miya"}}