On Wed, Sep 29, 1999 at 09:30:20AM -0400, [EMAIL PROTECTED] wrote:
> I'm trying to learn about lyx + noweb.  I installed icon and noweb.
> It looks like lyx found them OK.
> 
> I made a tiny test document with one code fragment.  View dvi seems to
> work OK.  But build program doesn't seem to do anything.  No new files
> are written - it just says it's done.  No error messages.  No clue how
> to debug.

You need to follow the instructions in the Literate Programming
section of the Extended.lyx manual.

In my lyxrc I have:

    \literate_command "noweave -filter disambiguate -delay -index"
    \build_command "build-script"
    \literate_error_filter "listerrors n"
    \build_error_filter "listerrors b"
    \use_tempdir false

And the build-script does this:

    #!/bin/sh
    #
    notangle -Rbuild-script $1 | sh

In all of my Literate LyX documents, I include a section which defines
the build-script specific to that document.

Also, look at Literate.lyx for a good example.

                        ---Kayvan
-- 
Kayvan Aghaiepour Sylvan  | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |                       | Robin Gregory (2/28/92)

Reply via email to