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

2013-05-06 Thread Gareth Smith
Alan Schmitt alan.schm...@polytechnique.org writes: Hi Sebastien, Sebastien Vauban writes: I don't know OCaml at all, so I cannot try your example locally on my machine. And I don't know about other languages that support sessions, unfortunately. I can see something similar using

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

2013-05-06 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, 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

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

2013-05-03 Thread Sebastien Vauban
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

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

2013-05-03 Thread Alan Schmitt
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

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

2013-05-03 Thread Sebastien Vauban
Alan, Alan Schmitt wrote: Sebastien Vauban writes: 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

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

2013-05-03 Thread Alan Schmitt
Sebastien Vauban writes: The following does work. It does, I agree, but this does not. If you run export on this: --8---cut here---start-8--- # -*- org-confirm-babel-evaluate: nil -*- Setting the stage #+BEGIN_SRC ocaml :results silent :exports none let f

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

2013-05-03 Thread Sebastien Vauban
Alan, Alan Schmitt wrote: Sebastien Vauban writes: The following does work. It does, I agree, but this does not. If you run export on this: # -*- org-confirm-babel-evaluate: nil -*- Setting the stage #+BEGIN_SRC ocaml :results silent :exports none let f x = x;; #+END_SRC Using the

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

2013-05-03 Thread Alan Schmitt
Hi Sebastien, Sebastien Vauban writes: I don't know OCaml at all, so I cannot try your example locally on my machine. And I don't know about other languages that support sessions, unfortunately. Though, you speak of session: where is your session header argument? Isn't that the problem?

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

2013-05-02 Thread Alan Schmitt
Hello, 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