geometor.altshiller_court.assemble¶
Deterministic folio-to-codex assembler for Nathan Altshiller-Court’s College Geometry (1952).
Verifies and compiles the 334-folio archival layer under resources/college_geometry/
into the Digital Scriptorium Book Codex under docsrc/college_geometry/:
Audits
resources/college_geometry/structure_map.jsonagainst all 334 scans (326 transcribed content folios + 8 blank versos and Dover front/back covers).Prunes superseded routine diagram PNGs and
.inverted.pngduplicates fromdocsrc/college_geometry/where calibrated.euclid-graphicSVGs are present, preserving 100% of archival crops untouched inresources/college_geometry/.Assembles visually transcribed folio text into all Chapter II–XII section pages while preserving the decomposed item-per-page architecture of Frontmatter, Chapter I, and Chapter III Sections A–C.
Migrates all inline
.. folio::directives and en-dash folio ranges into explicit comma-separated 4-digit:folios:frontmatter for footer-onlynav.book-footer-foliossource links, keeping reading prose unbroken.Injects auditable GitHub PR
Folio Audit Trail & Scholarly Provenancetables into everycommentary.rstcompanion track and synchronizesfolio_reviews.json.
Attributes¶
Functions¶
|
Assemble and verify the GEOMETOR Altshiller-Court Book Codex deterministically. |
|
CLI entry point for |
Module Contents¶
- geometor.altshiller_court.assemble.EDITION_SLUG = 'college_geometry'¶
- geometor.altshiller_court.assemble.GH_ORG = 'geometor'¶
- geometor.altshiller_court.assemble.GH_REPO = 'altshiller-court'¶
- geometor.altshiller_court.assemble.GH_BRANCH = 'main'¶
- geometor.altshiller_court.assemble.assemble_edition(repo_root: pathlib.Path | str | None = None, *, check: bool = False, notes_only: bool = False) dict[str, Any]¶
Assemble and verify the GEOMETOR Altshiller-Court Book Codex deterministically.
- Parameters:
repo_root – Repository root directory (defaults to package ancestor).
check – If
True, report drift without writing any files.notes_only – If
True, update/verify only provenance tables in commentary tracks.
- Returns:
Structured summary dictionary consumed by
publish assemble.
- geometor.altshiller_court.assemble.main(argv: list[str] | None = None) int¶
CLI entry point for
python -m geometor.altshiller_court.assemble.