Hello,

thank you for the bug report. I have fixed the problem in TikZ.

Best regards

Christian

Am 19.08.2010 16:49, schrieb Mojca Miklavec:
On Thu, Aug 19, 2010 at 14:36, David Rogers wrote:
* Fabrice Larribe<fabrice.al...@gmail.com>  [2010-08-19 06:17]:

Hello,

        I have a problem to use the calendar from the Tikz/Pgf module; here
        is a minimal example:

%---------------------------------------
\usemodule[tikz]
\usetikzlibrary[calendar]

\starttext
This should works:
\blank
\tikz  \calendar[dates=2000-01-01 to 2000-01-31,week list];
\blank
but this does not !
\stoptext
%---------------------------------------

I'm using MKII (2010-05-24) from TeX Live 2010  (Note however that I
had the same problem with TeXLive 2009). The error is when the calendar
library is loaded:

! Undefined control sequence.
l.36 \let\t...@atbegin@day=\pgfutil
                                                @empty

I have tried the Tikz distribution from TexLive, the latest Tikz
distribution from the suport Tikz page, and the distribution from the
module made for ConTeXt, but the problem remains. In the past (last
academic year, in may), this worked well, but I'm not able to find what
has changed.

The example still works in mkiv. (Minimal distribution, fairly recent)
The following trick solves the problem temporary, but it should be
fixed somewhere in the source if possible. I'm not sure if it is the
fault of ConTeXt or the fault of TikZ:

\unprotect
\usemodule[tikz]
\usetikzlibrary[calendar]
\protect

\starttext

This should works:
\blank
\tikz  \calendar[dates=2000-01-01 to 2000-01-31,week list];
\blank
but this does not !
\stoptext
To me this looks like

Mojca


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to