From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76849 Path: news.gmane.org!not-for-mail From: Alfredo Catalina Newsgroups: gmane.comp.tex.context Subject: Re: Change font in \startuseMPgraphic Date: Sun, 10 Jun 2012 19:11:58 +0200 Message-ID: References: <116CF399-120E-4DF2-BDA7-50F62DFBA33F@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1754558179==" X-Trace: dough.gmane.org 1339348331 3015 80.91.229.3 (10 Jun 2012 17:12:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2012 17:12:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 10 19:12:10 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SdlgL-0002fX-51 for gctc-ntg-context-518@m.gmane.org; Sun, 10 Jun 2012 19:12:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3774D101EC; Sun, 10 Jun 2012 19:12:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QcRPRpivJu4w; Sun, 10 Jun 2012 19:12:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1C72101DF; Sun, 10 Jun 2012 19:12:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F806101DF for ; Sun, 10 Jun 2012 19:12:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7-BPKg4hu7Om for ; Sun, 10 Jun 2012 19:12:00 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 6BC6C101DD for ; Sun, 10 Jun 2012 19:12:00 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5AHBxQn003735 for ; Sun, 10 Jun 2012 19:11:59 +0200 Original-Received: by obbwd18 with SMTP id wd18so7227131obb.14 for ; Sun, 10 Jun 2012 10:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oFikNBQ5MiOzmgpJT3Y1oKYVAXbjI3b8dInJzgUYQKo=; b=bB4KyYlU8c+CFPOzjAuYxPUBXKdQ6K6ldhsFx8MUlzx9mlrdUuAmtvE3EheBLy1I7z dVe52OOlxkrjhaLCi1r0Hgdc/S7rANmiX++/hkIDEG7zTdZJjQWvL6ohETUFg2uGYHh4 S5Yh9V6wiYE+vrgWwlcUSPCssOFVh9tGicedsUEoOLH/bgn1Haip7NNXZaW8zifa2EuX h9wXE3hYr7W1V8DGxKEBXm9bWAMGpi0YYrVPnVqjVFFPylaQF4WvKN9SNmuvAU/HMn0a zyUHFn2G05VBmo9VMpqrPl9D5CoWdhkxp0EEkwyTRlqPOuJLjj+q3Vqg2GFrVc1FGQWk 9csg== Original-Received: by 10.60.21.38 with SMTP id s6mr13709397oee.53.1339348318854; Sun, 10 Jun 2012 10:11:58 -0700 (PDT) Original-Received: by 10.76.153.40 with HTTP; Sun, 10 Jun 2012 10:11:58 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHkFbXid - 11b3f2917c40 - 20120610 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76849 Archived-At: --===============1754558179== Content-Type: multipart/alternative; boundary=e89a8fb2068ac69c4004c221543f --e89a8fb2068ac69c4004c221543f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable > \setupbodyfont[pagella,11pt] > > %\setupMPinstance[metafun][textstyle=3Dsans] > \setupMPinstance[metafun][textstyle=3D{\switchtobodyfont[termes,14pt]}] > > \starttext > > \input knuth > > \startMPcode > draw textext("I=92m different!") ; > \stopMPcode > > \stoptext > > > It gives an error: ! Undefined control sequence. system > tex > error on line 1 in file GeneraMapa.tex: Undefined control sequence ... 1 >> \setupMPinstance[metafun][textstyle=3D{\switchtobodyfont[termes,14pt]= }] 2 3 \setuppagenumbering[location=3D] 4 \starttext 5 \input ./mapa.tex 6 \useMPgraphic{mapa} 7 \stoptext 8 l.1 \setupMPinstance [metafun][textstyle=3D{\switchtobodyfont[termes,14pt]}] ? --e89a8fb2068ac69c4004c221543f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

=A0
\setupbodyfont[pagella,11pt= ]

%\setupMPinstance[metafun][textstyle=3Dsans]
\setupMPinstance[metafun][textstyle=3D{\switchtobodyfont[termes,14pt= ]}]

\starttext

\input knuth
<= div>
\startMPcode
draw textext("I=92m differen= t!") ;
\stopMPcode

\stoptext

<= /div>
=A0
=A0
It gi= ves an error:
=A0
! Undefined control sequence.
system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > tex > error on line 1 in file = GeneraMapa.tex: Undefined control sequence ...
1 >>=A0 \setupMPinstance[metafun][textstyle=3D{\switchtobodyfont= [termes,14pt]}]
2=A0=A0=A0=A0
3=A0=A0=A0=A0 \setuppagenumbering[loca= tion=3D]
4=A0=A0=A0=A0 \starttext
5=A0=A0=A0=A0 \input ./mapa.tex
= 6=A0=A0=A0=A0 \useMPgraphic{mapa}
7=A0=A0=A0=A0 \stoptext
8=A0=A0=A0=A0
l.1 \setupMPinstance
=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [metafun][textstyle=3D{\switchtobodyfont[= termes,14pt]}]
?
=A0
--e89a8fb2068ac69c4004c221543f-- --===============1754558179== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1754558179==--