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\tikz@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. Thanks for hints and help ! Fabrice L.
* Fabrice Larribe
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\tikz@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) -- David
On Thu, Aug 19, 2010 at 14:36, David Rogers wrote:
* Fabrice Larribe
[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\tikz@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
Le 2010-08-19 à 10:49, Mojca Miklavec a écrit :
On Thu, Aug 19, 2010 at 14:36, David Rogers wrote:
* Fabrice Larribe
[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 %---------------------------------------
(...)
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
This works ! Thanks a lot for your help. Regarding the post of David Rogers, this seems to be a problem which depends on the Context and/or Tikz distribution. I will inform Till Tantau, the tikz/pgf author, in case he can change something in the Tikz/Pgf package. Thanks again, Fabrice L.
On Thu, Aug 19, 2010 at 23:21, Fabrice Larribe wrote:
\unprotect \usemodule[tikz] \usetikzlibrary[calendar] \protect
This works ! Thanks a lot for your help.
Regarding the post of David Rogers, this seems to be a problem which depends on the Context and/or Tikz distribution. I will inform Till Tantau, the tikz/pgf author, in case he can change something in the Tikz/Pgf package.
I have an impression that he has been very busy for some time now (there are a few "critical" pending ConTeXt-related problems in CVS to which he hasn't answered for a really long time now). There are a few more skilled people on the mailing list though who have the rights to commit to repository. It is still worth a try to ask him or maybe to leave a bug report on sourceforge page. (I CC-ed him in the previous mail without expecting him to answer.) Mojca
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
[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\tikz@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
On Mon, Aug 23, 2010 at 21:57, Christian Feuersaenger wrote:
Hello,
thank you for the bug report. I have fixed the problem in TikZ.
Wow, thanks a lot for the fast fix. (I didn't try it out yet, but see below.) Now, from what I remember ... In minimals we currently have the version of TikZ that dates back to 2009-11-18. We used to sync with the latest version from CVS until something broke (in the sense that TikZ with ConTeXt didn't work at all in some weird cases). Till was already busy at that time and you didn't yet dare to apply fixes without his approval, so the issue probably hasn't been solved yet: http://thread.gmane.org/gmane.comp.tex.context.devel/1235/ Before we switch back to the latest version of CVS, I would like to check if everything still works fine or if the patches that Hans sent a while back need to be applied first. If anyone else would like to play with the latest version of ConTeXt and the version of TikZ from CVS, feel free to do so (I'll be away for a while.) Here's the source that used to break a while ago (I think that it broke in MKIV only): \usemodule[tikz] \starttext \starttikzpicture \fill[gray] (1,1) rectangle +(1,1); \stoptikzpicture \stoptext Mojca
participants (4)
-
Christian Feuersaenger
-
David Rogers
-
Fabrice Larribe
-
Mojca Miklavec