> > I looked in the source code of ob-screen and try to get an idea why it > doesn't work. However compare to other babel modes I could not find that > it is missing anything related to noweb. It seems to me that noweb is a > babel mode independent functionality and hence should work with all babel > languages. > This is certainly the case, noweb expansion occurs *before* the language specific code is invoked. In fact I can confirm that an expanded body is passed to the screen execution function. Are you sure that it is only screen code blocks for which you are having trouble with noweb references? Could you ensure that the attached example above expands for sh code blocks, and then try to translate it to screen code blocks? > > If I'm wrong could someone please point me to an example in the source code > how to implement noweb functionality. > The above example should serve, the manual is also a good resource, and finally there any many small examples located at http://eschulte.github.com/org-scraps/ Best -- Eric > > Thanks a lot > > Torsten > > Cc. Sorry all this is written down from memory on my smartphone and hence > no code examples and maybe wrong syntax. -- Eric Schulte http://cs.unm.edu/~eschulte/