On Monday, 3 Aug 2015 at 17:08, Rick Frankel wrote: [...]
> Both should work. Are you sure you have `org-export-allow-bind-keywords' set? > Why wouldn't you expect local variables to work? Okay, I have tracked the problem down. Took some effort and boy did this test my not very extensive emacs lisp knowledge! I do need to learn how to use the Emacs debugger. Task for a rainy day... In any case, the problem is that the fontification happens (org-html-htmlize-output-type not nil) in org-html-fontify-code using with-temp-buffer which resets org-html-htmlize-output-type back to inline-css or whatever the global setting for that variable happens to be. So, basically, one can have code fontified with inline-css or not at all unless the output type is set to css globally. I hope this makes sense. Trying to fix this is definitely beyond my ability unfortunately. I may need to see how onerous it is to set the output type to css globally. Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3beta-1315-ga3b2b7