pdfoutline (1) - Linux Man Pages
pdfoutline: add outlines (aka bookmarks) to PDF files
NAMEpdfoutline - add outlines (aka bookmarks) to PDF files
SYNOPSISpdfoutline input.pdf outlines.txt output.pdf
DESCRIPTIONpdfoutline reads input file given as first argument, adds outlines from text file given as second argument, and saves result to file with name given as third argument.
File with outlines information should consist of lines in the following format:
<level> <page> Outline text
<level> and <page> should be integers. Each field should be separated by exactly one space symbol. All values for <level> should be greater or equal than that of the first line. Page numeration starts with 1.
OPTIONSpdfoutline accepts no options.
EXAMPLESHere is example of outlines data file:
0 1 Document title 1 1 Chapter 1 2 1 Chapter 1.1 2 2 Chapter 1.2 1 3 Chapter 2
Using this file will result in outlines like the following:
Document title +-Chapter 1 | +-Chapter 1.1 | +-Chapter 1.2 +-Chapter 2
AUTHORpdfoutline author is Eugeniy Meshcheryakov <eugen [at] debian.org>
pdfoutline is part of fntsample and can be downoaded from <http://fntsample.sourceforge.net/>.