Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshgachnang/chaptersplit
Takes a PDF and splits it into multiple PDFs based on a list of chapter names and page numbers.
https://github.com/joshgachnang/chaptersplit
Last synced: 25 days ago
JSON representation
Takes a PDF and splits it into multiple PDFs based on a list of chapter names and page numbers.
- Host: GitHub
- URL: https://github.com/joshgachnang/chaptersplit
- Owner: joshgachnang
- License: bsd-3-clause
- Created: 2012-02-10T19:40:01.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-02-28T19:37:03.000Z (over 12 years ago)
- Last Synced: 2023-03-11T08:12:46.299Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Copyright Josh Gachnang 2012
Released under the New BSD License
Chapter Split is a Python tool utilizing pdftk to split a large PDF into chapters. You define chapter boundaries,
and it will split the original file into multiple, single chapter boundaries. You can also define multiple sections
per new file. For example, you could have Chapter 1, and the answers from the back of the book for Chapter 1, all in
one PDF.It takes one argument: filename.
The filename should be a file in the below format. Also see example.txt.File format:
Original_File_Name.pdf
New_File_Base_ (Will have section name and .pdf attached)
New file name, page_start page_endExample:
SuperBook.pdf
SuperBook_
Chapter 1, 1 15Another example using multiple sections (for example, chapter 1 plus chapter 1 answers)
SuperBook.pdf
SuperBook_
Chapter 1, 1 15, 1004 1006