PDF のハイパーリファレンスタイトルページの問題

PDF のハイパーリファレンスタイトルページの問題

を使用する場合hyperref、タイトル ページは の 1 番になりpdf、2 ページ目は のページ番号 1 になりますpdf

ここに画像の説明を入力してください

ここに画像の説明を入力してください

これを防ぐにはどうしたらいいでしょうか?

  \documentclass[12pt]{article}
\usepackage[utf8]{inputenc} 
\usepackage[portuguese]{babel}

\usepackage[binary-units=true]{siunitx} 
\usepackage{graphicx} 
\usepackage{caption}
\usepackage{subfigure}
\usepackage{float}
\usepackage{fixltx2e} %\textsubscript{}
\usepackage{multirow}


\usepackage{amsmath}



\usepackage[margin=30mm,hmarginratio=1:1,top=32mm,columnsep=10pt]{geometry} % Document margins
\usepackage{hyperref}

\begin{document}

\begin{titlepage} 

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here

\center % Center everything on the page

%----------------------------------------------------------------------------------------
%   HEADING SECTIONS
%----------------------------------------------------------------------------------------

\textsc{\LARGE some text}\\[1.5cm] % Name of your university/college
\textsc{\Large some text}\\[0.5cm] % Major heading such as course name
\textsc{\large some text}\\[0.5cm] % Minor heading such as course title

%----------------------------------------------------------------------------------------
%   TITLE SECTION
%----------------------------------------------------------------------------------------

\HRule \\[0.4cm]
{ \huge \bfseries some text}\\[0.4cm] % Title of your document
\HRule \\[1.5cm]

%----------------------------------------------------------------------------------------
%   AUTHOR SECTION
%----------------------------------------------------------------------------------------

% If you don't want a supervisor, uncomment the two lines below and remove the section above
\Large \emph{some text \\some text}\\ [30mm]
%\textsc{}\\[3cm] % Your name

%----------------------------------------------------------------------------------------
%   DATE SECTION
%----------------------------------------------------------------------------------------

{\large \today}\\[2cm] % Date, change the \today to a set date if you want to be precise

%----------------------------------------------------------------------------------------
%   LOGO SECTION
%----------------------------------------------------------------------------------------

%\includegraphics[width=50mm,keepaspectratio]{}\\[0.5cm] % Include a department/university logo - this will require the graphicx package

%----------------------------------------------------------------------------------------

\vfill % Fill the rest of the page with whitespace
\end{titlepage}

\section{Intro}

some text  some text  some text some text

\section{2}

\newpage
\section{3}
\end{document}

答え1

タイトル ページにページ番号が表示されない場合は、を再定義して、たとえばまたは のよう\thepageに別のものを表示できます。1Title0

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{titlepage}
\renewcommand*{\thepage}{Title}
My Title.
\end{titlepage}
\section{Introduction}
\end{document}

ページ番号がタイトル ページに表示される場合は、別のインターフェイスを使用できます。\thispdfpagelabel現在のページのページ ラベルを設定します。\hypersetup{pageanchor=false}グループ内では、環境内の自動ページ アンカーが無効になり、重複する宛先エラーが防止されます。

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{titlepage}
\thispdfpagelabel{Title}
\hypersetup{pageanchor=false}
My Title.
\end{titlepage}
\section{Introduction}
\end{document}

関連情報