Hello Mojca, thanks for the follow-up.
2012/1/17 Mojca Miklavec
On Tue, Jan 17, 2012 at 16:00, Felix Ingram wrote:
I've just updated to the latest beta and the following will cause an error:
\usemodule[tikz] \starttext Hello World \stoptext
The error is:
system > tex > error on line 129 in file example.tex: Undefined control sequence ...
l.129 \catcode`\;=\active
Obviously there is no line 129. A quick greg shows that the likely suspect is: tex\texmf-modules\tex\generic\pgf\utilities\pgffor.code.tex:129
Is this the best place to report this, or should I drop a mail to the Tikz/PGF list?
It's complicated because I'm not aware of any major TikZ developer using ConTeXt.
The main question is: is this a recent problem in TikZ or in ConTeXt? Usually people on this list might know how to fix problems, but then you need to convince pgf team to accept patches. (And then Aditya started contributing and collecting some patches independently.)
If they aren't yet in the official repo, I would be happy to add those patches. Note that I'm not a ConTeXt user, so I won't be able to test them carefully.
I didn't follow development of ConTeXt too closely, but I'm lead to believe that \active has disappeared from ConTeXt MKIV. Others will have to correct me if I'm wrong - I didn't check ConTeXt sources. And others will have to make suggestion about what to do about this. Patching might as easy as adding \def\active{13} somewhere on top of TikZ sources, but it might help to understand why Hans decided to remove the \active command if that is true.
I add it to my todo list.
On the other hand (completely unrelated), I just realized that the following commit (unofficial and unreliable temporary repository): https://github.com/mojca/pgf/commit/418b278dcf6a2193d0d564d9d85194bdce1e505e only fixes LaTeX and plain TeX and doesn't fix ConTeXt. I don't know what the patch is about, but I'm lead to believe that the same patch might be needed in ConTeXt as well if it is needed for the other two.
Not sure if it is needed for ContTeXt because I added the required file on top of pgffor.code.tex that is loaded by any format one use. I did add a \RequirePackage to the .sty file because LaTeX manages a list of package loaded. I would be happy to do the same for ConTeXt if it has a similar mechanism. Best regards -- Christophe