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/.
- Open this folder in VS Code
- On Windows, run
./scripts/build.ps1to build every language in one shot - On environments with Typst and a POSIX shell, run
make draft LANG=ento build a preview PDF - Run
make build LANG=ento build PDF + EPUB where the full toolchain is available
| 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 |
Build a specific language with LANG:
make draft LANG=en # English (default)
make draft LANG=es # Spanish
make draft LANG=de # GermanFrom PowerShell, build all three languages at once with:
./scripts/build.ps1Equivalent explicit form:
./scripts/build.ps1 -Format all -Lang allsrc/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)