Book generation for Sources of Light
Go to file
2024-11-13 21:19:18 -08:00
assets book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
fonts book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
pages book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
.gitignore book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
index.mjs book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
package-lock.json book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
package.json book rendering for Sources of Light 2024-11-13 21:15:53 -08:00
README.md but where is the rest of the book? 2024-11-13 21:19:18 -08:00

A small script for generating PDFs for my guitar TAB book for my album "Sources of Light".

The book was printed through bookbaby.com in November 2024.

HTML files are in pages/. All the dimensions are set up properly in the CSS at 9.25in x 12.25in. This is for a "Large Portrait" size book that is 9x12. BookBaby requires an extra .25" of margin.

The rest of the book was assembled elsewhere.

To generate PDFs:

  1. npm install
  2. mkdir -p rendered
  3. node index.mjs
tmont@thelio:~/code/sources-of-light (main +) node index.mjs 
processing 001-title.html...
  generated PDF at /home/tmont/code/sources-of-light/rendered/001-title.pdf
processing 002-title2.html...
  generated PDF at /home/tmont/code/sources-of-light/rendered/002-title2.pdf
processing 003-toc.html...
  generated PDF at /home/tmont/code/sources-of-light/rendered/003-toc.pdf
processing 197-timeline.html...
  generated PDF at /home/tmont/code/sources-of-light/rendered/197-timeline.pdf

Rendered pages will be in rendered/.