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 |
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 |
–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.