[Top][All Lists]

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

Re: [O] Nested smart quotes

From: Adonay Felipe Nogueira
Subject: Re: [O] Nested smart quotes
Date: Thu, 05 Oct 2017 18:56:27 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

What about using org-entities for these quotes?

\ldquo{}Hello \lsquo{}World\rsquo{}!\rdquo{}

This is Org mode syntax, not LaTeX.

Martin Alsinet <address@hidden> writes:

> Hello!
> My name is Martin and I use org-mode every day. This is my first message to
> the mailing list, and I wanted to ask if somebody could help me with a
> problem I encountered when exporting a document with nested smart quotes.
> I have submitted the same question to the emacs Stack Exchange, and someone
> suggested there to send a message to this list. I assume many people here
> reads their email inside emacs, and since this email has embedded images, you
> might see it better formatted in SO.
> 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 gets exported to TeX as:
> She said to me: ``Rick screamed, `let's go together'''
> Which gets rendered as PDF as:
> The order of the closing quotes is wrong
> The order of the closing quotes gets reversed, it first closes the outside
> double quotes and then the nested single quote.
> I have tried leaving a space between them, but that is arguably worse
> Org:
> She said to me: "Rick screamed, 'let's go together' " 
> TeX:
> She said to me: ``Rick screamed, `let's go together' "
> PDF:
> Internal quotes are ok, closing double quote is wrong
> In this case, the internal single quotes are rendered correctly, but the
> closing quote is not converted into its "smart" version.
> If the nested quotes are in such a way that there are other characters
> between the quotes, that is they are not together at the start or the end of
> the quote, they get rendered correctly.
> Thanks in advance
> Martin

- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

reply via email to

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