Gregor Gorjanc <[EMAIL PROTECTED]> writes: ... > to noweb only. Sweave is based on noweb, but has a bit different philosophy > uses code to do the "computing in the document" and the code is then replaced > with the results. Does anyone see any other route to provide Sweave support > directly in LyX?
Thinking a bit further, this could be solved by another option for tex2lyx to specify which literate programing file format would be chosen. I suggest noweb for default name instead of literate as literate is far more general than noweb. For Sweave file format name sweave could be chosen. In the future somebody could also provide support for other literate programming tools and this could then be used. My luck is that Sweave resembles noweb so much that noweb part of tex2lyx can be used. Then layout files could be named as noweb-* sweave-* whatever-* Of course this involves quite a lot of work in several places. Any thoughts? Is there anyone that would bite into this? My C++ knowledge is unfortunately at level zero. Gregor