ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tikz calendar: \pgfutil undefined
@ 2010-08-19 10:17 Fabrice Larribe
  2010-08-19 12:36 ` David Rogers
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Larribe @ 2010-08-19 10:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-19 10:17 Tikz calendar: \pgfutil undefined Fabrice Larribe
@ 2010-08-19 12:36 ` David Rogers
  2010-08-19 14:49   ` Mojca Miklavec
  0 siblings, 1 reply; 7+ messages in thread
From: David Rogers @ 2010-08-19 12:36 UTC (permalink / raw)
  To: ntg-context

* Fabrice Larribe <fabrice.alpha@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\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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-19 12:36 ` David Rogers
@ 2010-08-19 14:49   ` Mojca Miklavec
  2010-08-19 21:21     ` Fabrice Larribe
  2010-08-23 19:57     ` Christian Feuersaenger
  0 siblings, 2 replies; 7+ messages in thread
From: Mojca Miklavec @ 2010-08-19 14:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Christian Feuersaenger, Till Tantau

On Thu, Aug 19, 2010 at 14:36, David Rogers wrote:
> * Fabrice Larribe <fabrice.alpha@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\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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-19 14:49   ` Mojca Miklavec
@ 2010-08-19 21:21     ` Fabrice Larribe
  2010-08-20  7:47       ` Mojca Miklavec
  2010-08-23 19:57     ` Christian Feuersaenger
  1 sibling, 1 reply; 7+ messages in thread
From: Fabrice Larribe @ 2010-08-19 21:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Le 2010-08-19 à 10:49, Mojca Miklavec a écrit :

> On Thu, Aug 19, 2010 at 14:36, David Rogers wrote:
>> * Fabrice Larribe <fabrice.alpha@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
>>> %---------------------------------------
>>> 
>>> (...)
>> 
>> 
>> 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.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-19 21:21     ` Fabrice Larribe
@ 2010-08-20  7:47       ` Mojca Miklavec
  0 siblings, 0 replies; 7+ messages in thread
From: Mojca Miklavec @ 2010-08-20  7:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-19 14:49   ` Mojca Miklavec
  2010-08-19 21:21     ` Fabrice Larribe
@ 2010-08-23 19:57     ` Christian Feuersaenger
  2010-08-24  7:48       ` Mojca Miklavec
  1 sibling, 1 reply; 7+ messages in thread
From: Christian Feuersaenger @ 2010-08-23 19:57 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: mailing list for ConTeXt users, Till Tantau

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.alpha@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\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
>
>    

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tikz calendar: \pgfutil undefined
  2010-08-23 19:57     ` Christian Feuersaenger
@ 2010-08-24  7:48       ` Mojca Miklavec
  0 siblings, 0 replies; 7+ messages in thread
From: Mojca Miklavec @ 2010-08-24  7:48 UTC (permalink / raw)
  To: Christian Feuersaenger; +Cc: mailing list for ConTeXt users, Till Tantau

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-24  7:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19 10:17 Tikz calendar: \pgfutil undefined Fabrice Larribe
2010-08-19 12:36 ` David Rogers
2010-08-19 14:49   ` Mojca Miklavec
2010-08-19 21:21     ` Fabrice Larribe
2010-08-20  7:47       ` Mojca Miklavec
2010-08-23 19:57     ` Christian Feuersaenger
2010-08-24  7:48       ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).