Initial commit: Ross 1988 re-typeset edition
A searchable, re-typeset edition of Fiona Ross, "The Evolution of the Printed Bengali Character from 1778 to 1978" (Ph.D., SOAS, 1988), transcribed from the 431-leaf ProQuest scan. All 431 pages done; 178 plates and 410 inline type specimens cut from the scan; 51 errata. Tracked: the transcription (src/pages), the preamble and its typographic decisions, the cut images (plates/ — not reliably regenerable, the crop specs for the inline cuts were never scripted), tools, and the four working documents. Not tracked: the built PDF, which `make` remakes from src/ and plates/; the ProQuest scan under source/, which is third-party and needed only by `make prep` and `make plate`; scans/ and work/, both regenerable. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
"""setrow.py PDFPAGE PRINTED KIND NOTES — mark one manifest.tsv row done.
|
||||
|
||||
python3 tools/setrow.py 20 18 plate "plate 1"
|
||||
src_file is derived from the PDF page (blank for kind dropped/colophon)."""
|
||||
import sys
|
||||
pdf, printed, kind, notes = sys.argv[1:5]
|
||||
rows = open("manifest.tsv").read().splitlines()
|
||||
out = []
|
||||
for i, line in enumerate(rows):
|
||||
c = line.split("\t")
|
||||
if i and c[0] == pdf:
|
||||
src = "" if kind in ("dropped", "colophon") else f"src/pages/p{int(pdf):04d}.tex"
|
||||
line = "\t".join([c[0], c[1], printed, kind, "done", src, notes])
|
||||
out.append(line)
|
||||
open("manifest.tsv", "w").write("\n".join(out) + "\n")
|
||||
print(" | ".join(out[int(pdf)].split("\t")))
|
||||
Reference in New Issue
Block a user