Metadata-Version: 2.0
Name: PdfAutoNup
Version: 0.3.0
Summary: Convert PDF files to 'n-up' PDF files, guessing the output layout.
Home-page: https://git.framasoft.org/spalax/pdfautonup
Author: Louis Paternault
Author-email: spalax@gresille.org
License: GPLv3 or any later version
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Education
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Printing
Requires-Dist: PyPDF2
Requires-Dist: papersize

pdfautonup — n-up the pages of pdf files, guessing layout
=========================================================

|sources| |pypi| |documentation| |license|

Fit as much pages of 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 <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/trigo.pdf>`_ gives `trigo-nup.pdf <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/trigo-nup.pdf>`_
- `pcb.pdf <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/pcb.pdf>`_ gives `pcb-nup.pdf <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/pcb-nup.pdf>`_
- `three-pages.pdf <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/three-pages.pdf>`_ gives `three-pages-nup.pdf <http://git.framasoft.org/spalax/pdfautonup/blob/master/examples/three-pages-nup.pdf>`_

See the documentation for the full command lines used to generate those examples.

What's new?
-----------

See `changelog
<https://git.framasoft.org/spalax/pdfautonup/blob/master/CHANGELOG.md>`_.

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

* Quick and dirty Debian (and Ubuntu?) package

  This requires `stdeb <https://github.com/astraw/stdeb>`_ 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
  <http://pdfautonup.readthedocs.org>`_

* To compile it from source, download and run::

      cd doc && make html


.. |documentation| image:: http://readthedocs.org/projects/pdfautonup/badge
  :target: http://pdfautonup.readthedocs.org
.. |pypi| image:: https://img.shields.io/pypi/v/pdfautonup.svg
  :target: http://pypi.python.org/pypi/pdfautonup
.. |license| image:: https://img.shields.io/pypi/l/pdfautonup.svg
  :target: http://www.gnu.org/licenses/gpl-3.0.html
.. |sources| image:: https://img.shields.io/badge/sources-pdfautonup-brightgreen.svg
  :target: http://git.framasoft.org/spalax/pdfautonup


