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: +

    “Let’s have a game of ‘noses’, lads!”

    +

    “Let’s have a game of ‘noses,’ lads!”

    +
    Incorrect change: +

    This wood now is not mine, but the peasants’.

    +

    This wood now is not mine, but the peasants.’

    +
  • The second commit

    diff --git a/www/css/manual.css b/www/css/manual.css index 70f4c764..fa3dd868 100644 --- a/www/css/manual.css +++ b/www/css/manual.css @@ -637,7 +637,8 @@ main.manual ul.changes td:first-child{ white-space: nowrap; } -main.manual ul.changes span.wrong{ +main.manual ul.changes span.wrong, +main.manual code.wrong{ text-decoration: wavy underline red; }