ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Keith Schultz <keithjschultz@icloud.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Where is error in my code?
Date: Wed, 28 Jan 2015 12:25:52 +0100	[thread overview]
Message-ID: <F3E917BD-7C4C-4560-8A38-ECFA3935727B@icloud.com> (raw)
In-Reply-To: <CAMO4-9HsX3B3a5B_1o=YTz4Rjjb+CZjPZU15m76ooOFdtjguUQ@mail.gmail.com>


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

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


[-- Attachment #1.2: Type: text/html, Size: 3638 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:[~2015-01-28 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28  4:45 Van Dung Tang
2015-01-28 11:25 ` Keith Schultz [this message]
2015-01-29 19:17   ` Aditya Mahajan
2015-01-28  4:49 Van Dung Tang
2015-01-28  9:37 ` Hans Hagen
2015-01-28 14:00 ` Mojca Miklavec

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=F3E917BD-7C4C-4560-8A38-ECFA3935727B@icloud.com \
    --to=keithjschultz@icloud.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).