On Wed, 18 Mar 2009, Mojca Miklavec wrote:
2009/3/17 Want to Learn wrote:
Thanks Wolfgang. I suppose you mean that I need the beta version and not the stable version. Anyhow, I downloaded the beta version and tried to install tikz with the command Mojca mentioned in his post. Everything seemed to go on fine. But when I tried to compile the following simple file I get an error. The following is the information from the terminal window. It says something like ! Undefined control sequence And on help, it says that "The control sequence at the end of the top line of your error message was never \def'ed." As you can see below, it loaded the tikz module. I wonder what the problem is.
A week or two weeks ago the author of TikZ has fixed a problem related to luatex/mkiv, but maybe that was not the only problem. TikZ works (or at least used to work - no time to test at this moment) in general, but there might be some more advanced graphics that fail do work due to heavy changes in ConTeXt source.
I have recently used tikz in a project, and it works fine. The only trouble with the latest beta is that Hans has removed the funny commands with @ in them, which are a legacy of plain TeX, in favour of more legible command names. For example, \minusone in place of \m@ne, \zeropoint in place of \z@ etc. This makes ConTeXt code more readable, but at the same time means that any package which was compatible with plain TeX, LaTeX, and ConTeXt, will now fail in ConTeXt. Fixing this is as simple as adding a few \let old-command = new command things in the beginning. The easiest solution is to collect such things in a module, and import them before importing tikz or any other module which relies on the existance of plain TeX like macros. Aditya