Merge pull request #3051 from jfbu/betterfixforduplicatedestinationwarning

(latex) avoid in a better way duplicate name page.1 hyperref warning
This commit is contained in:
Jean-François B 2016-10-14 08:21:36 +02:00 committed by GitHub
commit 28d6e34bb3

View File

@ -41,6 +41,7 @@
%
\renewcommand{\maketitle}{%
\begin{titlepage}%
\hypersetup{pageanchor=false}% avoid duplicate destination page.1 warning
\let\footnotesize\small
\let\footnoterule\relax
\noindent\rule{\textwidth}{1pt}\ifsphinxpdfoutput\newline\null\fi\par
@ -96,7 +97,6 @@
\pagenumbering{arabic}%
\ifdefined\fancyhf\pagestyle{normal}\fi
}
\pagenumbering{alph}% avoid hyperref "duplicate destination" warnings
% This is needed to get the width of the section # area wide enough in the
% library reference. Doing it here keeps it the same for all the manuals.