[NTG-context] Where is error in my code?

Keith Schultz keithjschultz at icloud.com
Wed Jan 28 12:25:52 CET 2015


Hi,

From the looks of it you are using legacy code!

For one ConTeXt  uses UTF you no need texansi encoding.

In Mkiv all you need is

\startext
  \startMPpage
     fill fullcircle scaled 2cm withcolor red;
     label(\sometxt{Cn},origin) withcolor white;
  \stopMPpage
\stoptext

If you want to set font use \definefontfamily and \setbodyfont commands.

regards
	Keith.

Am 28.01.2015 um 05:45 schrieb Van Dung Tang <nguyen969 at gmail.com>:
> 
> I edit 1 file metafun follow:
> 
> \startMPenvironment
> \usetypescript[times][texnansi]
> \switchtobodyfont[times,10pt]
> \stopMPenvironment
> \startMPpage
> fill fullcircle scaled 2cm withcolor red;
> label(\sometxt{Cn},origin) withcolor white;
> \stopMPpage
> <Ngu-Hanh.pdf>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150128/771fcacd/attachment.html>


More information about the ntg-context mailing list