Pdfmark
Add PDF bookmarks according to regular expressions.
Install / Use
/learn @NoviceLive/PdfmarkREADME
pdfmark - One Of My Most Initial Python Projects
.. image:: https://img.shields.io/pypi/v/pdfmark.svg :target: https://pypi.python.org/pypi/pdfmark
PDF Bookmark Adder
Official Mirrors
- https://gitlab.com/imtheforce/pdfmark
- https://bitbucket.org/fourthorigin/pdfmark
- https://github.com/NoviceLive/pdfmark
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
- Fedora,
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.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
