mirror of
https://github.com/peterlodri-sec/latex-split.git
synced 2026-11-22 00:00:01 +01:00
Upstream pull mirror of https://github.com/peterlodri-sec/latex-split.git
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| __pycache__ | ||
| compare_split.py | ||
| README.md | ||
latex-split — the book-dissector toolchain
Split a monolithic LaTeX book into a folder-and-chapter structure with a compilable main.tex, and PROVE the split lost nothing.
split_book.py— dissect one .tex into chapters/ + a compilable main.texcompare_split.py— verify: reconstructed main.tex vs original .tex (word counts full + chapter-only, per-file sizes, first diff window)
The "shipped means measured" rule for the sovereign literature: a split that can't be verified byte-symmetric isn't a split, it's a risk.
Usage: uv run --script split_book.py book.tex split_out/ uv run --script compare_split.py book.tex split_out/