"Kris Hermans" <[EMAIL PROTECTED]> writes: > I'm writing a programming tutorial with ConTeXt. Therefore I have > programlistings that I want to reference in my text. My idea is to labels > together with verbatim text.
No idea how to solve this (ask a TeX guru :-), but two things that might help you, in case you didn't know them: 1. You can use \typefile to type a .c file directly. This way, you can make sure your programs actually compile and that there is no mismatch between the sources and the document. 2. It is not that difficult to add syntax high-lighting for C. Perhaps someone has already done that? That way you can get pretty printing for free, another advantage of batch typesetting above WYSIWG systems. -- Live long and prosper, Berend de Boer
