[PATCH -perfbook 2/7] Prevent warning of duplicate page identifier in Ebook-size builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 perfbook-lt.tex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index af60f6f2388f..4c8870a135d9 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}
-- 
2.25.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux