emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Single outer smart quotes.
@ 2015-09-12  0:34 Leonard Randall
  2015-09-13 20:10 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Leonard Randall @ 2015-09-12  0:34 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Single outer smart quotes.
  2015-09-12  0:34 Single outer smart quotes Leonard Randall
@ 2015-09-13 20:10 ` Nicolas Goaziou
  2015-09-14 18:12   ` Leonard Randall
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-09-13 20:10 UTC (permalink / raw)
  To: Leonard Randall; +Cc: emacs-orgmode

Hello,

Leonard Randall <leonard.a.randall@gmail.com> writes:

> 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.

Correct.

> 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?

The latter. You can fix "en" entry in `org-export-smart-quotes-alist'
and add a new "us" entry, if needed.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Single outer smart quotes.
  2015-09-13 20:10 ` Nicolas Goaziou
@ 2015-09-14 18:12   ` Leonard Randall
  0 siblings, 0 replies; 3+ messages in thread
From: Leonard Randall @ 2015-09-14 18:12 UTC (permalink / raw)
  To: Leonard Randall, emacs-orgmode, mail

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

Thanks for the help!

On 13 September 2015 at 21:10, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Leonard Randall <leonard.a.randall@gmail.com> writes:
>
> > 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.
>
> Correct.
>
> > 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?
>
> The latter. You can fix "en" entry in `org-export-smart-quotes-alist'
> and add a new "us" entry, if needed.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-14 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-12  0:34 Single outer smart quotes Leonard Randall
2015-09-13 20:10 ` Nicolas Goaziou
2015-09-14 18:12   ` Leonard Randall

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).