Anothers step: 1) save you cweaved tex file as wc.tex 2) put this in test0001a.tex %% tex0001a \usemodule [cweb] \def\ignoreCWEBinput{\relax} \activateCWEB \setupinteraction[state=start] \starttext \title {Contents} \processCWEBcontents wc \page \title {Sections} \processCWEBsections wc \page \title {Sources} \processCWEBsource wc \page \title {Index} \processCWEBindex wc \page \stoptext 3) texexec --pdf --batch test0001a \def\ignoreCWEBinput{\relax} avoid endless loop for now. btw, it's no correct again. -- luigi ---------------------------------------------------------------- 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