diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2023-07-07 21:06:28 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-07-07 09:29:10 -0700 |
commit | 59f5d250c85d4892f89b6da02862429dbfd36f91 (patch) | |
tree | 311ac2dcd6c84be8cbbb52b0864b88d40dd21cca | |
parent | 1063ddafb476eea8bf847641846f6cbc533081d0 (diff) | |
download | perfbook-59f5d250c85d4892f89b6da02862429dbfd36f91.tar.gz |
Prevent warning of duplicate page identifier in Ebook-size builds
In Ebook-size builds, pdfTeX complains:
pdfTeX warning (ext4): destination with the same identifier
(name{page.i}) has been already used, duplicate ignored
As a workaround, disable pageanchor of hyperef for titlepage in
Ebook-size builds.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | perfbook-lt.tex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perfbook-lt.tex b/perfbook-lt.tex index af60f6f2..4c8870a1 100644 --- a/perfbook-lt.tex +++ b/perfbook-lt.tex @@ -641,7 +641,10 @@ \frontmatter +\IfEbookSize{\hypersetup{pageanchor=false}}{} \maketitle +\IfEbookSize{\hypersetup{pageanchor=true}}{} + \IfTwoColumn{ \onecolumn\begin{adjustwidth*}{.95in}{.8in} \addtolength{\parindent}{6pt} |