ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Change font in \startuseMPgraphic
Date: Sun, 10 Jun 2012 13:14:18 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1206101313530.30728@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <CAJ0n9ecsWAUXhmYOu-_6MTtR7XjZ0GwE3rdSVyYp-9op0p6usw@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 899 bytes --]

On Sun, 10 Jun 2012, Alfredo Catalina wrote:

>> \setupbodyfont[pagella,11pt]
>>
>> %\setupMPinstance[metafun][textstyle=sans]
>> \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
>>
>> \starttext
>>
>> \input knuth
>>
>> \startMPcode
>> draw textext("I’m 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={\switchtobodyfont[termes,14pt]}]
> 2
> 3     \setuppagenumbering[location=]
> 4     \starttext
> 5     \input ./mapa.tex
> 6     \useMPgraphic{mapa}
> 7     \stoptext
> 8
> l.1 \setupMPinstance
>                    [metafun][textstyle={\switchtobodyfont[termes,14pt]}]
> ?

You need to upgrade your ConTeXt installation.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

  reply	other threads:[~2012-06-10 17:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-10 14:25 Alfredo Catalina
2012-06-10 15:25 ` Wolfgang Schuster
2012-06-10 16:23   ` Meer, H. van der
2012-06-10 16:33     ` Wolfgang Schuster
2012-06-10 16:40   ` Alfredo Catalina
2012-06-10 16:46     ` Wolfgang Schuster
2012-06-10 16:56       ` Alfredo Catalina
2012-06-10 17:04         ` Wolfgang Schuster
2012-06-10 17:11           ` Alfredo Catalina
2012-06-10 17:14             ` Aditya Mahajan [this message]
2012-06-10 18:07               ` Alfredo Catalina
2012-06-10 19:29                 ` Wolfgang Schuster
2012-06-10 20:18                   ` Alfredo Catalina
2012-06-11 15:56                     ` Alfredo Catalina

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=alpine.LNX.2.02.1206101313530.30728@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).