ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TikZ, MKIV and font switching
@ 2009-04-07 18:13 Renaud Aubin
  2009-04-08 11:59 ` Mojca Miklavec
       [not found] ` <6faad9f00904080146y69ab2ffck61306800b3ff8ab5@mail.gmail.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Renaud Aubin @ 2009-04-07 18:13 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-08 19:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07 18:13 TikZ, MKIV and font switching Renaud Aubin
2009-04-08 11:59 ` Mojca Miklavec
2009-04-08 12:50   ` Wolfgang Schuster
     [not found] ` <6faad9f00904080146y69ab2ffck61306800b3ff8ab5@mail.gmail.com>
     [not found]   ` <619b0cdf9c5432566698d2d7c9a4f8b2@localhost>
2009-04-08 12:06     ` Mojca Miklavec
2009-04-08 18:25       ` Renaud Aubin
2009-04-08 18:35         ` Wolfgang Schuster
2009-04-08 19:25         ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).