Skip to content

Commit

Permalink
v0.1.5 published, fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
morngrar committed Jun 2, 2017
1 parent def5ab0 commit c123fc0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Custom
reinstall.sh

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 2 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v0.1.5
- Added support for outputing A5 PDFs for A6 perfect binding.
v0.1.4
- Added dynamic scaling of input PDFs. Now the input PDF can be any size;
however, for best results it should be A6.
Expand Down
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ pdfbooktool

A python 3 tool for use in creating your own books.

There is currently only support for handling books in A6 format, printing on
A4 paper. However, the input PDF can be any size.
The input PDF can be of any size, and the default output is an A4 PDF,
ready to print twosided, cut, and bind to A6 books using the "perfect
binding" method. Optionally, one can print on A5 paper, fold, and bind
to an A6 book, using the same method.

This package installs a script called 'booktool' and this is what you would
This package installs a script called 'booktool' and this is what you would
actually use for preparing your PDFs.


Expand All @@ -19,12 +21,23 @@ In a terminal, navigate to the directory of your PDF, then do:
$ booktool input-file.pdf
```

Or optionally:

```
$ booktool --a5paper input-file.pdf
```

For A5-sized paper output.

This will output a couple of intermediary files (which will be removed once the
script is finished running) into the working directory, and eventually a file
called 'out.pdf'. This new file is a reordered PDF with A4 dimensions, ready for
double-sided printing. Once printed, you can cut the sheets in half and bind
them together using a technique called "perfect binding". There exist several
videos on youtube that explains how to do this.
called "out.pdf". This new file is a reordered PDF, ready for double-sided
printing. Use "long edge binding" as your double-sided setting on
your printer for A4. If you opted for A5 paper, use "short edge" instead.

Once printed, you can cut the sheets in half (only needed if you print in A4)
and bind them together using a technique called "perfect binding". There exist
several videos on youtube that explains how to do this.

A good open-source tool for creating suitable PDFs is 'scribus'.

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def readme():
return f.read()

setup(name='pdfbooktool',
version='0.1.4',
description='Tool for formatting PDFs into A4 ready for printing A6 books.',
version='0.1.5',
description='Tool for converting PDFs into a format ready for printing A6 books.',
long_description=readme(),
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit c123fc0

Please sign in to comment.