ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>, Till Tantau <tantau@tcs.uni-luebeck.de>
Subject: Re: TikZ, MKIV and font switching
Date: Wed, 8 Apr 2009 14:06:14 +0200	[thread overview]
Message-ID: <6faad9f00904080506g41b1fe5ci7cdb2e57cee2848f@mail.gmail.com> (raw)
In-Reply-To: <619b0cdf9c5432566698d2d7c9a4f8b2@localhost>

On Wed, Apr 8, 2009 at 13:49,  <aubin@nibua-r.org> wrote:
>
> Considering
>
> \enableregime[utf8]
> \useencoding[ffr]
> \mainlanguage[fr]
>
> \usetypescript[helvetica][ec]
> \setupbodyfont[helvetica,12pt]
>
> \setupcolors[state=start]
>
> \usemodule[tikz]
> \usetikzlibrary[mindmap]
>
> \starttext
> \input knuth
>
> \starttikzpicture[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
>
>
> "\input knuth" and "\input tufte" is typesetted with TexGyreHeros-Regular
> but "Root concept" and "child" texts are typesetted with
> LMRoman10-Regular...
>
> What if I want my TikZ text with TexGyreHeros ?

I don't know about "helvetica" since it's broken at the moment, but with
   \usetypescript[palatino]
   \setupbodyfont[palatino,12pt]
the labels inside the mindmap are already typeset in "gyre palatino"
here. What version of ConTeXt/LuaTeX/TikZ do you use?

In MKII the colors are broken though. Hans? Has anything changed in
color handling mechanism recently? I don't know whether I need to
bribe you or Till Tantau to fix the issue. (But I need to admit that I
didn't update ConTeXt in the last few days.)

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2009-04-08 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 18:13 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 [this message]
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=6faad9f00904080506g41b1fe5ci7cdb2e57cee2848f@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    --cc=tantau@tcs.uni-luebeck.de \
    /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).