>>> "John" == John Kitchin writes: > Maybe you need :exports and not :export. > John I tried also lisp #+begin_src elisp :tangle test.el :exports code :padline no (require 'ob-ipython) (setq org-confirm-babel-evaluate t) ;don't prompt me to confirm everytime I want to evaluate a block ;;; display/update images in the buffer after I evaluate (add-hook 'org-babel-after-execute-hook 'org-display-inline-images 'append) #+end_src The basic idea is. That we do. We also will #+begin_src elisp :tangle test.el :exports code :padline no (defun org-babel-execute:matlab-org (body params) "Execute a block of matlab code with Babel." (org-babel-execute:octave body params 'matlab)) #+end_src But no, when exporting to latex the source code is removed.