Mini PDF outline editor
Project description
Mini PDF Outline Editor
pipx run pdf-outline-edit
A GUI program to import, edit and modify PDF outlines/Table-of-Content through a simple textual format.
The textual format is almost the same as printed books' ToC which has been "rediscovered" multiple times.
- Indent level -> Nesting level
- Number at the end -> Page number
- Text in between -> Title
You can copy and paste existing outline from PDF books and tidy it up a bit to fuse it into the PDF file in 3 easy steps:
- Set a target PDF file
- Write the outline
- Press "Write to PDF" button
Extra
Auto tidy-up
- Remove excessive spaces
- Remove ending punctuations (
,.
) in titles - ?
Auto indent by heads
Try convert
index 1
1 Chapter one 2
1.1 nice 3
1.2 world 4
2 Chapter two 5
2.1 hello 6
2.2 noice 7
references 8
into
index 1
1 Chapter one
1.1 nice
1.2 world
2 Chapter two
2.1 hello
2.2 noice
references 8 <--- this needs to adjust final entries that has no chapters
Extra Options
- Offset: Starting page of the page numbers. The pages before it will be roman numerals and the offset page's page label will be 1.
Alternatives
- HandyOutliner Almost identical program but written in .NET & iText and uses XML
- pdf.tocgen Over-engineered by following the disgusting "unix philo-dogshit-sophy".
DevOops
# Install in virtualenv
python3 -m pip install -e .
# Run in dev environment
./src/run-gui.py
License
AGPL-3.0-or-later
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pdf_outline_edit-24.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1124099d325ddca1f41a2f8d94a9a203e8afdbb4127b48919835fc34fcc738dc |
|
MD5 | f6bfcb2b7548853bd5c9df1d848c4a91 |
|
BLAKE2b-256 | 51b2e1f0a8dbddd8f41a02e77fa50c77c3e92f65f3a8834c40e40212c48c112b |