A CLI tool to manipulate a PDF file's index.
Warning
This is work in progress
IndexifyPDF is a CLI tool written in Python meant to streamline the manipulation of a PDF file's index, sometimes known as bookmarks. It uses PDFtk server to extract a PDF file's index data, adds index entries specified by the user, and again uses PDFtk to write the data back to a (new) PDF file.
Note
PDFtk server must be installed!
- Read info from PDF
- Write info to PDF
- Parse raw info
- Add single entry
- UI for adding a single entry
- Clean temporary files
- Add checks for data, raise errors, etc.
- Make executable (?)
- Review index before writing to PDF
- Fine tune index (e.g. in case of adding an entry to a page that already contains an entry - currently the new entry is inserted after existing ones)
- Edit entries
- Add full index from text file
- Generate index based on table of contents (using OCR)
- Generate index based on headings in the pdf (using machine learning)