Convert PDF files to 'n-up' PDF files, guessing the output layout.
Project description
Check out my other PDF tools: pdfimpose | dummypdf. This tool can be used online at: https://pdfimpose.it
Fit as much pages as possible, from some PDF files to a ‘n-up’ PDF file of a given page size, guessing the layout.
Examples
With the default paper size being A4, pdfautonup on:
trigo.pdf gives trigo-nup.pdf
pcb.pdf gives pcb-nup.pdf
See the documentation for the full command lines used to generate those examples.
What’s new?
See changelog.
Download and install
See the end of list for a (quick and dirty) Debian package.
From sources:
Download: https://pypi.python.org/pypi/pdfautonup
Install (in a virtualenv, if you do not want to mess with your distribution installation system):
python3 setup.py install
From pip:
pip install pdfautonup
Note: If PyMuPDF can be installed, you can use:
pip install pdfautonup[pymupdf]
This will change the python library used to read and write PDF files (PyMuPDF instead of PyPDF), to make pdfautonup faster.
Quick and dirty Debian (and Ubuntu?) package
This requires stdeb (and setuptools-scm) to be installed:
python3 setup.py --command-packages=stdeb.command bdist_deb sudo dpkg -i deb_dist/pdfautonup-<VERSION>_all.deb
Documentation
The compiled documentation is available on readthedocs
To compile it from source, download and run:
cd doc && make html
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
File details
Details for the file pdfautonup-1.10.0.tar.gz
.
File metadata
- Download URL: pdfautonup-1.10.0.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c009c02b71e908463764f5edb9d910c63fcda1bc2ecc2a0ae7fbe8f51f4f72aa |
|
MD5 | 4d88435d855ac8492d039170a390851d |
|
BLAKE2b-256 | f1711ab97002571f51bbb2775dc0f2e42ee50fc60a500d031d7c6f0c5e0c267e |
File details
Details for the file pdfautonup-1.10.0-py3-none-any.whl
.
File metadata
- Download URL: pdfautonup-1.10.0-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94c8feb6675aa1efca5fe8f6f6a7a2a41aea12835c1fba997be839a8b8f13733 |
|
MD5 | a06d20d942477fd51dbdc10553e726e3 |
|
BLAKE2b-256 | 16a5e4c83912b2d95ebda00b40e61239cf387dfe9192fb37d6fd291adbb88770 |