{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3069","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3069/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3069/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3069/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/3069","id":184023987,"number":3069,"title":"Even if ``'babel'`` key is set to empty string, LaTeX output contains one `\\addto\\captions...` ","user":{"login":"jfbu","id":2589111,"avatar_url":"https://avatars.githubusercontent.com/u/2589111?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbu","html_url":"https://github.com/jfbu","followers_url":"https://api.github.com/users/jfbu/followers","following_url":"https://api.github.com/users/jfbu/following{/other_user}","gists_url":"https://api.github.com/users/jfbu/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbu/subscriptions","organizations_url":"https://api.github.com/users/jfbu/orgs","repos_url":"https://api.github.com/users/jfbu/repos","events_url":"https://api.github.com/users/jfbu/events{/privacy}","received_events_url":"https://api.github.com/users/jfbu/received_events","type":"User","site_admin":false},"labels":[{"id":162407993,"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/bug","name":"bug","color":"a11d21","default":true},{"id":162416101,"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/latex","name":"latex","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars.githubusercontent.com/u/748828?v=3","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"assignees":[{"login":"tk0miya","id":748828,"avatar_url":"https://avatars.githubusercontent.com/u/748828?v=3","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16","html_url":"https://github.com/sphinx-doc/sphinx/milestones/1.5","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16/labels","id":1554808,"number":16,"title":"1.5","description":"Rough release plan\r\n* Sphinx-1.5a1: middle of Sept.\r\n* Sphinx-1.5a2: end of Oct.\r\n* Sphinx-1.5b1: middle of Nov.\r\n* Sphinx-1.5-final: end of Nov. or middle of Dec.\r\n\r\nhttps://groups.google.com/forum/#!topic/sphinx-dev/QikqSL0anqo","creator":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":191,"state":"open","created_at":"2016-02-01T07:37:34Z","updated_at":"2016-11-05T12:35:36Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":6,"created_at":"2016-10-19T17:21:41Z","updated_at":"2016-11-05T12:44:46Z","closed_at":null,"body":"On the other hand it does only `\\renewcommand` on `\\figurename` etc...\n\nPerhaps https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/latex.py#L434 is the culprit, I don't know why https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/latex.py#L542 doesn't have the intended effect.\n\nTypical output in latex with `'babel': ''`, in `latex_elements`\n\n``` latex\n% Set up styles of URL: it should be placed after hyperref.\n\\urlstyle{same}\n\\addto\\captionsenglish{\\renewcommand{\\contentsname}{Contents:}}\n\n\\renewcommand{\\figurename}{Fig.\\@ }\n\\renewcommand{\\tablename}{Table }\n\\renewcommand{\\literalblockname}{Listing }\n\n\\def\\pageautorefname{page}\n```\n\nand with no change to `'babel'` one gets \n\n``` latex\n% Set up styles of URL: it should be placed after hyperref.\n\\urlstyle{same}\n\\addto\\captionsenglish{\\renewcommand{\\contentsname}{Contents:}}\n\n\\addto\\captionsenglish{\\renewcommand{\\figurename}{Fig.\\@ }}\n\\addto\\captionsenglish{\\renewcommand{\\tablename}{Table }}\n\\addto\\captionsenglish{\\renewcommand{\\literalblockname}{Listing }}\n\n\\addto\\extrasenglish{\\def\\pageautorefname{page}}\n```\n\nThis was tested with `language = None` and \"howto\" docclass.\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/258609302","html_url":"https://github.com/sphinx-doc/sphinx/issues/3069#issuecomment-258609302","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3069","id":258609302,"user":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars.githubusercontent.com/u/748828?v=3","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T12:44:46Z","updated_at":"2016-11-05T12:44:46Z","body":"Okay, never mind :-)"}}
{"actor":{"display_login":"tk0miya"}}