agentmirv / bookbinder-js

A JS application to format PDFs for bookbinding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bookbinder-js

A JS application to format PDFs for bookbinding, based on Bookbinder, rewritten to use PDF-Lib as its backend library. Like Bookbinder, it is licensed under the Mozilla Public License.

Using

Go to the project page to use the app online - saving a complete copy of the webpage will enable you to load it locally without a web connection, too.

A very helpful guide on page size given layout and paper selection has been created and can be found HERE.

Snapshot of the size chart as of 2022-08-11 Snapshot of sizes as of 2022-08-11

Building

npm install
webpack build

And load index.html in any modern web browser.

Auditing Results

In the /docs directory:

  • There's 3 sample PDFs (and the .tex files to generate them) in landscape/portrait/square proportions filled with lorum ipsum and colored backgrounds to help test the positioning of the layouts.
  • There's a basic PDF with just the numbers 1-120 writ large, used for figuring out page ordering.
  • A basic export of the different layouts with proportional/snug settings have been recorded for comparison/reference as well as several shots of centered settings. These can be found in the /docs/examples folder.

Snapshot of layout proof summary as of 2022-08-14 Snapshot of layout proof summary 2022-08-14

About

A JS application to format PDFs for bookbinding.

License:Mozilla Public License 2.0


Languages

Language:JavaScript 98.1%Language:HTML 1.8%Language:CSS 0.1%