[x] 8.8.3 - Spell out non-mathematical numbers [0-9] (0-100, paired 0-100, begin sentence, simple fractions, close together and one spelled out, include commas)
[x] 8.8.5 - check for and format roman numerals (typogrify usually gets these)
[x] 8.8.6 - check for and format fractions
[x] 8.8.7 - check for and format measurements (look for x and single/double quotes, compound measurements, abbreviated measurements)
[x] 8.8.8 - check for and format math
[x] 8.8.9 - check for and format currency (look for L in front of numbers)
[x] 8.10 - Check abbreviations, look for uncommon short abbreviations ('Sts.', etc), initialisms, academic degrees, semantics on abbrevated names, etc. (?<!<abbr>)[A-Z][A-z]{1,4}\.(?!idpf)(?!w3)(?!org/)(?!daisy\.)(?!css"), (?<!<abbr>)[A-Z][A-z]{4,8}\., (?<!se:)(?<![A-z])(?<!<abbr>)[A-Z][A-z]{1,4}\.(?!xhtml), (?<!se:)(?<![A-z])(?<!<abbr>)[A-Z][A-z]{5,8}\.(?!xhtml)
[x] 8.11 - Check for and format dates and times (?<![a-z])p\.|(?<![a-z])a\.
[x] 8.12 - Check for and format chemicals and compounds
[x] 8.13 - Check for and format temperatures - degree symbol and word degrees, normalize to use dominant
[x] 8.14 - Check for and format scansion marks
[x] 8.16 - Check for and format morse code
[x] 8.17 - Check for and format citations
[x] Check for appropriate chapter semantics (dedications/prefaces as non-fiction, etc)
[x] Cover Art
[x] Editorial - 8.2.1 - Fix Italics & Quotes used together (songs, plays, etc.)
[x] Editorial - 8.2. - Remove italics from words that are in MW
se clean
,se build-manifest .
,se build-spine .
(content.opf
)content.opf
items - Page Scans, Author, Transcriber, Producerse typogrify .
se semanticate .
(?<!title>)(?<!en-)(?<!z3998:roman">)(?<![A-Z])[A-Z]{2,}(?!")
—[’”][^<\s]
([’”])([,.])
replace$2$1
)<hr/>
for thematic breaks(?<!CC0 )(?<!\.w)(?<!/)(?<!")[0-9](\.|\))
<i.*>|<em,*>
<em>
<strong>
<i>
<q>
and italicsnth
ordinal - set as<i>n</i>th
versus
v.
(\s)‘([a-z])
replace$1’$2
, Glottal stops‘
, Last names using quotation mark‘
to a T
(?<!illustration-)(?<!chapter-)(?<!Page )(?<!zero/)(?<!z3998/)(?<!org/)(?<!b/)(?<!<h)(?<!")(?<!z)(?<![0-9])[0-9]{1,}(?!")(?!>)(?![0-9])(?!\.org)
(?<!z3998:personal)(?<!noteref)(?<!note)(?<!preface-[0-9])(?<!preface)(?<!section data)(?<!z3998:non)(?<!book)(?<!en)(?<!utf)(?<!chapter)(?<!chapter-[0-9])-
(?<!utf)(?<!chapter)-[0-9]
[0-9]-[0-9]
-(?![\w\.\-]*")
-(?![\w\.\-]*")
——
)[0-9]{2,3}
Jan -
etc(?<!chapter-.-)(?<!"z..)(?<!"z.)(?<!"z)[0-9]{2,3}(?![0-9])(?!/|:|<|")
-(?![\w\.\-]*")
([0-9])+’
replace$1′
, find([0-9])+”
replace$1″
2d|3d
[0-9]
(0-100, paired 0-100, begin sentence, simple fractions, close together and one spelled out, include commas)x
and single/double quotes, compound measurements, abbreviated measurements)(?<!<abbr>)[A-Z][A-z]{1,4}\.(?!idpf)(?!w3)(?!org/)(?!daisy\.)(?!css")
,(?<!<abbr>)[A-Z][A-z]{4,8}\.
,(?<!se:)(?<![A-z])(?<!<abbr>)[A-Z][A-z]{1,4}\.(?!xhtml)
,(?<!se:)(?<![A-z])(?<!<abbr>)[A-Z][A-z]{5,8}\.(?!xhtml)
(?<![a-z])p\.|(?<![a-z])a\.
se find-unusual-characters .
se modernize-spelling .
se find-mismatched-dashes .
se find-mismatched-diacritics .
(?<!<section )(?<!<article )(?<![a-z\-\/#:"])[a-z]+-[a-z]+
(?<!label">)(?<!<title>)(?<![\.\?!:;…] )(?<![\.\?!:;…]” )(?<![\.\?!:;…]’ )(?<![\.\?!:;…] “)(?<![\.\?!:;…] ‘)(?<! “)(?<! ‘)(?<!<p>)(?<!<p>“)(?<!<p>‘)(?<!<p>“ ‘)(?<!")[A-Z][a-z]+
[æÆœŒӕӔ]
se build --check --output-dir=../dist/ --kindle --kobo .
se recompose-epub -e ../web.css -o ../dist/${PWD##*/}.html .
se typogrify .
se semanticate .
se modernize-spelling .
se clean .
se build-title .
se build-toc .
se build-images .
se build-manifest .
se lint .
se build --check --output-dir=../../dist/ --kindle --kobo .
se recompose-epub -e ../../web.css -o ../../dist/${PWD##*/}.html .