\definecolor and TikZ
![](https://secure.gravatar.com/avatar/c823bd1aa50d8b584fcd93f0ab4655dd.jpg?s=120&d=mm&r=g)
Hi again, The bug about \definecolor and TikZ is back again in the latest beta. The minimal example in the attachment worked in version 2012.05.14 (both MKII and MKIV). Regards, Tim
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 20-5-2012 12:59, Tim Steenvoorden wrote:
Hi again,
The bug about \definecolor and TikZ is back again in the latest beta. The minimal example in the attachment worked in version 2012.05.14 (both MKII and MKIV).
A solution was posted a few mails ago. Anyhow, as it seems to be a persistent issue, I've added a helper to mkii and mkiv so that the tikz can do: \ifdefined\pgf@context@registercolor \let\pgfutil@registercolor\pgf@context@registercolor \fi Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c823bd1aa50d8b584fcd93f0ab4655dd.jpg?s=120&d=mm&r=g)
Hi Hans,
Thanks, your solution works well. Do I have to put it in every
document when using TikZ? I'm afraid it still doesn't work out of the
box in 2012.05.24.
Regards,
Tim
2012/5/20 Hans Hagen
On 20-5-2012 12:59, Tim Steenvoorden wrote:
Hi again,
The bug about \definecolor and TikZ is back again in the latest beta. The minimal example in the attachment worked in version 2012.05.14 (both MKII and MKIV).
A solution was posted a few mails ago.
Anyhow, as it seems to be a persistent issue, I've added a helper to mkii and mkiv so that the tikz can do:
\ifdefined\pgf@context@registercolor \let\pgfutil@registercolor\pgf@context@registercolor \fi
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On 2012-05-24 Tim Steenvoorden
Thanks, your solution works well. Do I have to put it in every document when using TikZ? I'm afraid it still doesn't work out of the box in 2012.05.24.
It's already fixed upstream. I don't know how and when the changes propagate into context standalone. http://pgf.cvs.sourceforge.net/viewvc/pgf/pgf/generic/pgf/utilities/pgfutil-context.def?revision=1.32&view=markup Marco
![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On 2012-05-24 Marco
It's already fixed upstream. I don't know how and when the changes propagate into context standalone.
Apparently you have to update with ./first-setup.sh --modules=all, instead of plain ./first-setup.sh to apply the changes. I thought the choice is remembered and the modules are updated automatically with ./first-setup.sh However, it works for me with a current 2012.05.24 09:57 Marco
![](https://secure.gravatar.com/avatar/c823bd1aa50d8b584fcd93f0ab4655dd.jpg?s=120&d=mm&r=g)
Updated again, worked like a charm!
Cheers,
Tim
2012/5/24 Marco
On 2012-05-24 Marco
wrote: It's already fixed upstream. I don't know how and when the changes propagate into context standalone.
Apparently you have to update with ./first-setup.sh --modules=all, instead of plain ./first-setup.sh to apply the changes. I thought the choice is remembered and the modules are updated automatically with ./first-setup.sh
However, it works for me with a current 2012.05.24 09:57
Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/da56018fec1036eb1e02305d09a0bce8.jpg?s=120&d=mm&r=g)
my biggest contribution to ConTeXt so far seems to be asking a stackoverflow question, and filing a tikz bugreport with attached code from the answer on stackoverflow. i’m sure i can do more myself in the future -.-
![](https://secure.gravatar.com/avatar/c823bd1aa50d8b584fcd93f0ab4655dd.jpg?s=120&d=mm&r=g)
Thanks Marco! Hope it will be in TeXLive 2012.
Cheers,
Tim
2012/5/24 Marco
On 2012-05-24 Tim Steenvoorden
wrote: Thanks, your solution works well. Do I have to put it in every document when using TikZ? I'm afraid it still doesn't work out of the box in 2012.05.24.
It's already fixed upstream. I don't know how and when the changes propagate into context standalone.
Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (4)
-
Hans Hagen
-
Marco
-
Philipp A.
-
Tim Steenvoorden