PPTools/Curly Quotes Versus Straight Quotes

From DPWiki
Jump to navigation Jump to search

Introduction

Consider curly quotes versus straight quotes when post processing.

Rather than having plain " surrounding quotes you can have fancier at the beginning of a quote and at the end of the quote.

If you will be implementing curly quotes it is highly recommended doing the conversion when working on the common file before doing the split between text and HTML.

GUiguts 1.3.0

Curly quote conversion has been built in to Guigut 1.3.0 and claims to be improved. Guiguts/Changelog#Overview

It is available under the Txt menu.

This frequently has to become a Search for a straight quote with multiple replacements. The first replacement is the left curly quote for quotes and the second replacement is a right curly quote for apostrophes. This lets you click through using the appropriate Replace&Search Button.

Curly quotes Advice from Noyster:

These are out of date if you are using a version of Guiguts with the Curly Quote conversion built in.

  • Take backup of .bin file
  • Curly quotes - PPTools/PPsmq
  • Read back into Guiguts
  • Close and re-open Guiguts file
  • Overwrite .bin file with the backup
  • Check results carefully using search/replace. Open-single-quote often not done.
  • Check for the @ character as PPsmq leaves them where it thinks there might be errors.

Arguments for using Curly Quotes

  • The output looks more like a book.
  • The output can look more faithful to the original.

Arguments against using Curly Quotes

  • Curly quotes do not fit into simple 8 bit codes and require 16 bit codes making the file slightly larger.
  • It's a bit more work to check to see if the correct opening or closing quotes have been used.

Notes on the character encoding

Double quotes

  • Straight quotes you can typically type " have an 8 bit code.
    • This character may also be used to indicate the preceding number was an inch measurement
  • Curly opening double quotes have a 16 big code. Depending on the font they can look like a pair of
    • grave accents lowered down
    • miniature back slashes tilting from upper left to lower right
    • upside down commas raised near the top of a letter
  • Curly closing double quotes have a 16 bit code. Depending on the font they can look like a pair of
    • acute accents lowered down
    • miniature slashes tilting from lower left to upper right
    • commas raised near the top of a letter

Single quotes

  • Straight quotes you can typically type ' have an 8 bit code.
    • This character is also used as an apostrophe
    • This character may also be used to indicate the preceding number was a foot measurement
  • Curly open quotes have a 16 bit code. Depending on the font they can look like, but not be:
    • grave accent lowered down
    • miniature back slash tilting from upper left to lower right
    • upside down comma raised near the top of a letter
  • Curly closing quotes have a 16 bit code. They are not acute accents. Depending on the font they can look like
    • acute accent lowered down
    • miniature slash tilting from lower left to upper right
    • comma raised near the top of a letter

Apostrophes

  • Straight apostrophes you can typically type ' have an 8 bit code.
    • This same character is also used as a single quote
    • This character may also be used to indicate the preceding number was a foot measurement
  • Curly apostrophes have a code that is the same as a single curly closing quote noted above.