CTAN Comprehensive TeX Archive Network

CTAN Update: extractpdfmark

Date: December 10, 2018 5:00:23 PM CET
Masamichi Hosoda submitted an update to the extractpdfmark package. Version: 1.0.3 2018-12-09 License: gpl3 Summary description: Extract page mode and named destinations as PDFmark from PDF Announcement text:
Support poppler 0.72.0
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/extractpdfmark The package’s files themselves can be inspected at http://mirror.ctan.org/support/extractpdfmark/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

extractpdfmark – Extract page mode and named destinations as PDFmark from PDF

PDFmarks is a technique that accompanies PDF and that is used to store metadata such as author or title, but also structural information such as bookmarks or hyperlinks.

When Ghostscript reads the main PDF generated by the system with embedded PDF files and outputs the final PDF, the PDF page mode and name targets etc. are not preserved. Therefore, when you open the final PDF, it is not displayed correctly. Also, remote PDF links do not work correctly.

This program is able to extract the page mode and named targets as PDFmark from PDF. In this way, you can obtain embedded PDF files that have kept this information.


$ extractpdfmark -System-Outputted.pdf > Extracted-PDFmark.ps

$ gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFDontUseFontObjectNum -sOutputFile=Final.pdf -System-Outputted.pdf Extracted-PDFmark.ps

Copyright2016–2018 Masamichi Hosoda
MaintainerMasamichi Hosoda



Guest Book Sitemap Contact Contact Author