Nick Dokos <ndo...@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