Skip to main content

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.

  1. Indent level -> Nesting level
  2. Number at the end -> Page number
  3. 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:

  1. Set a target PDF file
  2. Write the outline
  3. Press "Write to PDF" button
demo

Extra features

Automatic tidy up button. It does the following:

  1. Remove excessive spaces
  2. Remove ending punctuations (,.) in titles
  3. ?

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


Download files

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

Source Distribution

pdf-outline-edit-24.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_outline_edit-24.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pdf-outline-edit-24.1.2.tar.gz.

File metadata

  • Download URL: pdf-outline-edit-24.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for pdf-outline-edit-24.1.2.tar.gz
Algorithm Hash digest
SHA256 83c47665c07be289d3ebce5856c4a99257e5d1fb7f34de436d291c5d450c981d
MD5 c7b3ca9cd28c0535fd47b37eaacdb11a
BLAKE2b-256 7f5f6d1421b26e0eada65418491ec7c9c12957f4f52d0730329a057ddb83a249

See more details on using hashes here.

File details

Details for the file pdf_outline_edit-24.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf_outline_edit-24.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 869c225d6d8c69396ad4c63fabfbb9000e5f5cd2c7fbb9fe6e4234525be0fb61
MD5 25ce821556b03ca8744f94a9986b5ba0
BLAKE2b-256 745c2ed81f6054af08494f2d0d8b4e23a310152845898bd415795c275551d8c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page