Merge pull request #5771 from jfbu/latex_fix_broken_contentsname

Fix regression regarding LaTeX table of contents name (refs: #5683)
This commit is contained in:
Takeshi KOMIYA 2018-12-17 21:35:12 +09:00 committed by GitHub
commit d8e6c799be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -682,6 +682,7 @@ class LaTeXTranslator(SphinxTranslator):
minsecnumdepth
contentsname = self.settings.contentsname
if contentsname:
self.elements['contentsname'] = self.babel_renewcommand('\\contentsname',
contentsname)