emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to ensure code blocks are run during export?


From: Alan Schmitt
Subject: Re: [O] How to ensure code blocks are run during export?
Date: Fri, 03 May 2013 11:57:22 +0200
User-agent: mu4e 0.9.9.5; emacs 24.3.1

Sebastien Vauban writes:

> 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".

I tried, and this does not run the code block (I see errors for later
code blocks that depend on it, and there is no mention of running that
code block in the log).

Alan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]