emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ben Finney <ben+emacs@benfinney.id.au>
To: emacs-orgmode@gnu.org
Subject: Re: Dumbquotes in exported source listings
Date: Sun, 01 May 2011 13:13:26 +1000	[thread overview]
Message-ID: <871v0ji04p.fsf@benfinney.id.au> (raw)
In-Reply-To: BANLkTi=p7J2q15feBEEG6Md12sgHDTDRxw@mail.gmail.com

Avdi Grimm <groups@inbox.avdi.org> writes:

> One issue: my beta reviewers have noted that when copy-and-pasting
> source code listings that contain single-quoted strings, they are
> getting "smart quotes"--i.e. the first quote is a backquote, the
> second quote is a single quote. This breaks the pasted code.

Those aren't even “smart quotes” (the term usually applied to the quote
characters from Microsoft's standards-violating character set). Those
are what might be called “TeX quotes” (though the convention pre-dates
even TeX), since TeX uses ‘`’ for an opening single quote and ‘``’ for
an opening double quote.

Nowadays with Unicode available ubiquitously we can simply use the
correct typographical quotation marks directly in the plain text file,
but TeX and some other legacy systems don't work very well with Unicode.

-- 
 \      “Often, the surest way to convey misinformation is to tell the |
  `\               strict truth.” —Mark Twain, _Following the Equator_ |
_o__)                                                                  |
Ben Finney

  reply	other threads:[~2011-05-01  3:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30 23:39 Dumbquotes in exported source listings Avdi Grimm
2011-05-01  3:13 ` Ben Finney [this message]
2011-05-01 16:41   ` Avdi Grimm
2011-05-01 19:08   ` Nick Dokos
2011-05-01 20:26     ` Sébastien Vauban
2011-05-01 21:31       ` Nick Dokos
2011-05-01 21:40       ` Ben Finney
2011-05-01 21:27     ` Ben Finney
  -- strict thread matches above, loose matches on Subject: below --
2011-04-27 20:57 Missing Introduction and About sections in LaTeX export Avdi Grimm
     [not found] ` <groups@inbox.avdi.org>
2011-04-27 21:41   ` Nick Dokos
2011-04-27 21:47     ` Avdi Grimm
2011-04-27 22:23       ` Nick Dokos
2011-04-28  7:55         ` Sébastien Vauban
2011-04-28 11:36           ` Nick Dokos
2011-05-01 19:04   ` Dumbquotes in exported source listings Nick Dokos
2011-04-27 22:21 ` Missing Introduction and About sections in LaTeX export Avdi Grimm
2011-04-28 11:06   ` Eric S Fraga

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=871v0ji04p.fsf@benfinney.id.au \
    --to=ben+emacs@benfinney.id.au \
    --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).