Changes

Jump to navigation Jump to search
2 bytes removed ,  11:45, 19 May 2007
It is fairly simple to write a little parser which takes as its input your source file and gives in output a .tex file containing the code plus the opportune commands for colorization. You can then include the resulting .tex file in the global ConTeXt document file.
As an example, [http://www.cirma.unito.it/andrea/sw/sc/scToConTeXt.py this] is a Python script for the SuperCollider language, which has a striclty strict Smalltalk-like syntax.
Fed with the following source code contained in e.g. example.sc file:
89

edits

Navigation menu