LaTeX, rename some internal temporary macro in \sphinxtableofcontents

This commit is contained in:
jfbu 2018-12-22 18:27:38 +01:00
parent da90d63e32
commit 6ce5d9ae97

View File

@ -34,8 +34,8 @@
% ``Bjarne'' style a bit better.
%
\renewcommand{\maketitle}{%
\let\spx@tempa\relax
\ifHy@pageanchor\def\spx@tempa{\Hy@pageanchortrue}\fi
\let\sphinxrestorepageanchorsetting\relax
\ifHy@pageanchor\def\sphinxrestorepageanchorsetting{\Hy@pageanchortrue}\fi
\hypersetup{pageanchor=false}% avoid duplicate destination warnings
\begin{titlepage}%
\let\footnotesize\small
@ -70,7 +70,7 @@
\let\thanks\relax\let\maketitle\relax
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
\if@openright\cleardoublepage\else\clearpage\fi
\spx@tempa
\sphinxrestorepageanchorsetting
}
\newcommand{\sphinxtableofcontents}{%