|Subject:||Re: [O] tangle on export|
|Date:||Thu, 24 Sep 2015 07:51:53 -0400|
I have a question I feel is very basic but I did not find the answer in
the manual. How can I trigger the tangling of a block upon export.
More precisely, I want to give the following example in a lecture:
#+begin_src ocaml :tangle myprog.ml
Printf.printf "Bonjour le monde !\n"
#+BEGIN_SRC sh :exports both :results verbatim
ocamlc -o myprog myprog.ml
where I show a program to be compiled and actually compile it. Is there
a header I should put on the "hello" block to tangle it when I export
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated September 22, 2015, Mauna Loa Obs.): 397.77 ppm
|[Prev in Thread]||Current Thread||[Next in Thread]|