Aditya Mahajan | 15 Oct 2006 18:18
Picon

Re: Support for ConTeXt

On Sun, 15 Oct 2006, Till Tantau wrote:

>
> Am 14.10.2006 um 07:02 schrieb Aditya Mahajan:
>
>> Hi Till,
>> 
>> I tried the new pgf version with ConTeXt. The file t-pgflph.tex is not 
>> found, and according to the instructions on the forum, I simply commented 
>> that line from t-tikz.tex. Even with that change, I can not get pgf to work 
>> with the latest beta of ConTeXt.  This is the example that I tried.
>> 
>> \usemodule[tikz]
>> \starttext
>> We are working on
>> \starttikzpicture
>> \draw (-1.5,0) -- (1.5,0);
>> \draw (0,-1.5) -- (0,1.5);
>> \stoptikzpicture.
>> \stoptext
>> 
>> I get an error
>> 
>> ! Undefined control sequence.
>> \colorlet ... {#2}\expandafter \in <at>  \expandafter!
>>                                                  \expandafter 
>> {\pgf <at> marshal...
>> l.331 \colorlet{tikz <at> axis <at> top}{gray}
>> 
>> I have attached the complete log file. I have xkeyval installed, but do not 
>> have xcolor (or any other latex package). The manual is a bit fuzzy on 
>> whether xcolor is needed for context or not. I do not get any error, so I 
>> guess that it is not required.
>> 
>> Any suggestions will be appreciated.
>
> Hi!
>
> it turns out that the problem arises only in the Context beta, not in my 
> older version. I updated and then found some further bugs in the pgf code 
> that only show with the new version.

Context is under going a major uphaul right now, in preparation for 
luatex. The present beta is significantly different from the the last 
stable release.

> I cleaned these up and the example now compiles nicely with the current beta 
> (and should also with the older version). However, the number of changes is a 
> bit large, so you will have to check out the current CVS or wait for 1.10 to 
> "see this work".

The new cvs version works perfectly for some sample code that I tried. 
Thanks a lot for this update.

Aditya

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane