From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49164 Path: news.gmane.org!not-for-mail From: Renaud Aubin Newsgroups: gmane.comp.tex.context Subject: TikZ, MKIV and font switching Date: Tue, 07 Apr 2009 20:13:04 +0200 Message-ID: <49DB97B0.8020700@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239128057 13979 80.91.229.12 (7 Apr 2009 18:14:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2009 18:14:17 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 07 20:15:36 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LrFpf-0000pt-3F for gctc-ntg-context-518@m.gmane.org; Tue, 07 Apr 2009 20:15:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E82841FB30; Tue, 7 Apr 2009 20:14:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24952-04; Tue, 7 Apr 2009 20:13:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 613821FADC; Tue, 7 Apr 2009 20:13:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA2CA1FADC for ; Tue, 7 Apr 2009 20:13:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21599-03 for ; Tue, 7 Apr 2009 20:13:12 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 6AF981FA4C for ; Tue, 7 Apr 2009 20:13:12 +0200 (CEST) Original-Received: from 27.mail-out.ovh.net (27.mail-out.ovh.net [91.121.30.210]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with SMTP id n37IDBfZ026971 for ; Tue, 7 Apr 2009 20:13:11 +0200 Original-Received: (qmail 11 invoked by uid 503); 7 Apr 2009 18:37:01 -0000 Original-Received: from gw2.ovh.net (HELO mail58.ha.ovh.net) (213.251.189.202) by 27.mail-out.ovh.net with SMTP; 7 Apr 2009 18:37:01 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 7 Apr 2009 18:12:57 -0000 Original-Received: from cha78-4-88-178-141-145.fbx.proxad.net (HELO ?192.168.78.1?) (aubin@nibua-r.org@88.178.141.145) by ns0.ovh.net with SMTP; 7 Apr 2009 18:12:55 -0000 User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) X-Ovh-Tracer-Id: 10927703021766251277 X-Ovh-Remote: 88.178.141.145 (cha78-4-88-178-141-145.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=91.121.30.210; country=FR; region=B4; city=Roubaix; latitude=50.7000; longitude=3.1667; http://maps.google.com/maps?q=50.7000,3.1667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 205386094 - 157f8dcb6637 - 20090407 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49164 Archived-At: Hi folks, I would use TikZ/mindmap to make some figures for a paper. Since I have to install TikZ, I have updated my minimals yesterday and began to really use MKIV. My problem is that when I process \enableregime[utf8] \useencoding[ffr] \mainlanguage[fr] \usetypescript[helvetica][texnansi] \setupbodyfont[helvetica,12pt] \setupcolors[state=start] \usemodule[tikz] \usetikzlibrary[mindmap] \starttext \input knuth \starttikzpicture[font=\nofont,mindmap,text=white, root concept/.style={concept color=blue}, level 1 concept/.append style= {every child/.style={concept color=blue!50}}] \node [concept] {Root Concept} child[grow=30] {node[concept] {child}} child[grow=0 ] {node[concept] {child}}; \stoptikzpicture \input tufte \stoptext the font switching is OK for the "\input ***" things but not for the embedded text. That's probably due to my lack of knowledge of TikZ but I have just found nothing usefull (nothing evident even in the pgf manual) about font switching within TikZ pictures with ConTeXt... (This is LuaTeX, Version snapshot-0.37.0-2009040617 (Web2C 7.5.7)) Best regards, Renaud ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________