CTAN update: extractpdfmark
Fix handling a named destination with an empty string name https://github.com/trueroad/extractpdfmark/issues/3 Exclude deprecated poppler-core interface for poppler 0.76+ Add stable poppler-glib interface for poppler 0.78.0+
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/extractpdfmark The package’s files themselves can be inspected at https://mirrors.ctan.org/support/extractpdfmark/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
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 TeX 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.
Usage:
$ extractpdfmark TeX-System-Outputted.pdf > Extracted-PDFmark.ps
$ gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFDontUseFontObjectNum
-sOutputFile=Final.pdf TeX-System-Outputted.pdf Extracted-PDFmark.ps
Package | extractpdfmark |
Version | 1.1.1 2022-09-30 |
Copyright | 2016–2022 Masamichi Hosoda |
Maintainer | Masamichi Hosoda |