mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
latex: Use \refname if \bibname not defined in sphinxhowto.cls
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
% so no page break before it.
|
||||
\newenvironment{sphinxthebibliography}[1]{%
|
||||
\begin{thebibliography}{1}%
|
||||
\addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}}
|
||||
\addcontentsline{toc}{section}{\ifdefined\refname\refname\else\ifdefined\bibname\bibname\fi\fi}}{\end{thebibliography}}
|
||||
|
||||
|
||||
% Same for the indices.
|
||||
|
||||
Reference in New Issue
Block a user