From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don March Subject: quotation marks in LaTeX (again) Date: Mon, 4 Oct 2010 16:00:07 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=32823 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2rD6-0004gE-Bl for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 16:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2rD4-0006TX-Th for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 16:00:31 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2rD4-0006TM-Om for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 16:00:30 -0400 Received: by wyb36 with SMTP id 36so6938721wyb.0 for ; Mon, 04 Oct 2010 13:00:28 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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