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.
|
% ``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}{%
|
||||||
|
Loading…
Reference in New Issue
Block a user