Tools for generating the Volumetric Regimes book https://volumetricregimes.xyz/ (wiki-to-print, using Paged.js)
Go to file
2022-06-27 13:27:20 +02:00
command-line adding resample to the toolbox 2022-06-09 11:34:24 +02:00
snapshots adding a snapshot :) 2021-10-13 19:14:54 +02:00
web-interface disabling the web interfaces, to not get confused between versions 2021-12-03 00:17:42 +01:00
.gitignore sync web interface 2021-12-03 00:11:42 +01:00
LICENSE.txt 'LICENSE.txt' updaten 2021-09-29 12:14:06 +02:00
README.md adding more tools and software dependencies 2022-06-27 13:27:20 +02:00

Volumetric Regimes (book)

MediaWiki Unfolded page > update.py > MediaWiki API > Unfolded HTML page + images (saved to file) > Jinja template > CSS + Paged.js > PDF

https://volumetricregimes.xyz/

https://volumetricregimes.xyz/index.php?title=Unfolded

Using the wiki-to-pdf publishing pipeline

  • make wiki: downloads the materials from the Unfolded wiki page and generates Unfolded.html
  • make run: runs a local server on port 8000 to preview the PDF at http://localhost:8000/Unfolded.html

Tools

  • PDF rendering: Paged.js (https://pagedjs.org/)
  • generate HTML: update.py is used to download the Unfolded wiki page to a local HTML file, download new images and rewrite/replace structural elements and details
  • hyphens: hyphenology, see templates/template.html and js/runHyphens.js
  • baseline grid: px calculation + manual shifts of images in css/print.css + csss/baseline.css
  • footnotes: are structured by MediaWiki and are wrapped in HTML elements when the content is pulled using the MediaWiki API
  • pre-press: see the folder tools for different scripts to convert PDF color space, PDF format, PDF resizing, and more

Software dependencies

  • jinja2==3.1.2
  • markupsafe==2.0.1
  • pdftk
  • pdfunite
  • resample

Notes and contingent documentation

Publishing pipeline continuations

The choice to work with Mediawiki and web-to-print techniques, continues practices through which the following publications and tools emerged: