ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud Aubin <aubin@nibua-r.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: TikZ, MKIV and font switching
Date: Tue, 07 Apr 2009 20:13:04 +0200	[thread overview]
Message-ID: <49DB97B0.8020700@nibua-r.org> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2009-04-07 18:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 18:13 Renaud Aubin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DB97B0.8020700@nibua-r.org \
    --to=aubin@nibua-r.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).