Build system for compiling The Testament chapters into distributable formats. Files added: - build/build.py — Compilation script (markdown combine, PDF, EPUB) - build/metadata.yaml — Pandoc metadata (title, author, formatting) - build/frontmatter.md — Title page, dedication, chapter guide - build/backmatter.md — Acknowledgments, sovereignty note, about author - build/output/the-testament.epub — Pre-built EPUB (10 chapters) - Makefile — `make all`, `make pdf`, `make epub`, `make md` - .gitignore — Build artifacts Features: - Combines 10 chapters into single manuscript - Generates print-ready PDF (requires xelatex) - Generates EPUB for e-readers - Part dividers and chapter guide table - Proper front/back matter - Zero external dependencies (uses stdlib + pandoc) Usage: python3 build/build.py # All formats python3 build/build.py --pdf # PDF only python3 build/build.py --epub # EPUB only python3 build/build.py --md # Combined markdown only
36 lines
836 B
YAML
36 lines
836 B
YAML
---
|
|
title: "The Testament"
|
|
subtitle: "A Novel About Broken Men, Sovereign AI, and the Soul on Bitcoin"
|
|
author: "Rockachopa"
|
|
date: "2026"
|
|
rights: "Open Source — Inscribed on Bitcoin, Sovereign Forever"
|
|
lang: en
|
|
toc: true
|
|
toc-depth: 2
|
|
numbersections: true
|
|
documentclass: book
|
|
classoption:
|
|
- openany
|
|
- oneside
|
|
geometry:
|
|
- paper=6in
|
|
- top=1in
|
|
- bottom=1in
|
|
- left=1in
|
|
- right=1in
|
|
fontsize: 11pt
|
|
linestretch: 1.4
|
|
header-includes:
|
|
- \usepackage{fancyhdr}
|
|
- \pagestyle{fancy}
|
|
- \fancyhead[LE,RO]{\thepage}
|
|
- \fancyhead[RE]{\textit{The Testament}}
|
|
- \fancyhead[LO]{\textit{\leftmark}}
|
|
- \fancyfoot{}
|
|
- \usepackage{enumitem}
|
|
- \setlist{nosep}
|
|
- \usepackage{titlesec}
|
|
- \titleformat{\chapter}[display]{\normalfont\huge\bfseries}{Part~\thechapter}{20pt}{\Huge}
|
|
- \titlespacing*{\chapter}{0pt}{-30pt}{40pt}
|
|
---
|