Ant Stack paper rendering is coordinated by antstack-build. Validation is available without external PDF dependencies; full PDF builds require Pandoc and a XeLaTeX-capable TeX installation.
flowchart TD
Paper["papers/<name>/paper_config.yaml"] --> Validate["uv run antstack-build --validate-only"]
Validate --> Assets["Mermaid and figure assets"]
Assets --> Pandoc["Pandoc"]
Pandoc --> XeLaTeX["XeLaTeX"]
XeLaTeX --> PDF["PDF artifact"]
CE["antstack-ce"] --> CEOut["papers/complexity_energetics/out"]
CEOut --> Paper
Use validation mode for CI and local checks that should not require PDF toolchains:
uv run antstack-build --validate-onlyValidate one paper:
uv run antstack-build --paper complexity_energetics --validate-onlyInstall optional tools first:
- Pandoc
- XeLaTeX or a compatible LaTeX distribution
- Project Node dependencies with
bun install
Then run:
uv run antstack-buildThe complexity energetics paper consumes generated content and figures. Regenerate them with:
uv run antstack-ce papers/complexity_energetics/manifest.example.yaml --out papers/complexity_energetics/outFor canonical run-all outputs and provenance, use:
uv run run-all-antstack --config configs/run_all_antstack.example.yaml- If validation fails, inspect the paper config, referenced content files, and local
assets/directory. - If Mermaid rendering fails, run
bun installand thenuv run antstack-build --validate-only. - If PDF compilation fails, validate first; then check Pandoc and XeLaTeX availability.