When merging PDFs that have exactly the same bookmark defined in level0 (for instance, the book title), this bookmarks will not be merged in the final document. Instead, for every merged-in document, the bookmark is reproduced in the final document. Example:
PDF1 contains the following bookmarks:
/MyBookTitle
/Chapter1
/Section1
/Section2
PDF2 contains the following bookmarks:
/MyBookTitle
/Chapter2
/Section1
/Section2
The merged document now contains the following bookmarks (please note that /MyBookTitle appears twice):
/MyBookTitle
/Chapter1
/Section1
/Section2
/MyBookTitle
/Chapter2
/Section1
/Section2
But instead, the correctly merged bookmarks would look like the following:
/MyBookTitle
/Chapter1
/Section1
/Section2
/Chapter2
/Section1
/Section2
I propose to merge adjacent bookmarks with the same text and the same level.
(OS: Windows XPSP3, PdfSam 2.2.1)