Eric S Fraga <e.fraga <at> ucl.ac.uk> writes: > > On Wednesday, 30 Apr 2014 at 18:00, Luke Crook wrote: > > The following example is not being exported in Latex as a code block. However > > it is exported correctly in HTML export. org-mode version 8.2.6 > > > > #+BEGIN_SRC emacs-lisp -n -r > > (save-excursion (ref:sc) > > (goto-char (point-min))) (ref:jump) > > #+END_SRC > > What do you actually get in your latex export? I have just tried this > and it works just fine. Mind you, my org is not quite up to date but it > *is* 8.2.6. >
Found the culprit. I have the following in my emacs.org file ** Fontify source blocks in Latext #+BEGIN_SRC emacs-lisp (setq org-latex-listings t) #+END_SRC Setting org-latex-listings back to NIL fixed the problem.