On Sat, 10 Mar 2012, Marco wrote:
Somewhere between the beta 2012.03.10 13:15 and 2011.11.29 23:11 the gantt module got broken. Example:
\usemodule [gantt] [alternative=tikz] \starttext \startgantt {5}{10} \startganttitle \titleelement{Foo}{5} \titleelement{Bar}{5} \stopganttitle \stopgantt \stoptext
loading > module gantt ! TeX capacity exceeded, sorry [expansion depth=10000].
system > tex > error on line 21 in file gantt.tex: TeX capacity exceeded, sorry [ ...
\moduleparameter #1#2->\csname \??module \ifcsname \??module #1:#2\endcsname...
The simpleslides module also had the same error recently. The internal definition of \usemodule has changed, so thing like \doifdefinedelse{\currentmoduleparameter\c!alternative} {\usemodule[gantt-s][mp]} {\usemodule[gantt-s][\currentmoduleparameter\c!alternative]} does not work correctly. Instead, use (untested) \doifdefinedelse{\currentmoduleparameter\c!alternative} {\usemodule[gantt-s][mp]} {\expanded{\usemodule[gantt-s][\currentmoduleparameter\c!alternative]}} or \doifdefinedelse{\currentmoduleparameter\c!alternative} {\usemodule[gantt-s-mp]} {\expanded{\usemodule[gantt-s-\currentmoduleparameter\c!alternative]}} Aditya