Add the EPUB edition: converter, class-based audit, shared front matter
tools/make_epub.py converts the same src/ the PDF is set from, running
polish.py first, with original page numbers as page-list metadata, endnotes
gathered in one linked Notes section, and the colophon and errata included.
It raises on any macro it does not declare. tools/epub_audit.py checks by
class of fault (LaTeX residue, escaping, empty blocks, links, images, XML,
content, typography drift from the PDF); make epub runs both.
\byedition{PDF}{EPUB} lets the colophon carry the sentences that are true of
only one edition; the errata introduction moves into src/errata.tex so both
editions print one copy. reprocheck.py now accepts an .epub and skips
environment parameters that are layout, not copy.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2ec880d1c4
commit
4424cc9887
8 files changed
+1472
-10
No files matched your search
@@ -23,3 +23,6 @@ src/main.tex
|
||||
# Python bytecode, and per-session scratch work (backups, probes, OCR re-scan).
|
||||
__pycache__/
|
||||
.scratch/
|
||||
|
||||
# The reflowable edition, like the PDF, is remade by `make epub`.
|
||||
ross-1988-retypeset.epub
|
||||
Reference in new issue
Block a user