ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
@ 2009-06-18 16:21 Kevin D. Robbins
  2009-06-18 16:53 ` Wolfgang Schuster
  2009-06-19  9:49 ` Matthijs Kooijman
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin D. Robbins @ 2009-06-18 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 698 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-30 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 16:21 Example of passing unexpanded text between \startfoo ... \stopfoo into Lua? Kevin D. Robbins
2009-06-18 16:53 ` Wolfgang Schuster
2009-06-30 15:02   ` Kevin D. Robbins
2009-06-19  9:49 ` Matthijs Kooijman
2009-06-30 15:13   ` Kevin D. Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).