[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org babel: %% [removed source block]
From: |
Uwe Brauer |
Subject: |
Re: [O] org babel: %% [removed source block] |
Date: |
Thu, 29 Nov 2018 16:24:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>>> "John" == John Kitchin <address@hidden> 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.
smime.p7s
Description: S/MIME cryptographic signature