From a6971750be1aa97abeab758f3c5a48bf0b16d291 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Wed, 2 Dec 2020 14:51:48 -0600 Subject: [PATCH] Update step by step guide to include examples for one-by-one spellign modernizations, and promote a few of them to automated replacements in 'se modernize-spelling' --- .../producing-an-ebook-step-by-step.php | 183 ++++++++++++++++-- www/css/manual.css | 27 +++ 2 files changed, 198 insertions(+), 12 deletions(-) diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index 36040d73..e5fe6e80 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -292,18 +292,177 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll

When running se interactive-sr, press y to accept a replacement and n to reject a replacement.

Use the following regular expression invocations to correct a certain set of such phrases:

- se interactive-sr "/\v([Ss])ome one/\1omeone/" src/epub/text/* git commit -am "[Editorial] some one -> someone" - se interactive-sr "/\v(<[Aa])ny one/\1nyone/" src/epub/text/* git commit -am "[Editorial] any one -> anyone" - se interactive-sr "/\v([Ee])very one(\s+of)@\!/\1veryone/" src/epub/text/* git commit -am "[Editorial] every one -> everyone" - se interactive-sr "/\v([Ee])very thing/\1verything/" src/epub/text/* git commit -am "[Editorial] every thing -> everything" - se interactive-sr "/\v(<[Aa])ny thing/\1nything/" src/epub/text/* git commit -am "[Editorial] any thing -> anything" - se interactive-sr "/\v([Ff])or ever(>)/\1orever\2/" src/epub/text/* git commit -am "[Editorial] for ever -> forever" - se interactive-sr "/\v(in\s+)@<\!(<[Aa])ny way(\s+(of|to))@\!/\2nyway/" src/epub/text/* git commit -am "[Editorial] any way -> anyway" - se interactive-sr "/\v([Yy])our self/\1ourself/" src/epub/text/* git commit -am "[Editorial] your self -> yourself" - se interactive-sr "/\v([Mm])ean time/\1eantime/" src/epub/text/* git commit -am "[Editorial] mean time -> meantime" - se interactive-sr "/\v([Aa])ny how/\1nyhow/" src/epub/text/* git commit -am "[Editorial] any how -> anyhow" - se interactive-sr "/\v([Aa])ny body/\1nybody/" src/epub/text/* git commit -am "[Editorial] any body -> anybody" - se interactive-sr "/\v([Ee])very body/\1verybody/" src/epub/text/* git commit -am "[Editorial] every body -> everybody" + +
  • Create the cover image

    diff --git a/www/css/manual.css b/www/css/manual.css index f02d341a..c7075ad8 100644 --- a/www/css/manual.css +++ b/www/css/manual.css @@ -589,6 +589,33 @@ code.full .ws{ margin-top: 0; } +main.manual ul.changes table{ + margin-top: 0; +} + +main.manual ul.changes td{ + padding: 0; +} + +main.manual ul.changes tr + tr td{ + padding-top: 1rem; +} + +main.manual ul.changes td:first-child{ + text-align: right; + font-weight: bold; + padding-right: 1rem; + white-space: nowrap; +} + +main.manual ul.changes span.wrong{ + text-decoration: wavy underline red; +} + +main.manual ul.changes{ + hyphens: none; +} + main.manual h1{ margin-bottom: 2rem; }