emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Nested smart quotes


From: Colin Baxter
Subject: Re: [O] Nested smart quotes
Date: Thu, 05 Oct 2017 20:41:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

>>>>> Nick Dokos <address@hidden> writes:

    > Martin Alsinet <address@hidden> 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
address@hidden
---------------------------------------------------------------------
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 via email to

[Prev in Thread] Current Thread [Next in Thread]