I'm trying to use pdfTeX to bring together several PDF documents and use the bookmarks feature of Adobe/Preview to supply a hyperlinking structure in a sidebar window. When I try this with multiple PDF files at multiple levels of indentation, the hyperlinking structure "works", but some of the links aim too low! Check out the following:
\documentclass[11pt]{article}%
\usepackage{pdfpages}%
\usepackage{bookmark}%
\begin{document}%
\pdfbookmark[1]{Test 0}{test0}%
\includepdf[pages={-},link,linkname=test0,linkfit=FitH]{Testpdf0.pdf}%
\pdfbookmark[2]{Test 1}{test1}%
\includepdf[pages={-},link,linkname=test1,linkfit=FitH]{Testpdf1.pdf}%
\pdfbookmark[3]{Test 2}{test2}%
\includepdf[pages={-},link,linkname=test2,linkfit=FitH]{Testpdf2.pdf}%
\pdfbookmark[1]{Test 3}{test3}%
\includepdf[pages={-},link,linkname=test3,linkfit=FitH]{Testpdf3.pdf}%
\end{document}%
Use your favorite PDF files for Testpdf files 0, 1, 2 and 3. Compile this and then open the resulting document in either Adobe Reader or Preview and click on the bookmarks. The bookmarks for Test 0 and Test 3 work fine -- you can see the top 1.5 cm of your document -- which is what I want. However the bookmarks Test 1 and Test 2 aim too low cutting off the top of each of these pages. Any ideas how to fix this behavior? (Is it intentional?)
I'm preparing an important document and I do not want to annoy my reader (or they won't be incline to decide in my favor)!