Skip to content

Latest commit

 

History

History

README.md

Critique of Pure Abduction — Book Source

This directory contains the source code for the book Critique of Pure Abduction.

The book is now part of Inquiry and lives in code/book/ as the product's canonical long-form doctrinal manuscript. Current repository doctrine now lives in docs/architecture.md, docs/roadmap.md, and docs/spec/.

Quick Start

  1. Open this folder in VS Code
  2. On Windows, run ./scripts/build.ps1 to build every language in one shot
  3. On environments with Typst and a POSIX shell, run make draft LANG=en to build a preview PDF
  4. Run make build LANG=en to build PDF + EPUB where the full toolchain is available

Commands

Command Action
./scripts/build.ps1 -Format epub -Lang en Windows-native EPUB build
./scripts/build.ps1 -Format all -Lang en Windows wrapper: EPUB plus PDF when typst exists
./scripts/build.ps1 Build PDF + EPUB for EN, ES, and DE in one shot
./scripts/build.ps1 -Format all -Lang all Explicit equivalent of the default full multi-language build
make draft Quick PDF build for preview
make build Full build: PDF + EPUB
make count Word count per chapter
make lint Lint prose with Vale
make preview Build draft and open PDF
make clean Remove build artifacts
make release VERSION=x.y.z Tag, push, create GitHub release

Languages

Build a specific language with LANG:

make draft LANG=en    # English (default)
make draft LANG=es    # Spanish
make draft LANG=de    # German

From PowerShell, build all three languages at once with:

./scripts/build.ps1

Equivalent explicit form:

./scripts/build.ps1 -Format all -Lang all

Structure

src/en/          English source (primary)
src/es/          Spanish source
src/de/          German source
src/shared/      Images, diagrams, bibliography
templates/       Typst + EPUB templates
covers/          Cover images for all formats
dist/            Build output (gitignored)