emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leonard Randall <leonard.a.randall@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Single outer smart quotes.
Date: Sat, 12 Sep 2015 01:34:57 +0100	[thread overview]
Message-ID: <CAMRQoAmsWLRg4CsTRjEBrVSs65guRZideogyNrnSeCHJfOx=DQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

Hi,

The new smart quotes algorithm does not seem to capture British style
quoting (single outer quotes, double inner quotes) correctly. It treats all
single quotes that are not enclosed in double quotes as apostrophes. I
assume that it was revised to deal with apostrophes that occur on the
outside of words, and I saw that it was updated again just last week to
deal with some edge cases. Do you think that there is an easy way to make
it recognise single outer quotes without sacrificing the recent gains, or
would it be better just to treat American style quoting as the standard for
source files, and just add an en-gb entry to org-export-smart-quotes-alist
that converts double quotes to single quotes and vice versa?

Thanks,
Leonard

[-- Attachment #2: Type: text/html, Size: 815 bytes --]

             reply	other threads:[~2015-09-12  0:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12  0:34 Leonard Randall [this message]
2015-09-13 20:10 ` Single outer smart quotes Nicolas Goaziou
2015-09-14 18:12   ` Leonard Randall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMRQoAmsWLRg4CsTRjEBrVSs65guRZideogyNrnSeCHJfOx=DQ@mail.gmail.com' \
    --to=leonard.a.randall@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).