diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index d6bfbc7e..46b7ef14 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -179,9 +179,6 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll sed --regexp-extended --in-place "s|([0-9])+’|\1′|g" src/epub/text/* sed --regexp-extended --in-place "s|([0-9])+”|\1″|g" src/epub/text/* -
  • -

    Typography rules for ampersands in names. This regex helps match candidates: [a-zA-Z]\.?\s*&\s*[a-zA-Z]

    -
  • Text in all caps. Text in all caps is almost never correct, and should either be converted to lowercase with the <em> tag (for spoken emphasis), <strong> (for extreme spoken emphasis), or <b> (for unsemantic small caps, like in storefront signs). This case-sensitive regex helps find candidates: (?<!en-)(?<!z3998:roman">)(?<![A-Z])[A-Z]{2,}(?!")