Markup

Markup a PDF with hyperlinks, bookmark / outline, page numbers, and so on.

Markup can be specified by a file or with patterns. For a PDF that is long and has complicated structure, try the -analyze to automatically collect most of the data into a file, then manually tune it, and finally use -apply to fuse the data to the PDF and make it active.

Options

java tool.pdf.Markup [options] PDF-file(s)

Examples

Format of Markup Description File

Example



Often it's easiest to first run with -analyze, capture the output in a file, edit, and then apply the markup to the PDF with -apply file.

If somehow have similar, just run through some text processing software, like Perl, to massage the file into the exact format.