Re: [O] tangle on export

2015-09-24 Thread Andreas Leha
Hi Alan, Alan Schmitt writes: > Hi Andreas, > > On 2015-09-24 14:14, Andreas Leha writes: > >> if all of this is for a single block, you can get away quite cheaply >> with sth along (untested) >> >> #+begin_src emacs-lisp :results silent >> (save-excursion >> ;; tangle >> (org-babel-go

Re: [O] tangle on export

2015-09-24 Thread Alan Schmitt
Hi Rainer, On 2015-09-24 13:17, Rainer M Krug writes: > Alan Schmitt writes: > >> Hello, >> >> 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. > > Tangling and exporting are two different paths (well -

Re: [O] tangle on export

2015-09-24 Thread Alan Schmitt
Hi Andreas, On 2015-09-24 14:14, Andreas Leha writes: > if all of this is for a single block, you can get away quite cheaply > with sth along (untested) > > #+begin_src emacs-lisp :results silent > (save-excursion > ;; tangle > (org-babel-goto-named-src-block "hello") > (org-babel-

Re: [O] tangle on export

2015-09-24 Thread Andreas Leha
Hi Alan, Rainer M Krug writes: > Alan Schmitt writes: > >> Hello, >> >> 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. > > Tangling and exporting are two different paths (well - one could see > tanglin

Re: [O] tangle on export

2015-09-24 Thread John Kitchin
I would add a third Elisp block that calls org-babel-tangle. Assuming all your code blocks execute on export that will make it tangle. Or I have also made an Elisp block that does the tangle and then runs the export command. I.e. Not using the keyboard shortcuts for export. On Thursday, September

Re: [O] tangle on export

2015-09-24 Thread Rainer M Krug
Alan Schmitt writes: > Hello, > > 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. Tangling and exporting are two different paths (well - one could see tangling as a special case of exporting). You have