diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index 46b7ef14..83e89fc9 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -189,7 +189,27 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll
Two-em dashes should be used for elision.
Commas and periods should generally be inside quotation marks, not outside. This regex helps find them: [’”][,.]
Commas and periods should generally be inside quotation marks, not outside. This command helps find and replace them:
+se interactive-sr "/\v([’”])([,.])/\2\1/" src/epub/text/*
+ When using this command, be careful to distinguish between the use of ’
as a quotation mark and its use in elision or as part of a plural possessive (i.e. s’
).
Correct change: | +
+
|
+
Incorrect change: | +
+
|
+