Re: [NTG-context] TikZ, MKIV and font switching
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 ___
Re: [NTG-context] TikZ, MKIV and font switching
On Wed, Apr 8, 2009 at 13:49, au...@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 ___
Re: [NTG-context] TikZ, MKIV and font switching
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 ___
Re: [NTG-context] TikZ, MKIV and font switching
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 ___
Re: [NTG-context] TikZ, MKIV and font switching
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 ___
Re: [NTG-context] TikZ, MKIV and font switching
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{pgfu...@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 ___
[NTG-context] TikZ, MKIV and font switching
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 ___