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 strategies to implement a literate
programming module for ConTeXt, and we'd like to have something like

\startcodeblock[language=c,file=foo.c, etc.][blockname]
// This is the main routine...
int main()
{
   return 0;
}
\stopcodeblock

We would appreciate any thoughts you have about how to implement such a
module.

Thanks,

Kevin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to