Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
I forgot to mention the most exciting thing of all I'm intending to add parameterized chunks; so you can define a chunk to illustrate an algorithm which you can then "instantiate" in various places to work on specific data. I've been using this model a lot for one project and had to keep

Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
Gorjanc Gregor wrote: Based upon previous work I used literate classes since this has been proposed earlier. However, Jean-Marc has been working on another approach with modules, which make literate classes for R-LyX obsolete. Right Jean-Marc? Can this approach also be used for noweb and work o

RE: New literate programming with Lyx

2009-08-11 Thread Gorjanc Gregor
>> Based upon previous work I used literate classes since >> this has been proposed earlier. However, Jean-Marc has been working on >> another approach with modules, >> which make literate classes for R-LyX obsolete. Right Jean-Marc? Can this >> approach also be used for noweb >> and work of Sam?

Re: New literate programming with Lyx

2009-08-11 Thread Vincent van Ravesteijn
Sam Liddicott schreef: Vincent van Ravesteijn - TNW wrote: >> Can I use it on Windows ? I haven't got windows to try but AFAIk there is nothign windows-specific or even path-related in it, so I guess you can, as long as you have a decent awk for windows. > > Please let me know ho

Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
Vincent van Ravesteijn - TNW wrote: >> Can I use it on Windows ? I haven't got windows to try but AFAIk there is nothign windows-specific or even path-related in it, so I guess you can, as long as you have a decent awk for windows. > > Please let me know how you get on. Can't i

Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
Vincent van Ravesteijn - TNW wrote: >> Can I use it on Windows ? > > I haven't got windows to try but AFAIk there is nothign > windows-specific or even path-related in it, so I guess you > can, as long as you have a decent awk for windows. > > Please let me know how you get on. Can't

Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
Gorjanc Gregor wrote: Hi Sam! This sounds interesting, though a bit to technical for me. My work regarding the literate programming with LyX was with R - statistical package that provides tangle and weave commands that extract R code and replace code with results, respectively. Aye, I read

RE: New literate programming with Lyx

2009-08-11 Thread Vincent van Ravesteijn - TNW
>> Can I use it on Windows ? > > I haven't got windows to try but AFAIk there is nothign > windows-specific or even path-related in it, so I guess you > can, as long as you have a decent awk for windows. > > Please let me know how you get on. Can't it be done using Python (hoping this i

RE: New literate programming with Lyx

2009-08-11 Thread Gorjanc Gregor
Hi Sam! This sounds interesting, though a bit to technical for me. My work regarding the literate programming with LyX was with R - statistical package that provides tangle and weave commands that extract R code and replace code with results, respectively. Based upon previous work I used litera

Re: New literate programming with Lyx

2009-08-11 Thread Sam Liddicott
Vincent van Ravesteijn - TNW wrote: notangle (which was buggy) is not used to generate the source, instead an awk script, newfangle, is used, fixing various notangle bugs; such as: Can I use it on Windows ? I haven't got windows to try but AFAIk there is nothign windows-specific or eve

RE: New literate programming with Lyx

2009-08-11 Thread Vincent van Ravesteijn - TNW
> notangle (which was buggy) is not used to generate > the source, instead an awk script, newfangle, is used, > fixing various notangle bugs; such as: Can I use it on Windows ? Vincent