From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72984 Path: news.gmane.org!not-for-mail From: Felix Ingram Newsgroups: gmane.comp.tex.context Subject: Tikz/pgf colour issue Date: Wed, 7 Dec 2011 12:52:07 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323262358 15531 80.91.229.12 (7 Dec 2011 12:52:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2011 12:52:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 07 13:52:34 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RYGzA-0002dX-CN for gctc-ntg-context-518@m.gmane.org; Wed, 07 Dec 2011 13:52:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E5C6CB149; Wed, 7 Dec 2011 13:52:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Rk7H6fZhl63L; Wed, 7 Dec 2011 13:52:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC838CB139; Wed, 7 Dec 2011 13:52:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 957C0CB139 for ; Wed, 7 Dec 2011 13:52:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fbo4n7IVfB26 for ; Wed, 7 Dec 2011 13:52:09 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A2EC3CB136 for ; Wed, 7 Dec 2011 13:52:09 +0100 (CET) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB7Cq8pt023213 for ; Wed, 7 Dec 2011 13:52:08 +0100 Original-Received: by vbbfn1 with SMTP id fn1so465710vbb.14 for ; Wed, 07 Dec 2011 04:52:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=hDE8lCn7eOIPOyZ7z0k/6/3Z3Bbv4PpNPKDz+nYJBZQ=; b=vqLoxNApQugkfDmBuamB7CJvcrYZw3hZPQuLJBYwN1TZnk59qE/IwntOm92gFP4oFG 9htnBLXkKMEKGjKkzVQC7aoKLoNQvdduhS1s9GG7Wsv4Od4vE2LPEqnLRW3F2BHeo5l0 P3icDUXkDJHrVk5eD+kQYjH9NDSiS0EKbuTR8= Original-Received: by 10.52.24.11 with SMTP id q11mr10572771vdf.83.1323262327948; Wed, 07 Dec 2011 04:52:07 -0800 (PST) Original-Received: by 10.52.25.7 with HTTP; Wed, 7 Dec 2011 04:52:07 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bG6cQ8fK - e35aeec68768 - 20111207 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72984 Archived-At: I just upgraded to the latest beta in order to see if that would fix my header styling issue. Compiling gave me the following error: ! Argument of \pgfutil@context@parse@gray has an extra }. This is defined in: tex\texmf-modules\tex\generic\pgf\utilities\pgfutil-context.def If I change the code to the following (basically just comment out the call to \pgfutil@context@parse@gray) then my document will compile again. That's about my debugging limit - I shall stare at the code a bit more to see if inspiration strikes. % The cmyk part is from Joseph Wright. % See tex.stackexchange.com/questions/27952/cmyk-context-colors-in-tikz \def\pgfutil@registercolor#1{% \edef\pgf@temp{\PDFcolor{#1}}% \edef\pgf@marshal{\noexpand\pgfutil@in@{g}{\pgf@temp}}% \pgf@marshal %\ifpgfutil@in@ %\expandafter\pgfutil@context@parse@gray\pgf@temp\pgf@stop{#1}% %\else \edef\pgf@marshal{\noexpand\pgfutil@in@{rg}{\pgf@temp}}% \pgf@marshal \ifpgfutil@in@ \expandafter\pgfutil@context@parse@rgb\pgf@temp\pgf@stop{#1}% \else \edef\pgf@marshal{\noexpand\pgfutil@in@{k}{\pgf@temp}}% \pgf@marshal \ifpgfutil@in@ \expandafter\pgfutil@context@parse@cmyk\pgf@temp\pgf@stop{#1}% \else \PackageError{pgf}{Color #1 has an unsupported color model.}{}% \pgfutil@definecolor{#1}{gray}{0}% \fi \fi %\fi } Regards, Felix ___________________________________________________________________________________ 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 ___________________________________________________________________________________