mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX, rename some internal temporary macro in \sphinxtableofcontents
This commit is contained in:
parent
da90d63e32
commit
6ce5d9ae97
@ -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}{%
|
||||
|
Loading…
Reference in New Issue
Block a user