1 Using it🔗ℹ

racket main.rkt --format quarto --compositors A,B --html -o out samples/hamlet.txt

Flags come before the input file, as Racket’s command-line requires.

flag

  

effect

The book

  

-o, –out

  

directory for the output files

–format

  

folio | folio6 | quarto | octavo — how often the sheet is folded

–paper

  

the sheet itself: foolscap | pot | crown | demy | royal

–kind

  

auto | verse | prose | drama — how the copy is parsed

–title

  

running title

–edition

  

sheets printed; the Cambridge accounts show 400–820

–copies

  

made-up copies to collate for press variants

The workmen

  

–compositors

  

which men are at the frames, e.g. A,B or OkesB,OkesC

–order

  

formes | seriatim

–cast-off

  

accuracy of the casting off, 0–1

–no-copy-preparation

  

the corrector does not mark up the copy

The material

  

–case-scale

  

below 1.0 the case runs short; try 0.18

–fount

  

condition of the type: new | used | worn | foul

–skeletons

  

skeleton formes in use

–formes-standing

  

formes of type standing before distribution

The analysis

  

–discrimination

  

how finely the analysis can tell one damaged type from another, 0–1; a ceiling, not a typical eye

–witness

  

which made-up copy the facsimile shows; the page carries them all and a picker switches between them

–copy-texts

  

how many copies to write out as text (0 for none); every copy is collated regardless

At press

  

–first-proof

  

chance of a proof pulled before the run begins

–seed

  

the whole run is deterministic in this

Output

  

–html

  

an HTML facsimile built straight from the type

–tei

  

a TEI P5 encoding

–xslt

  

write the TEI and transform it to HTML

–layout

  

opening (verso | recto, as bound) or leaf

–witness

  

which made-up copy the XSLT should show

–numbers

  

number every fifth line of type

–no-long-s

  

set short s throughout

–font

  

family the facsimile is drawn in, e.g. Junicode

–font-file

  

a fount to embed beside the page (.woff2/.ttf/.otf)

–fit

  

set width of that face against the body; re-derive it when the face changes

–modern-uv

  

keep modern u/v and i/j

–year

  

the date, which governs the scribal marks — they have a slope

–pages, –quiet

  

how much to print to the terminal

Every run writes NAME.facsimile.txt (the type-facsimile) and NAME.report.txt (the description and the analysis); the output flags add NAME.html, NAME.tei.xml and NAME.tei.html.

Run the tests with raco test *.rkt. Build this document with raco scribble –html –dest doc scribblings/handpress.scrbl.