# cash13-note: the 13-week cash memo as the treasurer receives it.
# Made by: python3 tools/render_exhibits.py cash13-note
# Commands run from the repo root unless a `$ cd` line says otherwise, each with
# SOURCE_DATE_EPOCH=315532800 so the PDFs carry a fixed date.
# Source: runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/output/cash13-note.md
# Source sha256: aefc9e722093c22e09870c000150570c9c67999d37246faabbda12f8927d72fd
# Inputs (sha256  path):
#   aefc9e722093c22e09870c000150570c9c67999d37246faabbda12f8927d72fd  runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/output/cash13-note.md
#   acab41bba1afe68d71255e21858014df17f98e7ac03d5d5a82bf090fe27754b5  runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/result.json
#   e38b69aacead161722b74031ecf22151347498b690be2c82123d442df33eae36  examples/renders/note-fragment.lua
# check: runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/result.json: passed, and so did each of its 9 checks (script_identity, independent_identity, golden, contract, provenance, binding, covenant_matches, sentinels, pack_unchanged)
$ sha256sum \
>   runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/output/cash13-note.md
aefc9e722093c22e09870c000150570c9c67999d37246faabbda12f8927d72fd  runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/output/cash13-note.md
$ pandoc --from=gfm-tex_math_dollars+hard_line_breaks --to=latex --wrap=none \
>   --lua-filter=examples/renders/note-fragment.lua -M exhibit=cash13-note \
>   -M sha256=aefc9e722093c22e09870c000150570c9c67999d37246faabbda12f8927d72fd \
>   -M label=cash13-note.md -M size=scriptsize \
>   --output=examples/renders/cash13-note/cash13-note.tex \
>   runs/20261004-1740-repeat-forecast-planning-cash-forecast-13wk-2026-claude-sonnet-5-5/cash-forecast-13wk-2026/claude/r1/output/cash13-note.md
# check: the fragment carries the source's 253 words and figures in order, and no others
# examples/renders/cash13-note/proof.tex (written by the tool) sets cash13-note.tex in the book's preamble
$ mkdir -p build/renders/cash13-note
$ cd build/renders/cash13-note
$ xelatex -interaction=nonstopmode \
>   -halt-on-error ../../../examples/renders/cash13-note/proof.tex
$ cp proof.pdf ../../../examples/renders/cash13-note/proof.pdf
# proof.pdf: 1 page(s); the fragment is 404.6pt tall on a 494.0pt text block, leaving room for a caption of 5.3 lines; log build/renders/cash13-note/proof.log
$ cd ../../..
