>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>>>>> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:
Amir> Yeah, it would be nice if we merged it into reLyX.
Amir> It shouldn't be too hard to break nwconvert in two pieces, and
Amir> have 'reLyX -n' (for example) automatically call the pre- &
Amir> post-processing subroutines.
Jean-Marc> I did not insist on this (since I'm not going to do it
Jean-Marc> myself), but it seems to me that breaking nwconvert in two
Jean-Marc> subroutines the reLyX can call would be pretty easy... But,
Jean-Marc> ultimately, you get to decide what actually happens.
Jean-Marc> Note also that merging reLyX and nwconvert would allow to
Jean-Marc> pass flags to reLyX...
Hi everyone.
I made some changes to reLyX to call ``noweb2lyx -pre'' and
``noweb2lyx -post'' in the right places. The changes are rather small.
It works nicely and it now means that I can say:
reLyX -n -c literate-article foo.nw
and it will generate the LyX file foo.nw.lyx from the noweb file foo.nw.
I rolled everything into the patch file (I hope it applies cleanly)
against the latest 1.0.2pre4.
Enjoy!
LyX patch
---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)