BookPrinting, #1

A hypothesis that will be tested and refined until a workable process is finalized.

  1. Acquire EPUB
  2. EPUB -> Pandoc -> LaTeX
  1. LaTeX -> PDF
  2. bookbinder.js
  3. print, stitch, bind

Pandoc command

I am using the following command

pandoc input.epub -o output.pdf --standalone --table-of-contents --pdf-engine=xelatex -V documentclass=book -V papersize=a5 -V geometry:margin=2cm --include-in-header header.tex

where "header.tex" is the following:

\usepackage{titlesec}
\newcommand{\sectionbreak}{\clearpage}

Answered questions:

Unanswered questions


home // current // other revisions