emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Nested smart quotes
Date: Thu, 05 Oct 2017 20:41:06 +0100	[thread overview]
Message-ID: <87y3opqt65.fsf@yandex.com> (raw)
In-Reply-To: <87wp49tnla.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Thu, 05 Oct 2017 15:13:21 -0400")

>>>>> Nick Dokos <ndokos@gmail.com> writes:

    > Martin Alsinet <martin@alsinet.com.ar> writes:
    >> ...  I have found that the smart-quotes option of org-mode does
    >> not export properly the quotes when they are nested (single
    >> quotes inside double quotes), but only when they coincide at the
    >> start or the end of the quote.
    >> 
    >> Maybe the problem will be clearer with an example:
    >> 
    >> #+TITLE: Smart quotes example #+OPTIONS: toc:nil ':t #+LANGUAGE:
    >> en #+LATEX_CLASS: book She said to me: "Rick screamed, 'let's go
    >> together'"
    >> 

    > This example has the additional problem of the apostrophe in
    > "let's", which basically causes more mayhem. Let's simplify the
    > example a bit by considering


    > Going back to the original string with the apostrophe, I don't see
    > any way that org or TeX can deal with it except by really
    > understanding what is being said: having the apostrophe be denoted
    > by the same symbol as the closing quote is bound to introduce
    > ambiguities. In these days of Unicode, I think the only solution
    > is to use xelatex or another Unicode-cognizant TeX system and to
    > use a proper apostrophe.

    > -- Nick


TeX/LaTeX were after all designed primarily for mathematics. That said,
it might be worth looking at the upquote package:

https://ctan.org/pkg/upquote.

-- 
Colin Baxter
m43cap@yandex.com
---------------------------------------------------------------------
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8
---------------------------------------------------------------------
"There is no more common error than to assume that, because prolonged and
accurate mathematical calculations have been made, the application of
the result to some fact of nature is absolutely certain." A. N. Whitehead

  reply	other threads:[~2017-10-05 19:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 16:27 Nested smart quotes Martin Alsinet
2017-10-05 17:22 ` Colin Baxter
2017-10-05 17:39   ` Martin Alsinet
2017-10-05 18:46 ` Nicolas Goaziou
2017-10-05 19:13 ` Nick Dokos
2017-10-05 19:41   ` Colin Baxter [this message]
2017-10-05 19:41   ` Martin Alsinet
2017-10-05 21:36     ` Nested smart quotes [fixed] Martin Alsinet
2017-10-05 21:56 ` Nested smart quotes Adonay Felipe Nogueira
2017-10-05 22:21   ` Martin Alsinet

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=87y3opqt65.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).