Skip to content

pau1ie/impose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Impose

A simple script for book imposition. Given a PDF, the script will shuffle the pages into a correct order so the book can be printed on double sided paper, and the paper folded to form a book.

Requirements

As normal with python script, create a virtual environment and install the required modules, pypdf and argparse:

python3 -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt

Possible usage

Save the book as a PDF file. Enusure there are no intenral links, for example index or contents pages, as this will cause the pypdf library to crash. Save the file as input.pdf Run:

python unfold.py

against that pdf file to create a new PDF which is paginated correctly into imposed.pdf. Once printed two sided the pages can be folded into sections.

TODO

This is in a fairly early phase of development. The PDF filenames and the number of folds are hard-coded.

About

Simple Book Imposition.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages