emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Don March <don.march@gmail.com>
To: emacs-orgmode@gnu.org
Subject: quotation marks in LaTeX (again)
Date: Mon, 4 Oct 2010 16:00:07 -0400	[thread overview]
Message-ID: <AANLkTimPXpqj=VEmQcjCQ=EMW3z87w-a2T9SWNf4JFTP@mail.gmail.com> (raw)

There's been some talk about quotation marks when exporting to LaTeX,
but I've noticed some issues in addition (I think) to those mentioned
by others.

     "'a quote' inside a quote"
is exported to LaTeX as
     ``'a quote' inside a quote''
but should be
     ``\,`a quote' inside a quote''

Similarly,
     "a quote that ends with 'a quote'"
is exported as
     ``a quote that ends with `a quote'''
but should be
     ``a quote that ends with `a quote'\,''

Implementing the \enquote solution proposed by Sven Bretfeld would a
fix for this, but that would probably have to be optional.  So I was
working on a regexp fix for this, but then I realized that there's a
host of cases where the beginning quote isn't recognized as beginning
because there isn't whitespace in front of it, such as when a quote
starts a parenthetical ("like this").  Maybe the solution is to use
the list of "allowed chars in pre" from
org-emphasis-regexp-components?

Don

             reply	other threads:[~2010-10-04 20:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-04 20:00 Don March [this message]
2010-10-05  7:42 ` quotation marks in LaTeX (again) Carsten Dominik
2010-10-05 14:23   ` Don March
2010-10-05  8:42 ` Sven Bretfeld
2010-10-05 14:36   ` Don March

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='AANLkTimPXpqj=VEmQcjCQ=EMW3z87w-a2T9SWNf4JFTP@mail.gmail.com' \
    --to=don.march@gmail.com \
    --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).