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>
10 lines
426 B
Bash
Executable File
10 lines
426 B
Bash
Executable File
#!/bin/sh
|
|
# prep.sh FIRST LAST — rasterize pages at 130 dpi for reading + tesseract scaffold text
|
|
cd "$(dirname "$0")/.."; mkdir -p scans work/ocr
|
|
pdftoppm -jpeg -r 130 -f "$1" -l "$2" "${ROSS_SRC:-source/10731406.pdf}" scans/hi
|
|
for p in $(seq "$1" "$2"); do
|
|
f=$(printf 'scans/hi-%03d.jpg' "$p")
|
|
tesseract "$f" "work/ocr/p$(printf '%04d' "$p")" -l eng --psm 4 >/dev/null 2>&1
|
|
done
|
|
ls scans/hi-*.jpg | tail -n +1 | wc -l
|