From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: exporting org to latex, execute matlab before exporting Date: Sun, 6 Aug 2017 16:04:13 -0500 Message-ID: References: <87poce6ukv.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deSih-00047q-CI for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 17:04:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deSid-0000kQ-DX for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 17:04:19 -0400 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:34866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deSid-0000k0-5A for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 17:04:15 -0400 Received: by mail-io0-x22c.google.com with SMTP id m88so19862006iod.2 for ; Sun, 06 Aug 2017 14:04:15 -0700 (PDT) In-Reply-To: <87poce6ukv.fsf@mat.ucm.es> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" On Wed, Aug 2, 2017 at 7:08 AM, Uwe Brauer wrote: > Which is what I want. When I convert the org file to latex I am again > asked to execute the src block, which I don't want since it is already > executed. How can I avoid this question, without deleting the src block. > This is important if I have a lot of blocks which I already have > executed, and want to export the file without denying is executing every > time I am asked. Never evaluate source-blocks or in-line-source-blocks *on export*. #+NAME: org_gcr_2017-05-12_mara_FE5C21BF-9766-4277-A413-B3AF5C255C39 #+BEGIN_SRC emacs-lisp (help/set-org-babel-default-header-args :eval "never-export") (help/set-org-babel-default-inline-header-args :eval "never-export") #+END_SRC Never evaluate in-line-source-blocks *on export*. #+NAME: org_gcr_2017-05-12_mara_DB816700-04B3-45D0-9847-490BBFE9DBA0 #+BEGIN_SRC emacs-lisp (setq org-export-babel-evaluate nil) #+END_SRC