I'm stuck setting up lyx so I can use noweb. I'm changing the toolbar
as suggested in "Extended Features" 6.5.3.4, but build-program doesn't
seem to do anything and I don't know how to troubleshoot it further.
Here's what I've done so far
* compiled and installed lyx 1.2.2 from source rpm on RedHat 8.0 with
xforms-1.0-Release libraries
* installed noweb from rpm
* created ~/.lyx/lyxrc where I put only this line for a Kayvan style
build script:
\converter literate program "build-script $$i"
"originaldir,parselog=listerrors"
build-script:
#!/bin/sh
notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
build-script works fine on listerrors.nw exported from lyx (opened
listerrors.lyx, saved locally, File => Export => NOWeb)
* Put build-script in ~/.lyx/scripts and made executable
* created ~/.lyx/ui/default.ui to add build-program to toolbar:
Toolbar
.
.
Icon "build-program"
Icon "layout Standard"
.
.
* reconfigured and restarted
* erased listerrors in local directory, opened listerrors.lyx, pressed
build-program icon, get no change to file system (there should be a new
listerrors somewhere, right?). The layout Standard button I added works
as expected
* OptItem build-program isn't visible in the View menu
* When I open a new document, I do get the noweb choices as described in
section 6.5.3.1
Same symptoms with noweb2lyx.lyx.
I think that what ever it takes to 'light up' the view->build-program
menu item is the key.
Bill.
- Re: lyx and noweb - build-program on toolbar Bill Welch
- Re: lyx and noweb - build-program on toolbar Bill Welch