Joseph Vidal-Rosset <[email protected]> writes: > 2014-07-21 15:40 GMT+02:00 Nick Dokos <[email protected]>: > > > It is only because I do not understand how to "tangle the (prolog) > > code". I know the export function but I know nothing about tangle. Do > > not feel forced to answer. I know that I have to read the > > documentation first and I apologize. > > > > C-c C-v C-t > > or > > M-x org-babel-tangle > > Dear Nick, > > Many thanks for your impressive patience with newbies like me. >
No problem - btw, I tried tangling the following and it worked with no problems: --8<---------------cut here---------------start------------->8--- #+PROPERTY: :exports code * Documentation This is documentation. It refers to a Prolog code block which we want to tangle: #+BEGIN_SRC prolog :tangle yes foo :- bar. #+END_SRC #+BEGIN_SRC emacs-lisp :tangle yes (setq foo bar) #+END_SRC #+name: preamble #+begin_src latex :tangle preamble.tex % code goes here #+end_src --8<---------------cut here---------------end--------------->8--- Nick
