ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alfredo Catalina <alfredo.catalina@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Change font in \startuseMPgraphic
Date: Sun, 10 Jun 2012 19:11:58 +0200	[thread overview]
Message-ID: <CAJ0n9ecsWAUXhmYOu-_6MTtR7XjZ0GwE3rdSVyYp-9op0p6usw@mail.gmail.com> (raw)
In-Reply-To: <A2AB3D1D-1FA3-4B3B-9EA8-DC3CD91729EA@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 745 bytes --]

> \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]}]
?

[-- Attachment #1.2: Type: text/html, Size: 1393 bytes --]

[-- 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:11 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 [this message]
2012-06-10 17:14             ` Aditya Mahajan
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=CAJ0n9ecsWAUXhmYOu-_6MTtR7XjZ0GwE3rdSVyYp-9op0p6usw@mail.gmail.com \
    --to=alfredo.catalina@gmail.com \
    --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).