Amir> So I've added the stuff Kayvan submitted for noweb. This
Amir> includes a -n option to reLyX, as well as a separate noweb2lyx
Amir> command. The two *ought* to do exactly the same thing, although
Amir> I won't guarantee it :)
Thanks, Amir. The only difference between noweb2lyx standalone and the
``reLyX -n'' mode of operation is that you can also pass other command
line arguments to reLyX when using it.
Amir> If anyone's got any noweb stuff, please try this out. I'm
Amir> *probably* not supposed to be adding any features right before
Amir> 1.0.2, but the good news is that all of the -n stuff is
Amir> completely enclose in "if -n option" blocks, so it can't
Amir> possibly (?) affect the rest of reLyX. Anyway, if people *do*
Amir> find bugs tomorrow, then we can fix it before the 1.0.2 release.
Yup. I'm sure it won't break any existing reLyX functionality. It
seems to work pretty well for a lot of the noweb contrib files I've
tried. The ones that get a bit messed up are the ones that contain a
lot of raw TeX code (but then again, those files are hard on reLyX as
well).
Amir> There may be a 2.9.2.2 tomorrow. We'll see.
Probably. :-) I'm not done tweaking.
Amir> The neat thing about literate programming is that noweb2lyx is
Amir> its own documentation. I put it in lib/examples, since it's an
Amir> example of a literate document, and I didn't think anyone would
Amir> see it in lib/reLyX. Let me know if that was a dumb move.
Cool!
Amir> Well done, Kayvan! But be careful: now that you've edited the
Amir> reLyX code, I may be forwarding you my extremely long TODO list
Amir> :)
Heh. I'll happily contribute wherever I can. I was going to take a
stab at seeing if I could add "Import->Noweb File" to the Import
menu.
---Kayvan
--
Kayvan Aghaiepour Sylvan | Proud husband of | Father to
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan | | Robin Gregory (2/28/92)