Hi Stuart, Stuart Brorson writes: > [...] > It looks to me like you've written the multiattrib widget to > encapsulate it's own functions, instead of instantiating them globally > inside the file x_multiattrib.nw. By looking at notangle_guile I am > guessing that the script can't deal with the implied hierarchy > (scoping) in the multiattrib widget's noweb code since notangle_guile > doesn't recurse. Is this true?
No. The problem is actually in the detection of the code chunk names: it does not consider a string with the character "'" inside as a valid code chunk and as a result the code chunk with that name is not recognized and therefore not expanded. To prove it if you add this character in the regexp at the top of the file (def-regexp and ref-regexp) this particular code chunk will be detected and processed and you will have no more problem. Anyway, I have rewritten (and renamed) this script. And the regexps are much better now so we should not have this kind of problem again (no more explicit list of allowed characters for a code chunk name). It is now in the CVS. Patrick
