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... Marco
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
On 12-3-2012 04:25, Aditya Mahajan wrote:
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:
can you test with replacing \def with \edef in \strc_modules_use in file-mod.mkvi Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 12 Mar 2012, Hans Hagen wrote:
On 12-3-2012 04:25, Aditya Mahajan wrote:
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:
can you test with replacing \def with \edef in
\strc_modules_use
in file-mod.mkvi
Yes, replacing \def with \edef works. I tested with the attached patch (although I did not do extensive testing). Aditya
On 2012-03-11 Aditya Mahajan
The simpleslides module also had the same error recently. The internal definition of \usemodule has changed, so thing like
That's probably the cause. Adam was so kind and quickly released a new fixed version. Other improvements: ∙ The gantt module now works (again) with the MetaPost backend (which was broken for quite some time) and is a zillion times faster than the TikZ backend. ∙ Multiple gantt charts per document are allowed. Marco
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Marco