Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?

2009-06-30 Thread Kevin D. Robbins
Thanks, Wolfgang. My colleague and I are working with the method you suggested, and we'll report back when we've made more progress. We're getting there, but slowly. We always appreciate your help and the help of others on the mailing list! Kevin On Thu, Jun 18, 2009 at 10:53 AM, Wolfgang

Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?

2009-06-30 Thread Kevin D. Robbins
There would be at least two results of the \start/\stop-codeblock: first, the code would be pretty printed as you sugggested in the resulting program documentation; second, the code would be written to an external source file foo.c that could then be compiled with, for example, gcc. Some other

Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?

2009-06-19 Thread Matthijs Kooijman
Hi Kevin, A colleague and I are experimenting with strategies to implement a literate programming module for ConTeXt, and we'd like to have something like Im not exactly sure what you're trying to achieve, but perhaps you could do this using a prettyprinter? A pretty printer gets passed each

[NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?

2009-06-18 Thread Kevin D. Robbins
Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could point me to? A colleague and I are experimenting with

Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?

2009-06-18 Thread Wolfgang Schuster
Am 18.06.2009 um 18:21 schrieb Kevin D. Robbins: Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could