Re: [O] Babel Tangle issues

2013-11-02 Thread Pete Ley
Sam Flint swfl...@flintfam.org writes:

 I use org-babel to LP, and when I go to tangle, I get very little
 output, a shebang line and that is about it, I have noweb set to tangle,
 yet my references do not resolve.  Any ideas why?

Without seeing your specific setup, I can't say for sure, but I seem to
remember having a similar problem when I didn't set up my NAME lines
correctly with the code blocks I was trying to tangle. Can you post an
example of the code that isn't working?



Re: [O] Babel Tangle issues

2013-11-01 Thread Eric Schulte
Sam Flint swfl...@flintfam.org writes:

 I use org-babel to LP, and when I go to tangle, I get very little
 output, a shebang line and that is about it, I have noweb set to tangle,
 yet my references do not resolve.  Any ideas why?

Without a minimal example illustrating the problem it is impossible to
say.  The following tiny example works as expected.

This,

#+Title: example of tangling with noweb

* Two noweb blocks
#+name: begin
#+begin_src sh
  echo begin
#+end_src

#+name: end
#+begin_src sh
  echo end
#+end_src

* Containing tangled block
#+begin_src sh :tangle yes :noweb tangle
  begin
  date
  end
#+end_src

tangles to this,

echo begin
date
echo end

Best,

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D