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