/pdfpagelabels

Poppler-based command line tool to extract page label information from PDF files

Primary LanguageCGNU General Public License v3.0GPL-3.0

pdfpagelabels(1) -- PDF page label reader

About

pdfpagelabels is a small Poppler based tool for extracting page labels (as opposed to page numbers) from a pdf file.

Usage

pdfpagelabels [options] <input.pdf>

-f,--first-page <int> first page to include in page label list (default: 1)

-l,--last-page <int> last page to include in page label list (default: last page)

-v,--verbose print verbose output with page number and page label instead of a pure list of labels

Install

  1. Make sure you install the Poppler development libraries. e.g. by running sudo apt-get install libpoppler-glib-dev
  2. Use the minimal, non-standard installation script to compile and install the tool make all, make install, make clean note that this make-Script does not verify dependencies, but you should figure this easily out yourself.

Author

Matthias Heim, 2020 (Matthias.Heim@hep-verlag.ch)