Cleverer normalized Stow view
I've integrated a new switchable view mode for Stow chapters. There's now a checkbox that appears at the top right of the page, which can be used to switch between the "normalized" view and the "original" view. These are the things that change:
- In the normalized view, there's no long s; in the original view, it's there.
- In the normalized view, most of the forme works are removed; I retain only the page numbers, which are all centred.
- Line-breaks and line-break hyphens are removed.
- Blackletter fonts are eliminated, and roman fonts used in contrast to blackletter are turned to italics.
The "normalized" view is the default; that's what you'll see first. The switch requires JavaScript, so if JavaScript is turned off, the checkbox itself is never shown, and you can't switch to the original view. If JavaScript is working in the browser, the checkbox is shown, and when you check and uncheck it, it turns on and off a single stylesheet in the header. That stylesheet overrides the default "original" settings, so when it's disabled, the original styles reappear. The switch also switches s and long s using JavaScript; there's no way to do that with CSS.
This also means that you can Control + F search using regular s in the normalized view, but with long s in the original view.