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.