This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Office > extractpdfmark (1.1.0)

This program is able to extract page mode and named destinations as
PDF marks from PDF. By using this you can get small PDF files that have
preserved them.

When you create a PDF document using a TeX system, you may include many
small PDF files in the main PDF file. It is common for each of the
small PDF files to use the same fonts.

If the small PDF files contain embedded font subsets, the TeX system
includes them as-is in the main PDF. As a result, several subsets of
the same font are embedded in the main PDF. It is not possible to
remove the duplicates since they are different subsets. This vastly
increases the size of the main PDF file.

On the other hand, if the small PDF files contain embedded full font
sets, the TeX system also includes all of them in the main PDF. This
time, the main PDF contains duplicates of the same full sets of fonts.
Therefore, Ghostscript can remove the duplicates. This may considerably
reduce the main PDF file's size.

Finally, if the small PDF files contain some fonts that are not
embedded, the TeX system outputs the main PDF file with some fonts
missing. In this case, Ghostscript can embed the necessary fonts,
significantly reducing the required disk space.

Either way, when Ghostscript reads the main PDF produced by the TeX
system and outputs the final PDF it does not preserve PDF page mode,
named destinations, etc. As a result, when you open the final PDF, it
is not displayed correctly. Also, remote PDF links will not work.

Maintained by: Andy Goth
Keywords: pdf,font,tex
ChangeLog: extractpdfmark

Homepage:
https://www.ctan.org/tex-archive/support/extractpdfmark

Source Downloads:
extractpdfmark-1.1.0.tar.gz (04335bfbe3e743201e86f27f884cc4a3)

Download SlackBuild:
extractpdfmark.tar.gz
extractpdfmark.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds