macOS
brew install pdf.tocgenlocal Homebrew formula metadata
brew / rank 7956
CLI toolset to generate table of contents for PDF files automatically. Version 1.3.4 via Homebrew; verified 2026-08-09.
install
brew install pdf.tocgenlocal Homebrew formula metadata
overview
CLI toolset to generate table of contents for PDF files automatically
history
pdf.tocgen is a three-command toolset for extracting heading metadata, generating a table of contents, and importing that outline into a PDF.
pdf.tocgen was developed as a Python toolset for reconstructing or adding PDF outlines automatically from heading font attributes and positions. It is based on PyMuPDF and MuPDF.
The project supports Linux, macOS, and Windows and is distributed through Python packaging as well as Homebrew and the Arch User Repository. Its workflow is especially suited to software-generated PDFs whose heading fonts and positions remain available for analysis.
Use pdfxmeta to create a TOML heading recipe, pipe that recipe into pdftocgen to produce an outline, and pipe the outline into pdftocio to write a new PDF. It is not intended to infer headings reliably from scanned PDFs.
Package users encounter three cooperating executables rather than one monolithic command. This separation reflects the Unix philosophy and makes metadata extraction, outline generation, and outline import independently scriptable.
security posture
No matching local secret-handling manifest was found for pdf.tocgen. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pdftocgen | cli | global executable | |
pdftocio | cli | global executable | |
pdfxmeta | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://krasjet.com/voice/pdf.tocgen/
install metadata
| Package key | brew:pdf.tocgen |
|---|---|
| Version | 1.3.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pdf.tocgen |
| Homepage | https://krasjet.com/voice/pdf.tocgen/ |
| Repository | https://github.com/Krasjet/pdf.tocgen |
| Upstream docs | https://krasjet.com/voice/pdf.tocgen/ |
| License | GPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/77/44/e6dafea2c491e84425ed725b69b689e58703609b1d70e7b7f49f28cf5df7/pdf_tocgen-1.3.4.tar.gz |
| Last updated | 2026-08-09T14:28:48+09:00 |
| Pulse | updated |
| Dependencies | pymupdf, python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pdf.tocgen |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.