emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jay Dixit <dixit@aya.yale.edu>
To: org-mode org <emacs-orgmode@gnu.org>
Subject: bug in org-export-smart-quotes
Date: Fri, 27 Mar 2015 14:45:31 -0400	[thread overview]
Message-ID: <CAGE7GqB0VCPneBeRHRg=S-u5KwuOBPgKJbGqGx8feRXAOZEJDw@mail.gmail.com> (raw)

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

Hi everyone,

I've noticed that when I use quotation marks in conjunction with an em dash
(—), org-export-smart-quotes gets confused and forgets to activate smart
quotes for the closing quotation mark.

If my org-mode file contains a sentence like this...

A [[
http://spp.sagepub.com/content/early/2015/01/23/1948550614568867.abstract][new
study]] published in Psychological and Personality Science has found that
helping other people---what scientists call being "prosocial"---increases
your odds of finding a long-term relationship.

...then it exports to HTML like this:

A new study
<http://spp.sagepub.com/content/early/2015/01/23/1948550614568867.abstract>
published
in Social Psychological and Personality Science has found that helping
other people—what scientists call being “prosocial"—increases your odds of
finding a long-term relationship.

Note the non-smart closing quotation mark. Does anyone know a fix for this?

Thanks!

Jay

---
Jay Dixit
jaydixit.com
(646) 355-8001
Jay Dixit

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

             reply	other threads:[~2015-03-27 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 18:45 Jay Dixit [this message]
2015-03-27 19:20 ` bug in org-export-smart-quotes Nick Dokos
2015-03-27 20:23 ` Jay Dixit
2015-03-27 23:35   ` Nick Dokos
2015-03-28 15:03   ` Nicolas Goaziou

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='CAGE7GqB0VCPneBeRHRg=S-u5KwuOBPgKJbGqGx8feRXAOZEJDw@mail.gmail.com' \
    --to=dixit@aya.yale.edu \
    --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).