Skip to main content

PDF Bookmark Adder

Project description

https://img.shields.io/pypi/v/pdfmark.svg

PDF Bookmark Adder

Features

Automatically add bookmarks to pdf documents according to the given regex.

You have to go through a somewhat painful debugging process if you want every added bookmark is exactly what you want and never omit where you desire it to be added.

Installation

pip install pdfmark

Dependencies

  • PyPDF2, which can be installed via pip
  • pdftotext, which is available from the packages listed below
    • Fedora, poppler-utils
    • Arch, poppler

Usage

See samples.txt.

Also see this real world case, man2pdf, https://github.com/NoviceLive/man2pdf, for which this quick and dirty script was written.

And ./pdfmark --help.

TODO

Support heirarchical bookmarks.

License

See LICENSE.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pdfmark-0.2.0-py2.py3-none-any.whl (17.9 kB) Copy SHA256 hash SHA256 Wheel 3.6
pdfmark-0.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page