From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export, problem with quotes Date: Thu, 26 Dec 2013 18:02:15 +0100 Message-ID: <87mwjnsfzc.fsf@gmail.com> References: <87y5377s50.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwEJt-0006zz-FH for emacs-orgmode@gnu.org; Thu, 26 Dec 2013 12:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwEJn-0002z7-Kt for emacs-orgmode@gnu.org; Thu, 26 Dec 2013 12:02:01 -0500 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:49296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwEJn-0002yt-Ew for emacs-orgmode@gnu.org; Thu, 26 Dec 2013 12:01:55 -0500 Received: by mail-wg0-f43.google.com with SMTP id k14so7499877wgh.22 for ; Thu, 26 Dec 2013 09:01:54 -0800 (PST) In-Reply-To: (Thomas S. Dye's message of "Thu, 26 Dec 2013 06:49:58 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode tsd@tsdye.com (Thomas S. Dye) writes: > I'm getting the same incorrect result as before with: > > Org-mode version 8.2.4 (release_8.2.4-391-g954168 @ > /Users/dk/.emacs.d/src/org-mode/lisp/) Did you reload Org? I cannot reproduce the problem anymore. >> Nevertheless, there will always be failing cases in smart quote >> detection (see `org-export-smart-quotes-regexps'). > > I can't comprehend the regular expression(s) there, unfortunately. If it > is the case that there will always be failing cases, and my goal is to > create a stable piece of reproducible research, would you recommend an > approach that sets org-entities-user appropriately at the file-local > level, or something else? I mean that choosing between an opening quote, a closing quote, or nothing is done with a regexp. It cannot cover all cases, and some tricky situations will fool smart quote mechanism. If that happens, and if `org-export-smart-quotes-regexps' cannot be improved to handle the situation consistently, you will have to specify LaTeX quote code manually (e.g. with an export snippet, or an entity). I cannot see the link with reproducible research, though. Regards, -- Nicolas Goaziou