From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71198 Path: news.gmane.org!not-for-mail From: Felix Ingram Newsgroups: gmane.comp.tex.context Subject: Tikz and \color Date: Mon, 19 Sep 2011 12:10:58 +0100 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 1316430682 11220 80.91.229.12 (19 Sep 2011 11:11:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 11:11:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 19 13:11:18 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 1R5bkq-00011V-H6 for gctc-ntg-context-518@m.gmane.org; Mon, 19 Sep 2011 13:11:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 626F8CAFA9; Mon, 19 Sep 2011 13:11:15 +0200 (CEST) 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 RfFsUPoN9Wwh; Mon, 19 Sep 2011 13:11:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45CD4CAFA5; Mon, 19 Sep 2011 13:11:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15D25CAFA5 for ; Mon, 19 Sep 2011 13:11:07 +0200 (CEST) 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 XVRv9WYtFeY5 for ; Mon, 19 Sep 2011 13:11:00 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C2537CAFA4 for ; Mon, 19 Sep 2011 13:11:00 +0200 (CEST) Original-Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8JBAxPK003003 for ; Mon, 19 Sep 2011 13:11:00 +0200 Original-Received: by vws1 with SMTP id 1so9299635vws.19 for ; Mon, 19 Sep 2011 04:10:59 -0700 (PDT) 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=6gsxK80sp6CKhvyRNWqNbmAnddBt5euWO0ibkUTFoWk=; b=riMKnOYl7eM9fb+qBnYQpNyIhvdJYkmG2Nhtm81QPMztN1deDdxk4VlUIz3LJ/Lcxu pYc66C+3ZFVfzB3IA98iZYppsJgM87z+CgtIjrc8Fa0AzAY77Y1egqzaZR2l1uiOqmFr of/Fmg6gZXsr1iNz3rA1R9Omgn3Rm0ac7oeKM= Original-Received: by 10.52.94.6 with SMTP id cy6mr2104801vdb.153.1316430658938; Mon, 19 Sep 2011 04:10:58 -0700 (PDT) Original-Received: by 10.52.184.229 with HTTP; Mon, 19 Sep 2011 04:10:58 -0700 (PDT) X-Bayes-Prob: 0.5541 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.46; 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: 0xFyzaX1A - 5a368e95b4c0 - 20110919 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:71198 Archived-At: Hello all, I'm using Tikz to draw some fancy text boxes, but I've bumped into an annoying problem. If you run the example below then the body text will be rendered in red. If you remove the "REMOVE ME" text, then it will be rendered in black. I would expect the black version to be the correct version but I need to add text to my node. Am I using \color correctly? Does anyone know how I might go about debugging this? Is there a way to determine whether it's Context or Tikz that's misbehaving? \usemodule[tikz] \setuppapersize[A4][A4] \setupcolors[state=start] \setuphead[section] [ after={\color[red]{\hrule width 125mm \vskip 2em}}, ] \starttext \section{Some Title} \starttikzpicture \node{ REMOVE ME }; \stoptikzpicture Flank sint culpa, dolore dolore ham hock chicken t-bone irure pastrami. Eiusmod corned beef sint enim. Corned beef nulla qui aute, meatloaf ground round cillum ex. Ut swine pork belly, tongue pig sed tail frankfurter biltong ut bresaola anim. Jowl consequat tenderloin, meatloaf fatback eu sint duis mollit chuck biltong. Nostrud cupidatat nulla meatball, brisket irure dolor. Aliqua chuck ut in, nisi ea t-bone shankle bresaola. \stoptext Thanks in advance, 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 ___________________________________________________________________________________