* 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
* Re: TikZ, MKIV and font switching 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> 1 sibling, 1 reply; 7+ messages in thread From: Mojca Miklavec @ 2009-04-08 11:59 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, Apr 7, 2009 at 20:13, Renaud Aubin wrote: > Hi folks, > > \usetypescript[helvetica][texnansi] > \setupbodyfont[helvetica,12pt] Unrelated: MKIV is not supposed to use texnansi, but MKII returns ! Font \*helvetica7ptmmmrss*:=Helvetica-MathRoman at 7.0pt not loadable: Metric (TFM) file not found. <to be read again> \relax \definefontglobal ...dcsname \lastfontname \relax \expandafter \let \expanda... (But no time to debug now.) 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TikZ, MKIV and font switching 2009-04-08 11:59 ` Mojca Miklavec @ 2009-04-08 12:50 ` Wolfgang Schuster 0 siblings, 0 replies; 7+ messages in thread From: Wolfgang Schuster @ 2009-04-08 12:50 UTC (permalink / raw) To: mailing list for ConTeXt users Am 08.04.2009 um 13:59 schrieb Mojca Miklavec: > On Tue, Apr 7, 2009 at 20:13, Renaud Aubin wrote: >> Hi folks, >> >> \usetypescript[helvetica][texnansi] >> \setupbodyfont[helvetica,12pt] > > Unrelated: MKIV is not supposed to use texnansi, but MKII returns I'll remove the math part from the helvetica typescript (which is very new), untill then use: \usetypescript[postscript] \setupbodyfont[postscript,ss] Wolfgang ___________________________________________________________________________________ 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
[parent not found: <6faad9f00904080146y69ab2ffck61306800b3ff8ab5@mail.gmail.com>]
[parent not found: <619b0cdf9c5432566698d2d7c9a4f8b2@localhost>]
* Re: TikZ, MKIV and font switching [not found] ` <619b0cdf9c5432566698d2d7c9a4f8b2@localhost> @ 2009-04-08 12:06 ` Mojca Miklavec 2009-04-08 18:25 ` Renaud Aubin 0 siblings, 1 reply; 7+ messages in thread From: Mojca Miklavec @ 2009-04-08 12:06 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen, Till Tantau 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TikZ, MKIV and font switching 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 0 siblings, 2 replies; 7+ messages in thread From: Renaud Aubin @ 2009-04-08 18:25 UTC (permalink / raw) To: mailing list for ConTeXt users Mojca Miklavec a écrit : > 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.) With MKIV (ConTeXt ver: 2009.04.06 21:42 MKIV fmt: 2009.4.8 int: english/english) and latest t-tikz the result is good with palatino. I have processed the test file with \startMPenvironment[global] \usetypescript[postscript] \setupbodyfont[postscript,ss,12pt] \stopMPenvironment and the mindmap labels are in Termes... Any idea about a workaround to obtain my labels in Heros ? 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
* Re: TikZ, MKIV and font switching 2009-04-08 18:25 ` Renaud Aubin @ 2009-04-08 18:35 ` Wolfgang Schuster 2009-04-08 19:25 ` Wolfgang Schuster 1 sibling, 0 replies; 7+ messages in thread From: Wolfgang Schuster @ 2009-04-08 18:35 UTC (permalink / raw) To: mailing list for ConTeXt users Am 08.04.2009 um 20:25 schrieb Renaud Aubin: > I have processed the test file with > > \startMPenvironment[global] > \usetypescript[postscript] > \setupbodyfont[postscript,ss,12pt] > \stopMPenvironment what happens with \definetypeface[helvetica][ss][sans][heros][default] \setupbodyfont[helvetica] Wolfgang ___________________________________________________________________________________ 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
* Re: TikZ, MKIV and font switching 2009-04-08 18:25 ` Renaud Aubin 2009-04-08 18:35 ` Wolfgang Schuster @ 2009-04-08 19:25 ` Wolfgang Schuster 1 sibling, 0 replies; 7+ messages in thread From: Wolfgang Schuster @ 2009-04-08 19:25 UTC (permalink / raw) To: mailing list for ConTeXt users Am 08.04.2009 um 20:25 schrieb Renaud Aubin: > I have processed the test file with > > \startMPenvironment[global] > \usetypescript[postscript] > \setupbodyfont[postscript,ss,12pt] > \stopMPenvironment > > and the mindmap labels are in Termes... Any idea about a workaround > to obtain my labels in Heros ? you could ask on the pgf/tikz list because it's not related to context itself or look in the manual how to change the font. I don't know tikz good enough but i was able to track it down to \setvalue{pgfutil@selectfont}{\ss} which change the labels to helvetica. Wolfgang ___________________________________________________________________________________ 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).