mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
latex: Use \refname if \bibname not defined in sphinxhowto.cls
This commit is contained in:
parent
a79ea0fa95
commit
68de92042f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user