0.2.2 • Published 24 days ago

jxl-pdf v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
24 days ago

jxl-pdf

Versatile, print-ready PDFs, from industry-standard source files, in Javascript

Installing the Fonts

Installation

# Install the script

npm install

Script options

Usage: node scripts/make_pdfs.js [options]

-V, --version: output the version number

-c, --config (Required): Path to the JSON config file (must exist)

-o, --output (Required): Path to which the final PDF should be written (should not exist unless --force-overwrite flag is set)

-w, --working-dir : Path to a directory for temporary files including originated PDFs. This directory will be created recursively if necessary, and will be cleared whenever the ASSEMBLE stage runs. (default: "/home/mark/.jxlpdf/working")

-f, --force-overwrite: When set, will clear and overwrite an existing directory for output. Use with care! (default: false)

-v, --verbose: When set, generates console output for debugging and entertainment purposes (default: false)

-b, --book : Paratext 3-character bookCode, eg 'TIT' (required for some configurations) (default: null)

-p, --page-format : One of A0, A1, A2, A3, A4, A5, A6, A7, LETTER, EXECUTIVE, EXECUTIVE_LULU_WITH_BLEED or ',' (eg '504,720' with no spaces) (default: 504,720)

-s, --steps : The processing steps that will take place. Options are ARGSONLY, CLEAR, ORIGINATE, ASSEMBLE, ALL (default: "originate","assemble")

-h, --help: display help for command