From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Org-entities-user in caption of Latex export Date: Thu, 24 Jul 2014 06:32:40 -1000 Message-ID: References: <87zjfzw5e2.fsf@nicolasgoaziou.fr> <87ppgulpfc.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XALx2-00056e-VB for emacs-orgmode@gnu.org; Thu, 24 Jul 2014 12:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XALwv-0000Pz-Bm for emacs-orgmode@gnu.org; Thu, 24 Jul 2014 12:33:04 -0400 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:56905) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XALwv-0000OK-4S for emacs-orgmode@gnu.org; Thu, 24 Jul 2014 12:32:57 -0400 In-Reply-To: <87ppgulpfc.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Thu, 24 Jul 2014 11:57:59 -0400") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: >> # Local Variables: >> # eval: (require 'ox-latex) >> # eval: (and (fboundp 'org-sbe) (not (fboundp 'sbe)) (fset 'sbe 'org-sbe)) >> # org-entities-user: nil >> # eval: (sbe "user-entities-local") >> # End: > > It might be an order-of-evaluation problem. What happens if you set > org-entities-user to nil first thing in the code block rather than in > the local variables? Yes, as I mentioned, removing the org-entities-user: nil line from the Local Variables section gets rid of the problem. Once that line is gone, I get expected results with and without (setq org-entities-user nil) in the source code block. The curious thing (to me) is that the problem is restricted to captions. The user entities work fine outside of captions regardless of the org-entities-user: nil line in Local Variables. hth, Tom -- Thomas S. Dye http://www.tsdye.com