Well, I resolved the ruby issue. After playing around with a minimal example, I noticed that \usemodule[tikz] was causing all the trouble when trying to load the environment. Not knowing what was wrong I've now updated to texlive '10 and everything works as expected, including tikz.
Thank you for your patience. ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________