On Mon, Dec 15, 2003 at 06:28:46PM +0000, stuart macgregor wrote: > With help I got the noweb interface running, but what I have does not seem > worth using. > > Lyx now sports the 3 promised doc styles and if article(noweb) is used then > lyx will offer to export to noweb, or ascii custom... > > I appear to have lost the ability to generate .ps, .dvi, .html etc.
I use noweb (literate programming) with LyX all the time and I don't have any problems with it. I have not lost the ability to do ps, dvi, PDF either. This is undoubtedly a configuration problem. > The noweb package says it can generate latex and html - but the html it > produces is hopeless, and it does not come with the l2h filter its man page > advises of. My HTML output from noweb (via LyX) is not pretty, but it certainly works (and it does use the l2h filter). You may need to put the drectory where l2h was installed in your path. > Lyx can re-ingest the .nw file it can export - but that seems to be about it. At least one thing works. ;-) > The noweb notangle command will collect the bits of embedded scrap code - but > I could do much the same with a perl script ol 'Lyx code' segments, without > loosing the other lyx facilities. > > For scilab maths such as I am currently doing I usually do the thinking and > write up in a .lyx file and then generate the code using gvim. I had hoped > to integrate these stages and end up with integrated documentation, but these > tools do not seem to cut the mustard. > > I loose syntax highliting, paranthesis match, smart indent, name completion > etc. etc. from the gvim side, and ease and quality of maths and graphics doc > output from the lyx side, and gain extra hassle, for no obvious advantage. It may be that for what you want to do, using gvim or xemacs in combination may work better for you. I use LyX and Literate styles all the time without any issue. > nountangle defaults to outputting C style comments - it will do a few others - > but does not offer C++ style used by scilab and (and available to C++) > > There really should be advantage in integrating the maths and pictures and > general layout facilities of lyx and the code editing facilities of gvim (or > etc) and supporting the creation of good integrated documentation. Maybe at some point, a "code editor" facility can be added? I don't know, but I don't have the time to make any such additions. > This noweb stuff seems at this point a poor tool. Perhaps with a good > knowledge of the tools it may be possible to coax it into some form of useful > life - but I've got work I need to get done. I don't think it's a poor tool, it may simply be a poor match for what you want to do. Best regards, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)