Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Cedric Mauclair
Sadly no. I once tried to modify it to make it work and I ended up with what I proposed. Not very nice, but worked for me. Thanks for your solution. -- Cédric On Thu, Oct 28, 2010 at 13:46, Hans Hagen wrote: > > \ifdefined\PDFcolor \else > >  \ctxlua{function lpdf.pdfcolor(attribute) context(

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Hans Hagen
On 28-10-2010 10:24, Cedric Mauclair wrote: Actually, the opacity works great! Officially it could hook into the context transparency model but I guess that that is too much hassle. Hans -

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Hans Hagen
On 28-10-2010 9:54, Cedric Mauclair wrote: On Wed, Oct 27, 2010 at 22:08, Michael Murphy wrote: On 27/10/2010 19:18, Marius wrote: Hello, I had the same problem, so I desided to define colors by hand. \definecolor [lightgray] [h=D3D3D3] \usemodule[tikz] \unprotect \pgfu...@definecolor{blac

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Marius
Here is the fixed script. On 27 October 2010 23:08, Michael Murphy wrote: > On 27/10/2010 19:18, Marius wrote: >> >> Hello, >> I had the same problem, so I desided to define colors by hand. >> >> \definecolor [lightgray] [h=D3D3D3] >> >> \usemodule[tikz] >> >> \unprotect >> \pgfu...@definecolor{b

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Cedric Mauclair
Actually, the opacity works great! -- Cédric On Thu, Oct 28, 2010 at 09:54, Cedric Mauclair wrote: > On Wed, Oct 27, 2010 at 22:08, Michael Murphy > wrote: >> On 27/10/2010 19:18, Marius wrote: >>> >>> Hello, >>> I had the same problem, so I desided to define colors by hand. >>> >>> \definec

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-28 Thread Cedric Mauclair
On Wed, Oct 27, 2010 at 22:08, Michael Murphy wrote: > On 27/10/2010 19:18, Marius wrote: >> >> Hello, >> I had the same problem, so I desided to define colors by hand. >> >> \definecolor [lightgray] [h=D3D3D3] >> >> \usemodule[tikz] >> >> \unprotect >> \pgfu...@definecolor{black}{gray}{0} >> \pgf

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-27 Thread Michael Murphy
On 27/10/2010 19:18, Marius wrote: Hello, I had the same problem, so I desided to define colors by hand. \definecolor [lightgray] [h=D3D3D3] \usemodule[tikz] \unprotect \pgfu...@definecolor{black}{gray}{0} \pgfu...@definecolor{gray}{gray}{0.5} \pgfu...@definecolor{lightgray}{gray}{0.9} \pgfu..

Re: [NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-27 Thread Cedric Mauclair
Hi, Same problem here with the latest TikZ 2.10. Regards. -- Cédric On Tue, Oct 26, 2010 at 12:20, Michael Murphy wrote: > Hi, > > I've been trying to get colors to work in TikZ, and found a nice fix by > Aditya here: > > http://archive.contextgarden.net/message/20100120.220124.f2d3f8bc.en.h

[NTG-context] ConText, TikZ and definecolor: undefined control sequence

2010-10-26 Thread Michael Murphy
Hi, I've been trying to get colors to work in TikZ, and found a nice fix by Aditya here: http://archive.contextgarden.net/message/20100120.220124.f2d3f8bc.en.html The problem is that the lua script doesn't work: I get a problem with 'colors'. LuaTeX error :13: attempt to index global 'colors' (