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

Cedric Mauclair cedric.mauclair at gmail.com
Thu Oct 28 14:14:41 CEST 2010

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 <pragma at wxs.nl> wrote:
> \ifdefined\PDFcolor \else
>  \ctxlua{function lpdf.pdfcolor(attribute) context(lpdf.color(1,attribute))
> end}
>  \def\PDFcolor#1{\ctxlua{lpdf.pdfcolor(\thecolorattribute{#1})}}
> \fi

More information about the ntg-context mailing list