emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-entities-user in caption of Latex export
Date: Thu, 24 Jul 2014 06:32:40 -1000	[thread overview]
Message-ID: <m2fvhq7m53.fsf@tsdye.com> (raw)
In-Reply-To: <87ppgulpfc.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Thu, 24 Jul 2014 11:57:59 -0400")

Nick Dokos <ndokos@gmail.com> 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

  reply	other threads:[~2014-07-24 16:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  0:09 Org-entities-user in caption of Latex export Thomas S. Dye
2014-07-24  8:03 ` Nicolas Goaziou
2014-07-24 15:31   ` Thomas S. Dye
2014-07-24 15:57     ` Nick Dokos
2014-07-24 16:32       ` Thomas S. Dye [this message]
2014-07-25 13:25     ` Nicolas Goaziou
2014-07-25 16:06       ` Thomas S. Dye

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=m2fvhq7m53.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).