I'm trying to add Bookmarks with titles using the following command:
pdftk A.pdf update_info metadata.txt output B.pdf
When I check B.pdf's metadata, using pdftk B.pdf data_dump output metadata_B.txt
, I see the lines I added:
BookmarkBegin
BookmarkTitle: title
BookmarkLevel: 1
BookmarkPageNumber: 1
But no bookmarks are shown when I open the file in Preview of macOS.