Hi, all Extract PDFmark can extract page mode and named destinations as PDFmark from PDF. By using this you can get the small PDF files that have preserved them.
Ubuntu has this package: http://packages.ubuntu.com/zesty/extractpdfmark (Also Debian stretch has it: https://packages.debian.org/stretch/extractpdfmark ) extractpdfmark-1.0.2-1.hint: category: Publishing Utils requires: cygwin libgcc1 libpoppler66 libstdc++6 sdesc: "Extract page mode and named destinations as PDFmark from PDF" ldesc: "Extract PDFmark is able to extract page mode and named destinations as PDFmark from PDF. By using this you can get the small PDF files that have preserved them." extractpdfmark-debuginfo-1.0.2-1.hint: category: Debug requires: cygwin-debuginfo external-source: extractpdfmark sdesc: "Debug info for extractpdfmark" ldesc: "This package contains files necessary for debugging the extractpdfmark package with gdb." package files: https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86_64/release/extractpdfmark/extractpdfmark-1.0.2-1.hint https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86_64/release/extractpdfmark/extractpdfmark-1.0.2-1.tar.xz https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86_64/release/extractpdfmark/extractpdfmark-1.0.2-1-src.tar.xz https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86_64/release/extractpdfmark/extractpdfmark-debuginfo/extractpdfmark-debuginfo-1.0.2-1.hint https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86_64/release/extractpdfmark/extractpdfmark-debuginfo/extractpdfmark-debuginfo-1.0.2-1.tar.xz https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86/release/extractpdfmark/extractpdfmark-1.0.2-1.hint https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86/release/extractpdfmark/extractpdfmark-1.0.2-1.tar.xz https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86/release/extractpdfmark/extractpdfmark-1.0.2-1-src.tar.xz https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86/release/extractpdfmark/extractpdfmark-debuginfo/extractpdfmark-debuginfo-1.0.2-1.hint https://trueroad.github.io/tr-cygwin-packages-dist/dist/x86/release/extractpdfmark/extractpdfmark-debuginfo/extractpdfmark-debuginfo-1.0.2-1.tar.xz Thanks