From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: How to ensure code blocks are run during export? Date: Fri, 03 May 2013 10:44:20 +0200 Message-ID: <86bo8sbggr.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Alan, Alan Schmitt wrote: > I'm writing an exam in org mode, and it's going really well. I need to > have some code in code blocks being run during export (as it's defining > some functions for later questions), but I don't want anything to be > displayed in the final document. At the moment I use the following > options in the block: > > :results silent :exports results > > Is it the correct way to do it? It works, but a better way'd simply be ":exports none". Best regards, Seb -- Sebastien Vauban